Releases: CorrelAid/pystatis
v0.5.5
- 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
v0.5.4
0.5.4
- Change handling of backend jobs: Switch from catalogue/jobs to catalogue/results.
- Reactivate tests for Regionalstatistik.
Full Changelog: v0.5.3...v0.5.4
v0.5.3
0.5.3
- 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
Full Changelog: v0.5.2...v0.5.3
Improve log messages
Full Changelog: v0.5.1...v0.5.2
v0.5.1
Full Changelog: v0.5.0...v0.5.1
v0.5.0
What's Changed
- Update codecov/codecov-action action to v5.1.0 by @renovate in #167
- Update dependency ruff to v0.8.2 by @renovate in #166
- Update dependency notebook to v7.3.1 by @renovate in #165
- Feature/106 parse data types by @bergnerjonas in #148
- Update codecov/codecov-action action to v5.4.0 by @renovate in #168
- Update dependency ruff to >=0.11.5,<0.12 by @renovate in #179
- Release v0.5.0 by @pmayd in #183
New Contributors
- @bergnerjonas made their first contribution in #148
Full Changelog: v0.4.0...v0.5.0
v0.4.0
What's Changed
Support for updated Genesis database! The Genesis database behind https://www-genesis.destatis.de/datenbank/online was switched to a newer version and brought the changes already known from the Zensus database (mainly a new ffcsv format and zip files instead of plain text for tablefile endpoint). This version is updating pystatis to be compatible with the latest Genesis Online database.
- Release/v0.4.0 by @pmayd in #163
- Update codecov/codecov-action action to v5 by @renovate in #159
- Update abatilo/actions-poetry action to v3.0.1 by @renovate in #156
- Update dependency sphinx-rtd-theme to v3 by @renovate in #155
Full Changelog: v0.3.3...v0.4.0
v0.3.3
Support Zensus 2022
With the publication of Zensus 2022 on July 11 the old base url as well as old credentials are no longer accepted. This minor update leads to a full support of the current available data in Zensus 2022
0.3.1
- 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
v0.3.0
What's Changed
- 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
Full Changelog: 0.2.0...v0.3.0