- Add
db_namesparameter tosetup_credentialsfor non-interactive use - Make
setup_credentialsinteractive per database; fix empty credential check - Add Python 3.14 support (CI matrix and classifiers)
- Replace mypy with
tyfor type checking - Update dependencies: tabulate, pytest v9, pylint v4, pytest-cov v7, types-requests
- Update GitHub Actions: actions/checkout v6, setup-uv v7, upload-artifact v7, codecov-action v5
- Raise
TimeoutErroron background job timeout instead of silently exiting (behavior change) - Add
types-requestsstubs for type checking - Update all tests and re-record cassettes
- Make
setup_credentialstransactional: roll back all in-memory config changes on any error; validate db_names against supported list before use
- Change handling of backend jobs: Switch from catalogue/jobs to catalogue/results.
- Reactivate tests for Regionalstatistik.
- Support for a new parameter in
Table.get_data(..., compress: bool = True)that can beTrueorFalse. When set toTrue, it will suppress empty rows and columns in the table before downloading it, thus reducing the table size. - Support for authentification with user token. A calid token can be used instead of a user name and with an empty password.
- Added a small sleep time between creating a job and asking for the status of the job to avoid running into the error
pystatis.exception.DestatisStatusError: Es gibt keine Objekte zum angegebenen Selektionskriterium - Update dependencies and GitHub Actions
- migrate from
poetrytouv - switch Regionalstatistik from Genesis v4 to v5, now supporting new tablefile zip format
- remove support for older database versions (v4) and streamline code as all databases are using the same tablefile format
- improve the way we add regional municipality codes to the data: always add AGS columns (__Code and label) for tables that have at least two different values for AGS, and drop them for tables with only a single AGS code
- support new Zensus 2022 web interface / API by changing base_url in default config to new value https://ergebnisse.zensus2022.de/api/rest/2020/
- users have to either update or delete their old config, detailed instructions are added to the README
- for some tables, the regional code can change, all rows except one might be KREISE but one is DG for Germany, fixed this so we still output AGS column
- added missing regional codes that were introduced by Zensus 2022
- support a wide range of parameters for
get_data(), see API documentation for details -> PR #64 - support quality symbols with
qualityparameter and improve handling of missing values -> PR #117 - for all tables with regional codes always include an AGS column with official municipality codes (AGS) -> PR #123
- improve test suite quality and introduce proper end-to-end tests -> PR #99
- handle support for languages "en" and "de" -> PR #58
- remove support for Cube until requested
- add multi database support: Table class accepts any EVAS as
nameparameter without the need to specify the database setup_credentialscan be used to set up credentials for all three supported databases- Improve Table data format: prettify the raw table format and improve readability
- support new zip format returned by Zensus
- add proper documentation (using Sphinx)