| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Based on the implementation in the vatnumber module.
|
|
|
|
| |
Based on the implementation in the vatnumber module.
|
|
|
|
|
|
|
| |
Partially based on the implementation in the vatnumber module.
Some valid numbers appear to start with an L so those are allowed as
well.
|
|
|
|
|
|
| |
This is based on the list of Cedula found at
http://prd.org.do/2013/07/30/lista-del-cen-del-prd-actualizada-y-registrada-en-la-junta-central-electoral/
(link provided by José Arturo García)
|
|
|
|
|
|
|
|
|
| |
The Cedule is a Dominican Republic national identification number for
persons.
The number uses the Luhn checksum but apparently there are a lof of
valid numbers in use that do not match the checksum. For this a
whitelist is used.
|
|
|
|
|
| |
The RNC (Registro Nacional del Contribuyente) is the Dominican Republic
taxpayer registration number for companies.
|
| |
|
| |
|
|
|
|
| |
The package is named "is_" because "is" is a reserved word.
|
|
|
|
|
| |
This commit also includes changes from Tomas Thor Jonsson
<benregn@gmail.com>.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
See: http://arthurdejong.org/trac/python-stdnum/ticket/10
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
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
|