Destatis (German federal statistics) connector for the parsimony framework
Project description
parsimony-destatis
Destatis (German Federal Statistical Office) connector — fetches tables from the GENESIS-Online 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 table_id (e.g. 61111-0001), with optional start_year / end_year. German number/date formats are normalized automatically. |
enumerate_destatis |
enumerator | Enumerate GENESIS tables via the catalogue API (catalog indexing). |
Install
pip install parsimony-destatis
Pulls in parsimony-core>=0.4,<0.5 automatically. Verify discovery:
python -c "from parsimony import discover; print([p.name for p in discover.iter_providers()])"
Configuration
Both environment variables are optional. When unset, the connectors default to the public guest account (GAST / GAST), which is Destatis's documented anonymous credential pair:
export DESTATIS_USERNAME="<your-username>" # optional, defaults to GAST
export DESTATIS_PASSWORD="<your-password>" # optional, defaults to GAST
Register for a personal account at https://www-genesis.destatis.de/genesis/online if the guest account is rate-limited or redirected to an announcement page.
Quick start
import asyncio
from parsimony_destatis import CONNECTORS
async def main():
connectors = CONNECTORS.bind_env()
result = await connectors["destatis_fetch"](table_id="61111-0001")
print(result.data.head())
asyncio.run(main())
For multi-plugin composition:
from parsimony import discover
connectors = discover.load_all().bind_env()
Provider
- Homepage: https://www.destatis.de
- GENESIS-Online: https://www-genesis.destatis.de/genesis/online
License
See LICENSE.
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 parsimony_destatis-0.5.0.tar.gz.
File metadata
- Download URL: parsimony_destatis-0.5.0.tar.gz
- Upload date:
- Size: 19.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80a3833852107974961b3f62461748436bfb09d06368046c0184ffbec44d188c
|
|
| MD5 |
9655f10b6e56a43302f49d9544d79d25
|
|
| BLAKE2b-256 |
dd8897589b7a11a0042a59487ddc62bdce7ca4b566d864a22f9d6b14b9ef47f4
|
Provenance
The following attestation bundles were made for parsimony_destatis-0.5.0.tar.gz:
Publisher:
release.yml on ockham-sh/parsimony-connectors
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
parsimony_destatis-0.5.0.tar.gz -
Subject digest:
80a3833852107974961b3f62461748436bfb09d06368046c0184ffbec44d188c - Sigstore transparency entry: 1453265406
- Sigstore integration time:
-
Permalink:
ockham-sh/parsimony-connectors@db37b495a6c7b7c5a4e5bfdfa5b5b4d74ac4b1b6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ockham-sh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@db37b495a6c7b7c5a4e5bfdfa5b5b4d74ac4b1b6 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file parsimony_destatis-0.5.0-py3-none-any.whl.
File metadata
- Download URL: parsimony_destatis-0.5.0-py3-none-any.whl
- Upload date:
- Size: 18.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f223d2a5bdcf942406be3e6bd0a8d38e02a16117c274a0395b8458aed6c1c21b
|
|
| MD5 |
959fb05896a3d9a6ed44b0d45d8c5ff5
|
|
| BLAKE2b-256 |
b91d8d46768c3394fdb543b0509ad0d5ee64ef6320346e36e1ca018acc0b7220
|
Provenance
The following attestation bundles were made for parsimony_destatis-0.5.0-py3-none-any.whl:
Publisher:
release.yml on ockham-sh/parsimony-connectors
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
parsimony_destatis-0.5.0-py3-none-any.whl -
Subject digest:
f223d2a5bdcf942406be3e6bd0a8d38e02a16117c274a0395b8458aed6c1c21b - Sigstore transparency entry: 1453265461
- Sigstore integration time:
-
Permalink:
ockham-sh/parsimony-connectors@db37b495a6c7b7c5a4e5bfdfa5b5b4d74ac4b1b6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/ockham-sh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@db37b495a6c7b7c5a4e5bfdfa5b5b4d74ac4b1b6 -
Trigger Event:
workflow_dispatch
-
Statement type: