skillfed

sdmx1

Statistical Data and Metadata eXchange (SDMX)

sdmx1 v2.27.0 209.9K downloads/30d#9,506 on PyPI46
Permissive license Active released

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 sdmx1

uv

uv add sdmx1

poetry

poetry add sdmx1

Installing 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

Intended Audience :: DevelopersIntended Audience :: Financial and Insurance IndustryIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/EngineeringTopic :: Scientific/Engineering :: Information Analysis

Tags

SDMX data exchangestatistical metadata standardsSDMX REST web servicesSDMX to pandas conversionISO 17369 implementationstatistical data formatsSDMX file parsing
data-exchangestatistical-standardsinternational-data

More Scientific/Engineering packages