Author: Giuseppe Latini Version: 0.0.2 Date: 24/08/2024
Utility to decode individual Italian tax codes, it also handles homocoded strings
To install in venv:
pip install --index-url https://test.pypi.org/simple/ --no-deps ittaxcode_pinuxone
(for now it is only on the test.pypi index)
To import in project:
from ittaxcode_pinuxone import ittc
ittc.check(taxcode) => boolean
Return True if taxcode in valid format
ittc.birthdate(taxcode) => date
Return date of birth
ittc.age(taxcode) => int
Return years "completed"
ittc.sex(taxcode) => string
Return "M" or "F"