Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement the SDMX 3.0 IM and read SDMX-ML 3.0 #135

Merged
merged 103 commits into from Aug 3, 2023
Merged

Implement the SDMX 3.0 IM and read SDMX-ML 3.0 #135

merged 103 commits into from Aug 3, 2023

Conversation

khaeru
Copy link
Owner

@khaeru khaeru commented Jul 28, 2023

  • Add sdmx.model.v30.
    Many classes are moved back into sdmx.model.common from sdmx.model.v21 because, on closer read of the 3.0 IM, they turn out to be identical.
  • Add sdmx.reader.xml.v30.

Partly addresses #87.

PR checklist

@khaeru khaeru added enh Enhancements & new features reader Handle standard SDMX message types sdmx-3.0 Support for SDMX 3.0 (2022) labels Jul 28, 2023
@khaeru khaeru self-assigned this Jul 28, 2023
khaeru added 15 commits July 28, 2023 12:57
- Move further classes unchanged in SDMX 3.0.0 from .v21 to .common.
- Implement Base* classes for those which are defined differently in
  v21 and v30.
- Populate __all__ with lists of classes in the current file, only.
- Use module-level __getattr__ and __dir__ for class lookup.
- New ClassFinder() to implement get_class() method in each module.
…for tests of new features in the SDMX 3.0.0 IM.
- Add _VERSION module global.
- Mark Reader as applying only to SDMX-ML 2.1 media types.
- Modularize Reference.info_from_element.
- Add Reader.Reference class attribute.
- Add and use Reader.NS, .class_for_tag, and .qname delegating to the
  appropriate module .format.xml.{v21,v30}.
- Add and use Reader.reference() to construct references.
- Use classes via .model.common in some places.
Reuse features of .reader.xml.v21, with additions and overrides.
@khaeru khaeru changed the title Implement the SDMX 3.0.0 information model Implement the SDMX 3.0 IM and read SDMX-ML 3.0 Aug 3, 2023
@khaeru khaeru merged commit 92254d8 into main Aug 3, 2023
16 checks passed
@khaeru khaeru deleted the enh/v3-im branch October 11, 2023 06:51
khaeru added a commit that referenced this pull request Nov 14, 2023
khaeru added a commit that referenced this pull request Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enh Enhancements & new features reader Handle standard SDMX message types sdmx-3.0 Support for SDMX 3.0 (2022)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant