Skip to content

Releases: CorrelAid/pystatis

v0.5.5

10 Mar 22:44
b6e0dd8

Choose a tag to compare

  • Add db_names parameter to setup_credentials for non-interactive use
  • Make setup_credentials interactive per database; fix empty credential check
  • Add Python 3.14 support (CI matrix and classifiers)
  • Replace mypy with ty for 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 TimeoutError on background job timeout instead of silently exiting (behavior change)
  • Add types-requests stubs for type checking
  • Update all tests and re-record cassettes
  • Make setup_credentials transactional: roll back all in-memory config changes on any error; validate db_names against supported list before use

v0.5.4

11 Jun 21:01

Choose a tag to compare

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

06 Jun 21:39

Choose a tag to compare

0.5.3

  • Support for a new parameter in Table.get_data(..., compress: bool = True) that can be True or False. When set to True, 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

18 Apr 21:31

Choose a tag to compare

v0.5.1

11 Apr 23:45

Choose a tag to compare

Full Changelog: v0.5.0...v0.5.1

v0.5.0

11 Apr 23:32

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.4.0...v0.5.0

v0.4.0

04 Dec 19:22

Choose a tag to compare

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.

Full Changelog: v0.3.3...v0.4.0

v0.3.3

23 Oct 22:33

Choose a tag to compare

What's Changed

  • Update dependency myst-parser to v4 by @renovate in #146
  • Update dependency bandit to v1.7.10 by @renovate in #150
  • Add error message when API is not returning data for the first request (timeout after 5 minutes)

Full Changelog: v0.3.1...v0.3.3

Support Zensus 2022

13 Jul 18:01
00c2db9

Choose a tag to compare

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

30 Jun 20:31
82c30b0

Choose a tag to compare

What's Changed

  • support a wide range of parameters for get_data(), see API documentation for details -> PR #64
  • support quality symbols with quality parameter 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