Your opinionated Python SDMX library
Project description
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.
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pysdmx-1.15.0.tar.gz.
File metadata
- Download URL: pysdmx-1.15.0.tar.gz
- Upload date:
- Size: 180.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.4 CPython/3.12.3 Linux/6.17.0-1010-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3c8250339668e5f3269a08ff08bc3b55942ce9a64629c374188520abecd6c29
|
|
| MD5 |
6daf135c223fb66346804c2cb9190d0d
|
|
| BLAKE2b-256 |
35c7771dd45d23ac3f8f7948b4bb6c5468a00a31606a916a8e7af4fa3ae006ee
|
File details
Details for the file pysdmx-1.15.0-py3-none-any.whl.
File metadata
- Download URL: pysdmx-1.15.0-py3-none-any.whl
- Upload date:
- Size: 272.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.4 CPython/3.12.3 Linux/6.17.0-1010-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5d724b0c882be9a47000d872b5260e21e1f71e06149eb93e9752f8feae02008
|
|
| MD5 |
1c10fb7043329de5ce819e1db7ef4402
|
|
| BLAKE2b-256 |
ce781230e6021243ce96ca216db25a428b9608efa7d932bbb7c51e0469a1fe2c
|