imfp
Python package for downloading economic data from the International Monetary Fund SDMX 3.0 API, following econdataverse conventions.
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has low install friction (two common dependencies), carries no known vulnerabilities, and solves a specific problem—programmatic IMF data access—with a clean API. It is suitable for anyone needing IMF economic data in Python, especially if you work with pandas. The Apache 2.0 license is permissive and poses no restrictions.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low install friction; pure Python wheel with only pandas and requests as runtime dependencies.
- Active maintenance with a release 7 days ago and last commit on 2026-08-10.
License · maintenance · safety
permissive license (permissive) — Apache License 2.0 is permissive; you may use, modify, and distribute the package freely provided you include the license and document any changes.
last release 2026-08-07 (7 days) · last repo commit 2026-08-10 · 16 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 118,022 downloads/mo, #12,138 on PyPI
Alternatives
Verify before relying
pip install imfp
import imfp
# Discover datasets
dataflows = imfp.imf_get_dataflows()
# Get data with dimension filters
df = imfp.imf_get(
"PCPS",
dimensions={"INDICATOR": ["PCOAL"], "FREQUENCY": ["A"]}
)- Rate limiting and bandwidth management behavior—how they work in practice and whether they require configuration.
- Whether the IMF API requires authentication or an API key.
- Typical response times and data volume limits for large queries.
What it is and what it does
imfp is a Python client for the International Monetary Fund's SDMX 3.0 API that retrieves economic data and returns it as pandas DataFrames. It provides four core functions: discovering available datasets, inspecting their dimensions, looking up valid codes for filtering, and fetching the actual data. The package handles the API interaction, response parsing, and data structuring so you work directly with tidy tabular output.
The package is designed for economists, financial analysts, and researchers who need programmatic access to IMF economic indicators. It follows econdataverse conventions and mirrors the R package imfapi, making it familiar to users of that ecosystem. Version 2.0.0 introduced a new API with functions like imf_get_dataflows and imf_get_datastructure; the old 1.x function names still work but emit deprecation warnings.
Use it for
- Fetch commodity price indices (like coal prices) at annual frequency for time-series analysis.
- Build a research dataset by discovering IMF dataflows, then filtering by specific indicators and time periods.
- Automate regular downloads of economic indicators for a financial dashboard or reporting pipeline.
- Compare economic metrics across countries by querying IMF datasets with country-level dimension filters.
- Integrate IMF data into a pandas-based data processing workflow without manual API calls.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has low install friction (two common dependencies), carries no known vulnerabilities, and solves a specific problem—programmatic IMF data access—with a clean API. It is suitable for anyone needing IMF economic data in Python, especially if you work with pandas. The Apache 2.0 license is permissive and poses no restrictions.
Install
imfp on PyPI
Before you install
Low install friction; pure Python wheel with only pandas and requests as runtime dependencies. Active maintenance with a release 7 days ago and last commit on 2026-08-10.
Requires Python 3.10 or later.
License in practice
Apache License 2.0 is permissive; you may use, modify, and distribute the package freely provided you include the license and document any changes.
Quickstart
pip install imfp
import imfp
# Discover datasets
dataflows = imfp.imf_get_dataflows()
# Get data with dimension filters
df = imfp.imf_get(
"PCPS",
dimensions={"INDICATOR": ["PCOAL"], "FREQUENCY": ["A"]}
)
Verify before relying
- Rate limiting and bandwidth management behavior—how they work in practice and whether they require configuration.
- Whether the IMF API requires authentication or an API key.
- Typical response times and data volume limits for large queries.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagespandasrequests |
| Maintenance | Actively maintained 7 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 118,022 / month, #12,138 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: Financial and Insurance IndustryLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Typing :: Typed |
Evidence: imfp-2.0.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “IMF data API client”
- imfpDownloads economic data from the International Monetary Fund's SDMX…
- openbb-imfProvides a provider extension for the OpenBB platform that exposes…
- sdmx1Reads, writes, and exchanges statistical data and metadata in SDMX…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also beaapi · openbb-imf · eurostat · sdmx1 · wbdata · wbgapi · tradingeconomics · Nasdaq-Data-Link · Quandl · ucimlrepo