sdmx1
Statistical Data and Metadata eXchange (SDMX)
What it is and what it does
sdmx1 is a Python implementation of the SDMX 2.1 and 3.0 standards for statistical data and metadata exchange. It lets you retrieve data from SDMX-REST web services operated by organizations like the World Bank, IMF, Eurostat, OECD, and UN, then read, write, and convert that data in SDMX-ML (XML), SDMX-JSON, and SDMX-CSV formats. The package integrates tightly with pandas, allowing you to transform SDMX data into DataFrames for use with the broader Python data science ecosystem.
The package is built on six runtime dependencies—lxml for XML handling, pandas for data structures, requests for HTTP access, packaging for version management, python-dateutil for date parsing, and platformdirs for configuration storage. It targets Python 3.10 and later and is actively maintained, with a release cycle measured in days.
Use it for:
- Retrieve economic or financial data from World Bank, IMF, or Eurostat SDMX services and load directly into pandas for analysis.
- Convert SDMX-formatted files (XML, JSON, CSV) into pandas DataFrames for statistical processing.
- Publish your own statistical datasets using the SDMX information model for interoperability with other agencies.
- Automate data pipelines that fetch and transform SDMX data from multiple international statistical providers.
- Read and validate SDMX metadata structures to understand data definitions and hierarchies.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Reads, writes, and exchanges statistical data and metadata in SDMX formats (XML, JSON, CSV) and integrates with pandas for analysis.
Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and solves a real problem for anyone working with international statistical data standards. The permissive Apache 2.0 license poses no barrier. Install if you need to exchange data with SDMX-compliant services or work with SDMX-formatted files.
Install
sdmx1 on PyPI
pip
pip install sdmx1uv
uv add sdmx1poetry
poetry add sdmx1Installing sdmx1
Before you install
Low friction install with six common dependencies (lxml, pandas, requests, packaging, python-dateutil, platformdirs). Active maintenance with a release 7 days ago.
License in practice
Licensed under Apache License 2.0 (permissive), allowing commercial and private use with minimal restrictions.
Quickstart
pip install sdmx1
import sdmx
from sdmx import Request
req = Request('WB')
data = req.data('NY_GDP_MKTP_CD')
df = data.to_pandas()
Requires Python 3.10 or later.
Verify before relying
- Whether the package supports all SDMX 2.1 and 3.0 features or a subset of the standards
- Performance characteristics when working with large datasets or many REST endpoints
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 6 — lxml, packaging, pandas, platformdirs, python-dateutil, requests |
| Maintenance | actively maintained — 7 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 209,942/month — #9,506 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: sdmx1-2.27.0-py3-none-any.whl
Keywords: SDMX, data, economics, pandas, science, statistics
Tags
More Scientific/Engineering packages
NumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
pandaspandas provides fast, flexible data structures…
permissive · top 100 on PyPI
scipyscipy provides numerical algorithms for…
permissive · top 100 on PyPI
scikit-learnscikit-learn provides a comprehensive Python…
permissive · top 1,000 on PyPI
dilldill extends Python's pickle module to…
permissive · top 1,000 on PyPI
multiprocessMultiprocess is an enhanced fork of Python's…
permissive · top 1,000 on PyPI
eurostatFetches statistical data and metadata from…
permissive · top 15,000 on PyPI
imfpDownloads economic data from the International…
permissive · top 15,000 on PyPI
pygexfPygexf writes network graph data to GEXF (Graph…
unclear · top 15,000 on PyPI
sas7bdatReads SAS7BDAT files (SAS statistical software…
permissive · top 15,000 on PyPI
ofxtoolsParses, generates, and converts Open Financial…
copyleft · top 15,000 on PyPI
pandas-read-xmlConverts XML files into pandas DataFrames, with…
permissive · top 15,000 on PyPI
pyicebergPyIceberg provides programmatic access to…
permissive · top 1,000 on PyPI
pandas-datareaderFetches macroeconomic and factor data from…
permissive · top 5,000 on PyPI
pantabConverts DataFrames to and from Tableau Hyper…
permissive · top 15,000 on PyPI