Skip to main content

parsimony-destatis

Destatis (German Federal Statistical Office) connector — fetches and enumerates tables from the public GENESIS-Online REST API.

Part of the parsimony-connectors monorepo. Distributed standalone on PyPI as parsimony-destatis.

Connectors

Name Kind Description
destatis_fetch fetch Fetch a GENESIS table by code (e.g. 61111-0001), with optional start_year / end_year. JSON-stat 2.0 is parsed into long-format rows; German month/quarter labels are normalized to ISO dates.
enumerate_destatis enumerator Enumerate GENESIS statistics and their tables (catalog indexing) by crawling /statistics, /statistics/{code}/information, and /statistics/{code}/tables.
destatis_search tool Semantic-search the published Destatis catalog and map a natural-language query to a table code (feed it to destatis_fetch(name=...)).

Coverage

The keyless GENESIS-Online REST API exposes 3,009 predefined tables across 331 statistics (prices, population, national accounts, labour, foreign trade, production, transport, health, environment, earnings, …). enumerate_destatis walks the authoritative path — /statistics then a per-statistic /tables fan-out — which is lossless (every statistic's table list comes back in full, no pagination cap, no table shared across statistics), so the catalog contains every fetchable table. Each table is itself multi-dimensional: destatis_fetch returns one row per (classification combination × period), with the classification dimensions preserved as columns. Time is parsed from the JSON-stat period keys (annual, monthly, quarterly, semester, reference-date, school-year — all normalized to ISO dates).

The multidimensional cube / custom-table power-user surface of classic GENESIS is not part of this keyless API (it belonged to the retired registration-gated webservice) and is out of scope.

Install

pip install parsimony-destatis

Pulls in a compatible parsimony automatically. Verify discovery:

python -c "from parsimony import discover; print([p.name for p in discover.iter_providers()])"

Configuration

No credentials required. GENESIS-Online allows anonymous access — there is no API key, username, or password to set.

The only optional setting is the catalog-snapshot URL used by destatis_search:

export PARSIMONY_DESTATIS_CATALOG_URL="hf://your-org/destatis"   # optional; overrides the default snapshot

Quick start

from parsimony_destatis import CONNECTORS

result = CONNECTORS["destatis_fetch"](name="61111-0001")
print(result.raw.head())

For multi-plugin composition:

from parsimony import discover

connectors = discover.load_all()

Provider

License

See LICENSE.

Metadata

Release files for parsimony-destatis 0.0.2

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

Source distribution (sdist)

Source distribution for parsimony-destatis 0.0.2
File Size Uploaded Provenance
parsimony_destatis-0.0.2.tar.gz 21.0 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for parsimony-destatis 0.0.2
File Interpreter ABI Platform
parsimony_destatis-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 42.7 kB

Release files / parsimony_destatis-0.0.2.tar.gz

Download URL parsimony_destatis-0.0.2.tar.gz
Size 21.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3c95368ef9b65c74c71b8092edcaeeef4c722774a0904c56df1a1c2aa030d33f
BLAKE2b-256 checksum
How to use checksums
b65ba0cd13c18f7556afd4348c82a82c16b13cf239fe29473bf0d0e8bf8354c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 10, 2026.

Transparency log

Release files / parsimony_destatis-0.0.2-py3-none-any.whl

Download URL parsimony_destatis-0.0.2-py3-none-any.whl
Size 21.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
72cf9526ecacba4049eff4ad9e5f9096e932ededab7330758cf1d2ecd16541d7
BLAKE2b-256 checksum
How to use checksums
3312abb27ff5270a88996e47630bea1e654c0578241c439630afbd081eaec087
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 10, 2026.

Transparency log

Security for parsimony-destatis 0.0.2

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for parsimony_destatis-0.0.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 10, 2026.

Transparency log

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

0.0.2 This release

2 release files Full provenance

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