| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
| |
Also known as "Sozialversicherungsnummer" / "Neue AHV Nummer".
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
Add modules for Ecuadorian Identification Card (CI - Cédula de
identidad) and Fiscal Numbers (RUC - Registro Único de Contribuyentes)
See: https://github.com/arthurdejong/python-stdnum/pull/12
|
| |
| |
| |
| |
| | |
This raises exceptions when the provice or establishment number part of
the number contains invalid values.
|
| |
| |
| |
| |
| |
| | |
Use the CI checks from within the RUC module for natural RUC numbers
(thereby eliminating a bug in the RUC checksum calculation) and simplify
the checksum functions.
|
| |
| |
| |
| |
| |
| |
| | |
This moves a number of the existing test cases to dedicated doctest
files and extend the tests with more numbers and corner cases.
This also fixes a few docstrings.
|
|/
|
|
|
| |
Add modules for Ecuadorian Identification Card (CI - Cédula de
identidad) and Fiscal Numbers (RUC - Registro Único de Contribuyentes)
|
|\ |
|
| |
| |
| |
| | |
Republic China
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
|
|
|
|
|
| |
This updates the URLs for the state and country codes as published by
the National Registration Department of Malaysia and changes the parsing
to the new page layout.
This also updates the data file.
https://github.com/arthurdejong/python-stdnum/issues/14
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Add validation and creation of check digit for ISO6346 codes.
See: https://github.com/arthurdejong/python-stdnum/pull/9
|
| |
|
|
|
|
|
| |
References:
- https://www.welfare.ie/en/Pages/PPSN.aspx
- http://www.citizensinformation.ie/en/social_welfare/irish_social_welfare_system/personal_public_service_number.html
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This module validates 16 digit Italian tax codes for individuals.
https://en.wikipedia.org/wiki/Italian_fiscal_code_card
It is based on the pycodicefiscale module that can be found here:
https://github.com/baxeico/pycodicefiscale
Functions have been renamed to follow the stdnum naming scheme:
isvalid() -> is_valid(), control_code -> calc_check_digit(),
get_birthday() -> get_birth_date(), get_sex() -> get_gender(). The
build() function for generating tax codes (based on name, birth place
and date) has been left out because this number cannot be uniquely
constructed with this information alone (numbers are issued by the
Italian tax office with a mechanism handle duplicates).
Addresses trac ticket #9.
|
|
|
| |
This accidentally slipped into 907e410.
|
| |
|
| |
|
|
|
|
| |
Some statements are not covered in Python 3 tests.
|
|
|
|
|
|
| |
This switches to use the csv module to support multi-line column values.
This also handles some problems in the BBAN structure column that would
contain an IBAN structure.
|
|
|
|
|
|
|
| |
git log --date=short --name-only \
--format="%x0c%ad %aN <%aE>%n%n%x09* [%h]%x00%s%n%x00%+b%x00" | \
awk 'BEGIN { RS="\f"; FS="\0" } { if ($1) { gsub(/\n*$/, "", $4); gsub(/^\n*/, "", $4); gsub(/\n/, ", ", $4); gsub(/\ngit-svn-id.*/, "", $3); gsub(/\n/, "\n\t ", $3); print $1 " " $4 ": "; print "\t " $2 $3 }}' | \
fmt --width=78 -c > ChangeLog
|
|
|
|
|
|
|
| |
Add support for restarting from November 2009 using 9755.
Add support for EU format of health authorities
See: https://github.com/arthurdejong/python-stdnum/pull/4
|
|
|
|
|
|
| |
This updates the regexes and includes seom optimizations.
See: https://github.com/arthurdejong/python-stdnum/issues/1
|
| |
|
|
|
|
|
|
|
| |
This updates the script due to the Wikipedia article change and removes
the code for getting the data from ITU for now.
See: https://github.com/arthurdejong/python-stdnum/issues/1
|
|
|
|
|
|
|
|
| |
The Dutch postal code (postcode) consists of four digits followed by two
characters and together with the house number should uniquely identify
any address.
Addresses trac ticket #7.
|
|
|
|
|
|
|
| |
The Brin (Basis Registratie Instellingen) is a number to identify
schools and related institutions.
Addresses trac ticket #6.
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| | |
This adds modules for the Individual Taxpayer Identification Number
(ITIN), the Employer Identification Number (EIN), Adoption Taxpayer
Identification Number (ATIN) and Preparer Tax Identification Number
(PTIN) that together with the Social Security Number (SSN) are valid
Taxpayer Identification Numbers (TIN)
|
| |
| |
| |
| |
| |
| | |
The Taxpayer Identification Number is used used for tax purposes in the
United States. This module uses the SSN, ITIN, EIN, PTIN and ATIN
modules to determine validitiy of the TIN.
|
| |
| |
| |
| |
| |
| | |
A Preparer Tax Identification Number (PTIN) is United States
identification number for tax return preparers. It is an eight-digit
number prefixed with a capital P.
|
| |
| |
| |
| |
| |
| | |
An Adoption Taxpayer Identification Number (ATIN) is a temporary
nine-digit number issued by the United States IRS for a child for whom
the adopting parents cannot obtain a Social Security Number.
|
| |
| |
| |
| |
| |
| |
| | |
The Employer Identification Number (EIN), also known as Federal Employer
Identification Number (FEIN), is used to identify a business entity in
the United States. It is issued to anyone that has to pay withholding
taxes on employees.
|
|/
|
|
|
|
|
| |
The ITIN (Individual Taxpayer Identification Number) is issued by the
United States IRS to individuals who are required to have a taxpayer
identification number but who are not eligible to obtain a Social
Security Number.
|
| |
|
|
|
|
|
|
|
|
|
| |
This changes the stdnum.util.clean() method that is used by all modules
to replace alternative Unicode dashes, dots, etc. by their ASCII
equivalent so the numbers will be automatically converted and validated.
Inspiration for this change came from
https://github.com/JNRowe/pyisbn/pull/6
|
| |
|
| |
|
| |
|