imfp 1.2.0
pip install imfp
Released:
Python package for downloading economic data from the International Monetary Fund JSON RESTful API endpoint.
Navigation
Verified details
These details have been verified by PyPIProject links
GitHub Statistics
Maintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (Apache License)
- Author: Christopher C. Smith
- Tags economics, finance, IMF, API
- Requires: Python >=3.10
Classifiers
- Intended Audience
- License
- Operating System
- Programming Language
Project description
imfp
imfp
, by Christopher C. Smith, is a Python package for downloading data from the International Monetary Fund's RESTful JSON API.
Installation
pip install -q --upgrade imfp
Quick Start
import imfp
# Get list of available databases
databases = imfp.imf_databases()
# Get parameters for a specific database (e.g., PCPS - Primary Commodity Price System)
params = imfp.imf_parameters("PCPS")
# Fetch data with specific parameters
df = imfp.imf_dataset(
database_id="PCPS",
freq=["A"],
start_year=2000,
end_year=2015
)
Key Features
- Comprehensive access to IMF's extensive economic databases
- Parameter discovery
- Rate limit and bandwidth management
- Returns data in pandas DataFrames
Contributing
We welcome contributions to improve imfp
! Here's how you can help:
- If you find a bug, please open an issue
- To fix a bug:
- Fork and clone the repository and open a terminal in the repository directory
- Install uv with
curl -LsSf https://astral.sh/uv/install.sh | sh
- Install the dependencies with
uv sync
- Install a git hook to enforce conventional commits with
curl -o- https://raw.githubusercontent.com/chriscarrollsmith/conventional-commits-git-hook/master/scripts/install.sh | sh
- Create a fix, commit it with an "Angular-style Conventional Commit" message, and push it to your fork
- Open a pull request to our
main
branch
Note that if you want to change and preview the documentation, you will need to install the Quarto CLI tool.
Version incrementing, package building, testing, changelog generation, documentation rendering, publishing to PyPI, and Github release creation is handled automatically by the GitHub Actions workflow based on the commit messages.
Project details
Verified details
These details have been verified by PyPIProject links
GitHub Statistics
Maintainers
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License (Apache License)
- Author: Christopher C. Smith
- Tags economics, finance, IMF, API
- Requires: Python >=3.10
Classifiers
- Intended Audience
- License
- Operating System
- Programming Language
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file imfp-1.2.0.tar.gz
.
File metadata
- Download URL: imfp-1.2.0.tar.gz
- Upload date:
- Size: 24.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9b2d1b138190121b3121da17f311261eb1344ad0bb398a243dc3f25e804db6d |
|
MD5 | bba992e4d7eac2e21b42b61c6d1309cf |
|
BLAKE2b-256 | ad4f2c433c9e64e3ddfa70c482c3038fa57c2fc596a067aa827820d31716bb27 |
Provenance
The following attestation bundles were made for imfp-1.2.0.tar.gz
:
Publisher:
release.yml
on Promptly-Technologies-LLC/imfp
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
imfp-1.2.0.tar.gz
- Subject digest:
c9b2d1b138190121b3121da17f311261eb1344ad0bb398a243dc3f25e804db6d
- Sigstore transparency entry: 169711987
- Sigstore integration time:
- Permalink:
Promptly-Technologies-LLC/imfp@8880816bbbace9b14d545a0e186bd96ed867f707
- Branch / Tag:
refs/heads/main
- Owner: https://github.com/Promptly-Technologies-LLC
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
release.yml@8880816bbbace9b14d545a0e186bd96ed867f707
- Trigger Event:
push
- Statement type:
File details
Details for the file imfp-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: imfp-1.2.0-py3-none-any.whl
- Upload date:
- Size: 18.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aeefa9e1da626d970207ba41d59a5a04612213b79019110f0513a5ed2efd6764 |
|
MD5 | 0ddc19e88dd8712bd388b7b1e73e8f85 |
|
BLAKE2b-256 | 7089e5a67df5582cf293f849909d62878f9508860834bd11a334e84e0e056ccb |
Provenance
The following attestation bundles were made for imfp-1.2.0-py3-none-any.whl
:
Publisher:
release.yml
on Promptly-Technologies-LLC/imfp
-
Statement:
- Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
imfp-1.2.0-py3-none-any.whl
- Subject digest:
aeefa9e1da626d970207ba41d59a5a04612213b79019110f0513a5ed2efd6764
- Sigstore transparency entry: 169711989
- Sigstore integration time:
- Permalink:
Promptly-Technologies-LLC/imfp@8880816bbbace9b14d545a0e186bd96ed867f707
- Branch / Tag:
refs/heads/main
- Owner: https://github.com/Promptly-Technologies-LLC
- Access:
public
- Token Issuer:
https://token.actions.githubusercontent.com
- Runner Environment:
github-hosted
- Publication workflow:
release.yml@8880816bbbace9b14d545a0e186bd96ed867f707
- Trigger Event:
push
- Statement type: