Python Codicefiscale Versions Save

:it: :credit_card: italian fiscal codes encoding, decoding and validation - codifica, decodifica e validazione del Codice Fiscale italiano.

0.9.1

3 months ago
  • Allow access to data files when running in a frozen environment (eg. executable). #152
  • Bump requirements and pre-commit hooks.

0.9.0

6 months ago
  • 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

7 months ago
  • Patch some wrong municipalities data. #123

0.8.1

8 months ago
  • Merge fetched data with manually managed patch data. (#116)
  • Update municipalities data source url.
  • Bump requirements.

0.8.0

1 year ago
  • Manage correctly deleted countries. #36
  • Replace flake8 with Ruff.
  • Switch from setup.cfg to pyproject.toml.
  • Improve code quality.
  • Bump requirements.

0.7.1

1 year ago
  • 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

1 year ago
  • Add command line usage support. #14 (#78)
  • :warning: Rename arguments and output variable names:
    • surname -> lastname
    • name -> firstname
    • sex -> gender

0.6.1

1 year ago
  • Add setup.cfg (setuptools declarative syntax) generated using setuptools-py2cfg.
  • Add pyupgrade to pre-commit config.
  • Remove tests/ from dist.
  • Updated countries.json and municipalities.json data.
  • Improve update script error messages and fix formatting error.
  • Bump requirements.

0.6.0

1 year ago
  • Add Python 3.11 support.
  • Add pre-commit.
  • Add pypy to CI.
  • Drop Python < 3.8 support.
  • Updated countries.json and/or municipalities.json data.
  • Replace str.format with f-strings.
  • Remove encoding pragma.
  • Decrease dependence on CODICEFISCALE_RE regex by naming subpatterns.
  • Fix decoding code with invalid birthplace code. #27
  • Fix date of birth not honored when encoding and decoding (deleted municipalities only). #37 (#40)
  • Bump requirements and GitHub actions versions.

0.5.0

1 year ago
  • Add municipality validity date support. Fix #12 and #23 by danisana in #24.
  • Replace str.format with f-strings.
  • Update countries.json and municipalities.json data.
  • Update and pin requirements.