Skip to main content

imfdatapy

A package for data discovery and extraction from the International Monetary Fund (IMF)! This repository contains Python source code and Jupyter notebooks with examples on how to extract data from the IMF.

Installation

    $ pip install imfdatapy

Usage

imfdatapy can be used to search through and extract data as follows. The examples below show how to search through the IFS (International Financial Statistics) and BOP (Balance of Payments) using serach_terms and download all the data with matching economic indicator names.

from imfdatapy.imf import *
ifs = IFS(search_terms=["gross domestic product, real"], countries=["US"], period='Q',
start_date="2000", end_date="2022")
df = ifs.download_data()

bop = BOP(search_terms=["current account, total, credit"], countries=["US"], period='Q',
start_date="2000", end_date="2022")
df = bop.download_data()

Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

License

imfdatapy was created by Sou-Cheng T. Choi and Irina Klein, Illinois Institute of Technology. It is licensed under the terms of the Apache License, v2.0.

With regard to the terms for using IMF data, please refer to IMF's Copyright and Usage and pay special attention to the section SPECIAL TERMS AND CONDITIONS PERTAINING TO THE USE OF DATA.

Credits

imfdatapy was created with cookiecutter and the py-pkgs-cookiecutter template.

Metadata

Release files for imfdatapy 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for imfdatapy 1.0.0
File Size Uploaded
imfdatapy-1.0.0.tar.gz 12.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for imfdatapy 1.0.0
File Interpreter ABI Platform
imfdatapy-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 24.2 kB

Release files / imfdatapy-1.0.0.tar.gz

Download URL imfdatapy-1.0.0.tar.gz
Size 12.3 kB
Tags Source
SHA-256 checksum
How to use checksums
94d3ce21e6285419ff5041f37411570f3c28971d1d500035252b954465202c1b
BLAKE2b-256 checksum
How to use checksums
ad79dc614fffa64697483a2c38e688301148ff4c6cce3ce98dc07f802ae42496
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.9.13 Darwin/21.3.0

Release files / imfdatapy-1.0.0-py3-none-any.whl

Download URL imfdatapy-1.0.0-py3-none-any.whl
Size 12.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a837fadef8979e5f199b95880872a487992f0edca7c6fe0a6588f740837b4f1
BLAKE2b-256 checksum
How to use checksums
2832a5470c2ef749bdcc78a810000c1a82b97a7e550c7a74c0a023aa31410def
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.9.13 Darwin/21.3.0

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.1.5

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page