Metadata-Version: 2.1
Name: weo
Version: 0.0.2
Summary: Python client to read IMF WEO dataset as pandas dataframe
Home-page: http://github.com/epogrebnyak/weo-reader
Author: Evgeniy Pogrebnyak
Author-email: e.pogrebnyak@gmail.com
License: MIT
Description: # weo-reader
        
        
        
        1. Manually download latest WEO data file from IMF web site as `weo.csv`. Example:
        
        
        
        ```
        
        curl -o weo.csv https://www.imf.org/external/pubs/ft/weo/2019/02/weodata/WEOOct2019all.xls
        
        ```
        
        
        
           Please note the `.xls` file from the web site is really a CSV file.
        
        
        
        2. Use `WEO` class from `weo.py` to view and extract data. `WEO` is a wrapper around a by-country pandas dataframe that ensures proper import and easier access to data.
        
        
        
        3. Things to try in a REPL, by line:
        
        
        
        ```python
        
        from weo import WEO
        
        
        
        w = WEO('weo.csv') 
        
        w.vars()
        
        w.units()    
        
        w.units('Gross domestic product, current prices')
        
        w.find_countries('United')
        
        w.iso_code('Netherlands')
        
        w.get('General government gross debt', 'Percent of GDP')
        
        w.gdp_usd(2024).head(20).sort_values().plot.barh(title="GDP by country, USD bln (2024)")
        
        ```
        
        
        
        4. You might need to install dependencies if you do not have `pandas` yet:
        
           `pip install -r requirements.txt`. The program uses Python 3.6, just in case.
        
        
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Financial and Insurance Industry
Classifier: Topic :: Office/Business :: Financial
Description-Content-Type: text/markdown
