Skip to content

Releases: fabiocaccamo/python-codicefiscale

0.10.3

30 Sep 21:52
Compare
Choose a tag to compare
  • Add missing country and municipalities. (by @tommysolinas in #198)
  • Add pypy-3.10 to test matrix.

0.10.2

20 Sep 17:07
Compare
Choose a tag to compare
  • Updated countries.json and municipalities.json data.
  • Added missing country to countries-patch.json. (by @tommysolinas in #195)
  • Added missing municipalities to municipalities-patch.json. (by @tommysolinas in #194)
  • Bump requirements and pre-commit hooks.

0.10.1

06 Jun 16:47
Compare
Choose a tag to compare
  • Add mypy to pre-commit.
  • Update mypy config.
  • Update tool.ruff config.
  • Fix pyproject Ruff conf warnings.
  • Updated countries.json and municipalities.json data.
  • Bump requirements and pre-commit hooks.

0.9.1

15 Feb 16:57
Compare
Choose a tag to compare
  • Allow access to data files when running in a frozen environment (eg. executable). #152
  • Bump requirements and pre-commit hooks.

0.9.0

06 Nov 17:34
Compare
Choose a tag to compare
  • Add Python 3.12 support.
  • Add possibility to validate code from the command line, eg. python -m codicefiscale validate {code}.
  • Add codicefiscale.data module with methods for exposing data.
  • Bump requirements, pre-commit hooks and actions.

0.8.2

02 Oct 20:29
Compare
Choose a tag to compare
  • Patch some wrong municipalities data. #123

0.8.1

05 Sep 20:47
Compare
Choose a tag to compare
  • Merge fetched data with manually managed patch data. (#116)
  • Update municipalities data source url.
  • Bump requirements.

0.8.0

08 Apr 22:08
Compare
Choose a tag to compare
  • Manage correctly deleted countries. #36
  • Replace flake8 with Ruff.
  • Switch from setup.cfg to pyproject.toml.
  • Improve code quality.
  • Bump requirements.

0.7.1

30 Mar 11:27
Compare
Choose a tag to compare
  • Fix encoding/decoding error when year of birth (excluding century) < 10 (eg. 2004). #79.
  • Improve error message for invalid birthplace codes.
  • Refactor tests and move each issue test to its own test case.
  • Update pre-commit hooks. (#80)

0.7.0

27 Mar 01:13
Compare
Choose a tag to compare
  • Add command line usage support. #14 (#78)
  • ⚠️ Rename arguments and output variable names:
    • surname -> lastname
    • name -> firstname
    • sex -> gender