Skip to main content

image build Status downloads image

install code: pip install datapungi_imf

datapungi_imf

datapungi_imf is a python package that provides a simplified way to extract data from the API of IMF (IMF). Overall it:

  • can read a saved API key (in json/yaml files or environment variables (default)) to avoid having a copy of it on a script.
  • can automatically test:
    • the connectivity to all BEA datasets,
    • the quality of the cleaned up data, and
    • if the provided requests code snippet returns the correct result.

Sections

Sample runs

First, set the package up (get an API key from BEA, save it somewhere and let datapungi_imf know its location). After setting datapungi_imf up, you can run the following:

'''
  Short datapungi_imf sample run
'''

import datapungi_imf as dpi

data = dpi.data() #or data = dpi.data("API Key"), see setting up section   

data.list()
data.params('IFS')
data.data('IFS/A.GB.PMP_IX')
data.meta('IFS/A.GB.PMP_IX')

Metadata

Release files for datapungi_imf 0.2.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 datapungi_imf 0.2.0
File Size Uploaded
datapungi_imf-0.2.0.tar.gz 18.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for datapungi_imf 0.2.0
File Interpreter ABI Platform
datapungi_imf-0.2.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 74.0 kB

Release files / datapungi_imf-0.2.0.tar.gz

Download URL datapungi_imf-0.2.0.tar.gz
Size 18.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ecc2972fcdc30dd040b4fe2798d712befebd43f21f9cc4591875b788b16b86da
BLAKE2b-256 checksum
How to use checksums
59c0e63734dbd9e43ecf426ca91b1e2aee0254887ea760656136ba8fab28f5cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.21.0

Release files / datapungi_imf-0.2.0-py2.py3-none-any.whl

Download URL datapungi_imf-0.2.0-py2.py3-none-any.whl
Size 55.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
44ccdae34c27210abc10c32818822b3a44606a05b9f39d1b7d34acf057a988ef
BLAKE2b-256 checksum
How to use checksums
23e344756e85a99fbb7c707d7f952e0ee02b3005024aaedb7d089e179b0d5dfb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.21.0

Release history Release notifications | RSS feed

This release

0.2.0 This release

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