sdmxlib 0.91.0__tar.gz → 0.91.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/PKG-INFO +1 -1
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/pyproject.toml +1 -1
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/pyproject.toml.orig +1 -1
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/EGM.md +2 -2
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/istring.py +26 -15
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/LICENSE +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/README.md +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/EGM.md +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/__init__.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/_duckdb.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/_facet_types.xsd +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/_facets.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/_read_errors.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/_singleflight.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/_time.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/api/EGM.md +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/api/__init__.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/api/_freshness.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/api/client.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/api/federated.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/api/policy.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/api/providers.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/api/registry.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/api/resources.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/api/session.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/api/structure_download.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/api/submit.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/builders/EGM.md +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/builders/__init__.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/builders/contentconstraint.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/builders/metadata_annotation.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/data_store.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/edition/EGM.md +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/edition/__init__.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/edition/_availability.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/edition/_build.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/edition/_canonical.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/edition/_check.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/edition/_copy.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/edition/_fetch.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/edition/_finding.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/edition/_fingerprint.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/edition/_overlay.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/edition/_remote.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/edition/_write.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/edition/manifest.schema.json +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/edition/overlay.schema.json +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/EGM.md +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/__init__.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/_arrow.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/_attachment.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/_coerce.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/_index.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/_positions.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/_refuse.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/_tags.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/data_format.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/gaps.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/render.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_csv/EGM.md +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_csv/__init__.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_csv/reader.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_csv/writer.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_json/EGM.md +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_json/__init__.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_json/_data_common.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_json/_dto.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_json/_header.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_json/_losses.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_json/_periods.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_json/_resolve.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_json/_structure_dto.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_json/_structure_ingest.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_json/data.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_json/data_v1.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_json/data_v2.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_json/metadata.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_json/reader.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_json/structure_values.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_json/writer.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_json_1_0/EGM.md +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_json_1_0/__init__.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_json_1_0/writer.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_ml/EGM.md +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_ml/__init__.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_ml/_allowed_children.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_ml/_closed_world.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_ml/_common.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_ml/_header.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_ml/_losses.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_ml/_v3_reader.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_ml/_v3_writer.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_ml21/EGM.md +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_ml21/__init__.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_ml21/_providers.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_ml21/_synthetic.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_ml21/namespaces.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_ml21/reader.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_ml21/writer.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_ml30/EGM.md +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_ml30/__init__.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_ml30/metadata.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_ml30/namespaces.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_ml30/reader.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_ml30/writer.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_ml31/EGM.md +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_ml31/__init__.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_ml31/namespaces.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_ml31/reader.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/sdmx_ml31/writer.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/formats/structure_format.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/inventory/EGM.md +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/inventory/__init__.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/inventory/_format.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/inventory/_reader.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/inventory/_routing.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/inventory/_rules.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/inventory/conformance.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/inventory/schemas/catalog-2.0.schema.json +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/inventory/schemas/catalog.schema.json +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/inventory/schemas/current.schema.json +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/inventory/schemas/history.schema.json +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/inventory/schemas/leaf.schema.json +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/inventory/schemas/root-1.2.schema.json +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/inventory/schemas/root.schema.json +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/inventory/schemas/segment-header.schema.json +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/inventory/schemas/segment-line.schema.json +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/local/EGM.md +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/local/__init__.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/local/_scan.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/local/data_store.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/local/engine.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/local/object_store.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/local/registry.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/local/sql.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/migration/EGM.md +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/migration/__init__.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/migration/_agencies.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/migration/_conflicts.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/migration/_fmr.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/migration/_fmr_refusals.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/migration/_hierarchies.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/migration/_plan.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/migration/_structure.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/migration/_types.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/migration/_versions.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/__init__.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/_binding.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/_container.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/_invariants.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/_items.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/_label_match.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/_rebind.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/_referenceable.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/_refshape.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/_resolvers.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/_rules.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/_tree.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/annotations.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/base.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/binding.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/category.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/codelist.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/collections.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/concept.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/constraint.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/convert.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/dataflow.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/datastructure.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/diff.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/errors.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/expr.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/header.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/hierarchy.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/in_memory_registry.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/link.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/mapping.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/message.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/metadata_provision.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/metadataflow.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/metadataset.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/metadatastructure.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/organisation.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/period.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/provision.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/ref.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/registry.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/representation.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/rest_api.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/rewrite.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/rollup.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/urn.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/validation.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/valuelist.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/model/version.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/polars.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/py.typed +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/query/EGM.md +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/query/__init__.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/query/_closure.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/query/_common.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/query/_compile.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/query/_edges.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/query/_execute.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/query/_expr.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/query/_joins.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/query/_plan.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/query/_pushdown.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/query/_rebase.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/query/_rest.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/query/accessors.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/query/observations.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/query/query.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/query/raw.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/query/schema.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/rest.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/session.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/sql.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/storage/EGM.md +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/storage/__init__.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/storage/_checked.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/storage/_columns.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/storage/_files.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/storage/_kinds.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/storage/_layout.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/storage/_manifest.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/storage/_parsed.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/storage/_projections.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/storage/_references.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/storage/_synthetic.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/storage/_tags.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/storage/_trim.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/storage/lazy.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/storage/readers.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/storage/resolve.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/storage/schema.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/storage/writers.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/testing.py +0 -0
- {sdmxlib-0.91.0 → sdmxlib-0.91.1}/src/sdmxlib/versions.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sdmxlib
|
|
3
|
-
Version: 0.91.
|
|
3
|
+
Version: 0.91.1
|
|
4
4
|
Summary: SDMX for Python: structures, reference metadata and observation data, from REST, files or a local DuckDB store.
|
|
5
5
|
Keywords: sdmx,statistics,metadata,datastructure
|
|
6
6
|
Author: gabrielgellner
|
|
@@ -231,8 +231,8 @@ hierarchical roll-ups.
|
|
|
231
231
|
that invalidates the `_items` cache.
|
|
232
232
|
- `enforce()` warns through `warnings.warn(..., skip_file_prefixes=...)`, so
|
|
233
233
|
the warning points at the caller's line.
|
|
234
|
-
- `istring.py` keeps `_SEEN_TAGS`, the tags `
|
|
235
|
-
cleared at 1,024. At import it reads `SDMXLIB_ISTRING_AUDIT`; when set, the
|
|
234
|
+
- `istring.py` keeps `_SEEN_TAGS`, the tags `normalize_tag` has accepted,
|
|
235
|
+
which it returns unchecked, cleared at 1,024. At import it reads `SDMXLIB_ISTRING_AUDIT`; when set, the
|
|
236
236
|
`InternationalString` lookups append each new calling `file:line` to the
|
|
237
237
|
file `SDMXLIB_ISTRING_AUDIT_OUT` names (GH-309's migration audit).
|
|
238
238
|
- `InMemoryRegistry` keeps its state in memory: `_store`, `_by_type`,
|
|
@@ -53,6 +53,16 @@ class InvalidTagError(ValueError):
|
|
|
53
53
|
super().__init__(msg)
|
|
54
54
|
|
|
55
55
|
|
|
56
|
+
#: Tags `normalize_tag` has accepted, each in the form it returned, which it
|
|
57
|
+
#: returns as they are. Cleared when it holds `_SEEN_TAGS_MAX`, so an input
|
|
58
|
+
#: with many distinct tags costs a full check per tag while common ones return
|
|
59
|
+
#: to the fast path. `in` and `add` on a set are atomic, so no lock is needed.
|
|
60
|
+
#: A tag is in it only once checked, so ``tag in _SEEN_TAGS`` implies
|
|
61
|
+
#: ``normalize_tag(tag) == tag``.
|
|
62
|
+
_SEEN_TAGS: set[str] = set()
|
|
63
|
+
_SEEN_TAGS_MAX = 1024
|
|
64
|
+
|
|
65
|
+
|
|
56
66
|
def _well_formed(tag: str) -> str | None:
|
|
57
67
|
"""`tag` lowercased if it is a well-formed tag, else None."""
|
|
58
68
|
# ASCII first: `str.lower` maps some non-ASCII letters to ASCII ones (the
|
|
@@ -100,9 +110,16 @@ def normalize_tag(tag: str) -> str:
|
|
|
100
110
|
if not isinstance(tag, str):
|
|
101
111
|
msg = f"a language tag is a str, not {type(tag).__name__}"
|
|
102
112
|
raise TypeError(msg)
|
|
113
|
+
# A tag already accepted in its normalised form skips the check: for a
|
|
114
|
+
# two-letter tag the check is three quarters of a lookup (GH-432).
|
|
115
|
+
if tag in _SEEN_TAGS:
|
|
116
|
+
return tag
|
|
103
117
|
lowered = _well_formed(tag)
|
|
104
118
|
if lowered is None:
|
|
105
119
|
raise InvalidTagError(tag)
|
|
120
|
+
if len(_SEEN_TAGS) >= _SEEN_TAGS_MAX:
|
|
121
|
+
_SEEN_TAGS.clear()
|
|
122
|
+
_SEEN_TAGS.add(lowered)
|
|
106
123
|
return lowered
|
|
107
124
|
|
|
108
125
|
|
|
@@ -149,14 +166,6 @@ def tag_alias(lang: str) -> str:
|
|
|
149
166
|
return normalize_tag(lang).replace("-", "_")
|
|
150
167
|
|
|
151
168
|
|
|
152
|
-
#: Tags `LocalisedString` has already checked, in normalised form. Cleared
|
|
153
|
-
#: when it holds `_SEEN_TAGS_MAX`, so an input with many distinct tags costs a
|
|
154
|
-
#: full check per tag while common ones return to the fast path. `in` and
|
|
155
|
-
#: `add` on a set are atomic, so no lock is needed.
|
|
156
|
-
_SEEN_TAGS: set[str] = set()
|
|
157
|
-
_SEEN_TAGS_MAX = 1024
|
|
158
|
-
|
|
159
|
-
|
|
160
169
|
class LocalisedString(msgspec.Struct, frozen=True, gc=False):
|
|
161
170
|
"""One text and its language tag: the SDMX Information Model's LocalisedString.
|
|
162
171
|
|
|
@@ -201,9 +210,6 @@ class LocalisedString(msgspec.Struct, frozen=True, gc=False):
|
|
|
201
210
|
lang = normalize_tag(self.lang)
|
|
202
211
|
if lang != self.lang:
|
|
203
212
|
msgspec.structs.force_setattr(self, "lang", lang)
|
|
204
|
-
if len(_SEEN_TAGS) >= _SEEN_TAGS_MAX:
|
|
205
|
-
_SEEN_TAGS.clear()
|
|
206
|
-
_SEEN_TAGS.add(lang)
|
|
207
213
|
|
|
208
214
|
|
|
209
215
|
def _normalized(pairs: Mapping[str, str]) -> dict[str, str]:
|
|
@@ -327,6 +333,11 @@ class InternationalString(Mapping[str, LocalisedString]):
|
|
|
327
333
|
|
|
328
334
|
# ── Lookup ────────────────────────────────────────────────────────────
|
|
329
335
|
|
|
336
|
+
# Each lookup tests `_SEEN_TAGS` itself before calling `normalize_tag`,
|
|
337
|
+
# which tests it again: skipping the call takes `get` from 250 to 222 ns
|
|
338
|
+
# (GH-432). A tag that is not a `str` goes to `normalize_tag`, which
|
|
339
|
+
# raises its `TypeError`.
|
|
340
|
+
|
|
330
341
|
@override
|
|
331
342
|
def __getitem__(self, lang: str, /) -> LocalisedString:
|
|
332
343
|
"""The text held for `lang`, with its tag.
|
|
@@ -336,7 +347,7 @@ class InternationalString(Mapping[str, LocalisedString]):
|
|
|
336
347
|
InvalidTagError: If `lang` is not a well-formed tag.
|
|
337
348
|
MissingTagError: If no text is held for `lang`.
|
|
338
349
|
"""
|
|
339
|
-
key = normalize_tag(lang)
|
|
350
|
+
key = lang if type(lang) is str and lang in _SEEN_TAGS else normalize_tag(lang)
|
|
340
351
|
text = self._data.get(key)
|
|
341
352
|
if text is None:
|
|
342
353
|
raise MissingTagError((key,), tuple(self._data))
|
|
@@ -356,7 +367,7 @@ class InternationalString(Mapping[str, LocalisedString]):
|
|
|
356
367
|
TypeError: If `lang` is not a `str`.
|
|
357
368
|
InvalidTagError: If `lang` is not a well-formed tag.
|
|
358
369
|
"""
|
|
359
|
-
key = normalize_tag(lang)
|
|
370
|
+
key = lang if type(lang) is str and lang in _SEEN_TAGS else normalize_tag(lang)
|
|
360
371
|
text = self._data.get(key)
|
|
361
372
|
return default if text is None else LocalisedString(text, key)
|
|
362
373
|
|
|
@@ -375,7 +386,7 @@ class InternationalString(Mapping[str, LocalisedString]):
|
|
|
375
386
|
if not langs:
|
|
376
387
|
msg = "pick() needs at least one language tag"
|
|
377
388
|
raise TypeError(msg)
|
|
378
|
-
keys = [normalize_tag(lang) for lang in langs]
|
|
389
|
+
keys = [lang if type(lang) is str and lang in _SEEN_TAGS else normalize_tag(lang) for lang in langs]
|
|
379
390
|
for key in keys:
|
|
380
391
|
text = self._data.get(key)
|
|
381
392
|
if text is not None:
|
|
@@ -401,7 +412,7 @@ class InternationalString(Mapping[str, LocalisedString]):
|
|
|
401
412
|
if not isinstance(lang, str):
|
|
402
413
|
msg = f"a language tag is a str, not {type(lang).__name__}"
|
|
403
414
|
raise TypeError(msg)
|
|
404
|
-
return normalize_tag(lang) in self._data
|
|
415
|
+
return (lang if type(lang) is str and lang in _SEEN_TAGS else normalize_tag(lang)) in self._data
|
|
405
416
|
|
|
406
417
|
@override
|
|
407
418
|
def __iter__(self) -> Iterator[str]:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|