pysdmx, a LinkageX resource

pysdmx, a LinkageX resource

pysdmx is a pragmatic and opinionated library written in Python. It focuses on simplicity, providing a subset of SDMX functionalities without requiring advanced knowledge of SDMX.

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, we 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 or 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 API.

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.

For more infornation, please refer to the pysdmx project pages on GitHub: (external link)

SDMx Nestor

Need help finding something? I am SDMx Nestor, here to help!

SDMx Nestor

By using this AI-powered service ("Service"), you acknowledge and agree to the following:

This Service uses generative AI to assist with statistical analysis and research. While the Service strives to deliver useful information, the output ("Output") may contain inaccuracies, omissions, or biases. The Output is provided for informational purposes only and should not be considered professional advice. You remain responsible for how you interpret and use the Output.

The BIS makes no warranties regarding the accuracy or completeness of the Output and accepts no liability for any loss or damage resulting from its use.

Do not include or share personal, private, confidential or proprietary information when using the Service.

Welcome to SDMx Nestor

Helping people apply SDMx with confidence

By combining large language models with the complete body of SDMx standards, technical specifications, implementation guidance, publications, examples, and learning resources, SDMx Nestor synthesizes trusted knowledge into clear, contextual, and practical guidance tailored to each user’s question.

The SDMx standard remains the authoritative source. SDMx Nestor helps people understand, interpret, and apply it with confidence.

What Nestor can do

Whether accessed through a conversational assistant, an API, or integrated directly into SDMx-enabled applications, SDMx Nestor helps practitioners understand the standard, explore implementation options, and apply SDMx more effectively.

TRY ASKING