Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

pypi badge awesome badge

pysdmx in a nutshell

What is pysdmx?

pysdmx is a pragmatic and opinionated SDMX library written in Python. It focuses on simplicity, providing a subset of SDMX functionalities without requiring advanced knowledge of SDMX. pysdmx is developed as part of the sdmx.io project under the BIS Open Tech initiative.

What does it do?

pysdmx aspires to be a versatile SDMX toolbox for Python, covering various use cases. Here are some highlights:

SDMX information model in Python

pysdmx offers Python classes representing a simplified subset of the SDMX information model, enabling a domain-driven development of SDMX processes in Python. The model classes support serialization in formats like JSON, YAML, or MessagePack. This functionality relies on the msgspec library.

Metadata in action

SDMX metadata are very useful for documenting statistical processes. For example, they can define the structure we expect for a data collection process and share it with the organizations providing data so that they know what to send.

However, metadata can do so much more than that, i.e., they can be “active” and drive various types of statistical processes, such as generating the filesystem layout, creating the physical data model, validating data, mapping data, and configuring processes. To drive such processes, pysdmx supports retrieving metadata from an SDMX Registry or any service compliant with the SDMX-REST 2.0.0 (or above) API. Use these metadata to power your own statistical processes!

Reading and writing SDMX files

pysdmx supports reading and writing SDMX data and structure messages, in various formats, such as SDMX-CSV, SDMX-JSON, and SDMX-ML.

Data discovery and data retrieval

This functionality is under development. Once ready, pysdmx will allow:

  • Listing public SDMX services.

  • Discovering data available in these services.

  • Retrieving data from these services.

This functionality is based on the SDMX Global Discovery Service initiative.

Integration with the ecosystem

pysdmx integrates nicely with other standards, like the Validation and Transformation Language (VTL), and major Python libraries like Pandas. Take a look at the pysdmx toolkit module to learn more.

pysdmx is available on PyPI and can be installed using options such as pip, pipx, poetry, etc.

For more details, check the project documentation.

Metadata

Release files for pysdmx 1.22.0rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pysdmx 1.22.0rc1
File Size Uploaded Provenance Actions
pysdmx-1.22.0rc1.tar.gz 234.4 kB Without provenance Details for pysdmx-1.22.0rc1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pysdmx 1.22.0rc1
File Interpreter ABI Platform Actions
pysdmx-1.22.0rc1-py3-none-any.whl Python 3 none any Details for pysdmx-1.22.0rc1-py3-none-any.whl

Total release size: 570.3 kB

Release files / pysdmx-1.22.0rc1.tar.gz

Download URL pysdmx-1.22.0rc1.tar.gz
Size 234.4 kB
Tags Source
SHA-256 checksum
How to use checksums
06eb3cfd9f67d83e7f362bd6248a17b65c51f19e8f6da14ef09c01c86de59260
BLAKE2b-256 checksum
How to use checksums
f7b8ca6bc97f28a5c365d7e29663e18170dd7e12ed890e26031a61fb0e1756b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.5.1 CPython/3.12.3 Linux/7.0.0-1017-azure

Release files / pysdmx-1.22.0rc1-py3-none-any.whl

Download URL pysdmx-1.22.0rc1-py3-none-any.whl
Size 335.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bcd26afd27deffa728febbf2761cb4f28493f7ba2dd86b26c99998cbeda4f491
BLAKE2b-256 checksum
How to use checksums
77145f42d54d973d8a135798f07d818135626ecdfda8d84b03e639fc90b8d19d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.5.1 CPython/3.12.3 Linux/7.0.0-1017-azure

Security for pysdmx 1.22.0rc1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
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