Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2019-03-10 19:27:14 +0100
committerArthur de Jong <arthur@arthurdejong.org>2019-03-10 19:31:42 +0100
commit72cbfb8b14fe734cae210fb4f28b65586ddd34e7 (patch)
treebbe0cac66064eeac01dd5661a9ae3dc6fa8bb845
parentfdeeb9aeb6582a3cb63853f336b3832dce077838 (diff)
Get files ready for 1.11 release1.11
This also adds the release notes to the generated documentation.
-rw-r--r--ChangeLog191
-rw-r--r--NEWS247
-rw-r--r--README13
-rw-r--r--docs/changes.rst4
-rw-r--r--docs/conf.py2
-rw-r--r--docs/index.rst20
-rw-r--r--docs/stdnum.ar.dni.rst5
-rw-r--r--docs/stdnum.at.vnr.rst5
-rw-r--r--docs/stdnum.cu.ni.rst5
-rw-r--r--docs/stdnum.gr.amka.rst5
-rw-r--r--docs/stdnum.lt.asmens.rst5
-rw-r--r--docs/stdnum.mac.rst5
-rw-r--r--docs/stdnum.md.idno.rst5
-rw-r--r--docs/stdnum.mx.curp.rst5
-rw-r--r--docs/stdnum.no.fodselsnummer.rst5
-rw-r--r--docs/stdnum.nz.bankaccount.rst5
-rw-r--r--docs/stdnum.se.personnummer.rst5
-rw-r--r--stdnum/__init__.py4
18 files changed, 439 insertions, 97 deletions
diff --git a/ChangeLog b/ChangeLog
index c6e3cc3..cca675c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,194 @@
+2019-03-10 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [fdeeb9a] stdnum/at/postleitzahl.dat, stdnum/be/banks.dat,
+ stdnum/cn/loc.dat, stdnum/eu/nace.dat, stdnum/iban.dat,
+ stdnum/imsi.dat, stdnum/isbn.dat, stdnum/isil.dat, stdnum/oui.dat:
+ Update database files
+
+2019-03-10 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [fbbb550] update/at_postleitzahl.py, update/isil.py,
+ update/my_bp.py, update/requirements.txt: Switch update scripts
+ to beautifulsoup4
+
+2019-02-27 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [61a8a94] stdnum/ee/ik.py: Add documentation
+
+2018-12-27 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [151e0d8] stdnum/ar/cbu.py: Remove broken link
+
+2019-03-10 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [3f953f3] stdnum/nz/__init__.py, stdnum/nz/bankaccount.py,
+ stdnum/nz/banks.dat, tests/test_nz_bankaccount.doctest,
+ update/nz_banks.py: Add New Zealand bank account number
+
+2019-03-03 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [4e25e31] stdnum/md/__init__.py, stdnum/md/idno.py,
+ tests/test_md_idno.doctest: Add Moldavian IDNO
+
+2019-03-03 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [d5d812b] tests/test_bg_egn.doctest: Add more tests for
+ Bulgarian EGN
+
+2019-03-03 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [60cb887] stdnum/mac.py, tests/test_mac.doctest: Rename MAC
+ check_manufacturer to validate_manufacturer
+
+ For consistency with the other validation modules that have
+ an extra argument to disable or enable certain parts of the
+ validation.
+
+2019-03-03 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [39b8ace] stdnum/lt/asmens.py, tests/test_lt_asmens.doctest:
+ Add Lithuanian Asmens kodas
+
+2019-02-27 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [ab91d87] stdnum/gr/amka.py, tests/test_gr_amka.doctest: Add
+ Greek AMKA social security number
+
+2019-02-20 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [6eadca1] setup.cfg, setup.py, stdnum/__init__.py,
+ stdnum/bic.py, stdnum/cl/__init__.py, stdnum/co/__init__.py,
+ stdnum/eu/at_02.py, stdnum/iso6346.py, stdnum/iso9362.py,
+ stdnum/numdb.py, stdnum/sk/rc.py, stdnum/us/tin.py,
+ tox.ini, update/at_postleitzahl.py, update/do_whitelists.py,
+ update/my_bp.py, update/numlist.py: Switch from import-order
+ to isort
+
+2019-02-17 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [9daa1b0] stdnum/ar/cbu.py, stdnum/at/uid.py, stdnum/iban.py,
+ update/iban.py: Fix typos
+
+2019-02-17 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [cc6ffec] stdnum/de/handelsregisternummer.py, stdnum/de/stnr.py,
+ stdnum/do/cedula.py, stdnum/numdb.py: Improvements reported
+ by pylint
+
+2019-02-17 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [be8e258] stdnum/cu/__init__.py, stdnum/cu/ni.py: Add Cuban
+ número de identidad
+
+2019-02-11 Andrés R <androdriguez14@gmail.com>
+
+ * [0fc0c30] stdnum/do/rnc.py: Return only first response from
+ DGII lookup
+
+ This fixes an issue when response for check_dgii() comes with
+ 2 records instead of one for same RNC.
+
+ Closes https://github.com/arthurdejong/python-stdnum/pull/95
+
+2019-02-10 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [b4773ae] .travis.yml, setup.py, tox.ini: Add Python 3.7 tests
+
+2019-02-05 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [50874a9] stdnum/mx/__init__.py, stdnum/mx/curp.py,
+ tests/test_mx_curp.doctest: Add Mexican CURP
+
+2019-01-29 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [4cb44aa] stdnum/bg/egn.py, stdnum/cz/rc.py, stdnum/dk/cpr.py,
+ stdnum/lv/pvn.py, stdnum/ro/cnp.py: Call compact in
+ get_birth_date() functions
+
+ This ensures that formatting characters are also removed when
+ formatted numbers are passed to the get_birth_date() functions.
+
+ Closes https://github.com/arthurdejong/python-stdnum/issues/94
+
+2018-12-28 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [3f4a08a] stdnum/mac.py, stdnum/oui.dat, tests/test_mac.doctest,
+ update/oui.py: Add MAC address
+
+ This adds validation of MAC (Ethernet) addresses. It will perform
+ lookups in the IEEE registry for manufacturer names for universally
+ administered addresses.
+
+ Closes https://github.com/arthurdejong/python-stdnum/issues/93
+
+2018-12-27 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [d7f7b8e] stdnum/ar/__init__.py, stdnum/ar/dni.py: Add Argentinian
+ DNI
+
+ Closes https://github.com/arthurdejong/python-stdnum/issues/90
+
+2018-12-26 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [375f63b] stdnum/at/vnr.py: Add Austrian Versicherungsnummer
+
+2018-11-27 Ilya Vihtinsky <iliaviht@gmail.com>
+
+ * [b77c9cd] stdnum/se/__init__.py, stdnum/se/personnummer.py,
+ tests/test_se_personnummer.doctest: Add Swedish Personnummer
+
+ Closes https://github.com/arthurdejong/python-stdnum/pull/88
+
+2018-11-27 Ilya Vihtinsky <iliaviht@gmail.com>
+
+ * [d11e5c4] stdnum/no/__init__.py, stdnum/no/fodselsnummer.py,
+ tests/test_no_fodselsnummer.doctest: Add Norwegian Fødselsnummer
+
+ Closes https://github.com/arthurdejong/python-stdnum/pull/88
+
+2018-12-07 Mario Puntin <mario@silix.com.ar>
+
+ * [bb24c2f] stdnum/ar/cuit.py: Add format for Argentinian CUIT number
+
+ Closes https://github.com/arthurdejong/python-stdnum/pull/89
+
+2018-11-24 Christopher Ormaza <chris.ormaza@gmail.com>
+
+ * [069279a] stdnum/ec/ci.py, stdnum/ec/ruc.py: Support Cedula and
+ RUC of foreigners
+
+ Add the case of Cedulas and RUCs of foreigners in Ecuador,
+ as Venezuelans and Colombians
+
+ Closes https://github.com/arthurdejong/python-stdnum/pull/87
+
+2018-11-12 Gustavo Valverde <gustavo@iterativo.do>
+
+ * [e31ff95] stdnum/do/ncf.py, stdnum/do/rnc.py: Use HTTPS for WSDL
+ as HTTP was deprecated
+
+ The regulator changed their site to use HTTPS by default; making
+ this resource unavailable through HTTP.
+
+ Closes https://github.com/arthurdejong/python-stdnum/pull/85
+
+2018-11-11 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [8677d04] setup.cfg: Make the multi-line operator place explicit
+
+ Recent versions of flake8 changed the defaults of the errors
+ to ignore.
+
+2018-10-14 Arthur de Jong <arthur@arthurdejong.org>
+
+ * [a68f3ca] ChangeLog, NEWS, README, docs/index.rst,
+ docs/stdnum.bitcoin.rst, docs/stdnum.iso11649.rst,
+ docs/stdnum.mu.nid.rst, docs/stdnum.no.iban.rst,
+ docs/stdnum.no.kontonr.rst, stdnum/__init__.py,
+ stdnum/at/postleitzahl.dat, stdnum/be/banks.dat, stdnum/cn/loc.dat,
+ stdnum/eu/nace.dat, stdnum/imsi.dat, stdnum/isbn.dat,
+ update/my_bp.py: Get files ready for 1.10 release
+
2018-10-14 Arthur de Jong <arthur@arthurdejong.org>
* [6b85f91] stdnum/iban.py, tests/test_iban.doctest: Raise
diff --git a/NEWS b/NEWS
index b66926d..020e4bc 100644
--- a/NEWS
+++ b/NEWS
@@ -1,12 +1,39 @@
+changes from 1.10 to 1.11
+-------------------------
+
+* Add modules for the following number formats:
+
+ - DNI (Documento Nacional de Identidad, Argentinian national identity nr.)
+ - VNR, SVNR, VSNR (Versicherungsnummer, Austrian social security number)
+ - NI (Número de identidad, Cuban identity card numbers)
+ - AMKA (Αριθμός Μητρώου Κοινωνικής Ασφάλισης, Greek social security number)
+ - Asmens kodas (Lithuanian, personal numbers)
+ - MAC address (Media Access Control address)
+ - IDNO (Moldavian company identification number)
+ - CURP (Clave Única de Registro de Población, Mexican personal ID)
+ - Fødselsnummer (Norwegian birth number, the national identity number) (thanks Ilya Vihtinsky)
+ - New Zealand bank account number
+ - Personnummer (Swedish personal identity number) (thanks Ilya Vihtinsky)
+
+* Code style improvements
+* Change Dominican Republic DGII check URL to HTTPS (thanks Gustavo Valverde)
+* Support Ecuadorian Cedula and RUC of foreigners (thanks Christopher Ormaza)
+* Add format() function for Argentinian CUIT number (thanks Mario Puntin)
+* Support passing formatted numbers to all get_birth_date() and similar functions
+* Handle Dominican Republic DGII lookup returning multiple entities (thanks Andrés R)
+
+
changes from 1.9 to 1.10
------------------------
* Add modules for the following number formats:
+
- Bitcoin address
- ISO 11649 (Structured Creditor Reference)
- ID number (Mauritian national identifier)
- Norwegian IBAN (International Bank Account Number)
- Konto nr. (Norwegian bank account number)
+
* Fix a bug in handling of Mexican tax numbers
* Improve Spanish CIF and NIF validation
* Update Dominican Republic NCF numbers online check
@@ -19,7 +46,8 @@ changes from 1.9 to 1.10
changes from 1.8.1 to 1.9
-------------------------
-* add modules for the following number formats:
+* Add modules for the following number formats:
+
- Postleitzahl (Austrian postal code)
- Abgabenkontonummer (Austrian tax identification number)
- Belgian IBAN (International Bank Account Number)
@@ -27,6 +55,7 @@ changes from 1.8.1 to 1.9
- St.-Nr. (Steuernummer, German tax number)
- FIGI (Financial Instrument Global Identifier)
- Montenegro IBAN (International Bank Account Number)
+
* Have documentation rebuilt reproducibly (thanks Chris Lamb)
* Allow configuring the SOAP request timeout
* Support spaces in ISO 9362 (SWIFT) BIC codes
@@ -42,29 +71,31 @@ changes from 1.8.1 to 1.9
changes from 1.8 to 1.8.1
-------------------------
-* fix a packaging issue in the long description
+* Fix a packaging issue in the long description
changes from 1.7 to 1.8
-----------------------
-* add modules for the following number formats:
- - NCF (Números de Comprobante Fiscal, Dominican Republic receipt number)
- - Euro banknote serial numbers
- - CAS RN (Chemical Abstracts Service Registry Number)
- - Aadhaar (Indian digital resident personal identity number)
- (thanks Srikanth Lakshmanan)
- - PAN (Permanent Account Number, Indian income tax identifier)
- (thanks Srikanth Lakshmanan)
-* add functions for using the Dominican Republic DGII web service to validate
+* Add modules for the following number formats:
+
+ - NCF (Números de Comprobante Fiscal, Dominican Republic receipt number)
+ - Euro banknote serial numbers
+ - CAS RN (Chemical Abstracts Service Registry Number)
+ - Aadhaar (Indian digital resident personal identity number)
+ (thanks Srikanth Lakshmanan)
+ - PAN (Permanent Account Number, Indian income tax identifier)
+ (thanks Srikanth Lakshmanan)
+
+* Add functions for using the Dominican Republic DGII web service to validate
and search for RNC and NCF numbers
-* add/update whitelists for Dominican Republic RNC and Cedula
-* support zeep as preferred SOAP library (suds and pysimplesoap are tried
+* Add/update whitelists for Dominican Republic RNC and Cedula
+* Support zeep as preferred SOAP library (suds and pysimplesoap are tried
as fallback)
-* rename stdnum.iso9362 to stdnum.bic (iso9362 is deprecated but still
+* Rename stdnum.iso9362 to stdnum.bic (iso9362 is deprecated but still
available for compatibility)
-* add tests for web services (not normally run to avoid unnecessary load)
-* fixes and improvement to the sample online validation service
+* Add tests for web services (not normally run to avoid unnecessary load)
+* Fixes and improvement to the sample online validation service
Development of the NCF format validation and DGII web service validation
was funded by iterativo | http://iterativo.do
@@ -73,7 +104,8 @@ was funded by iterativo | http://iterativo.do
changes from 1.6 to 1.7
-----------------------
-* add modules for the following number formats:
+* Add modules for the following number formats:
+
- BN (Canadian Business Number)
- SIN (Canadian Social Insurance Number)
- IdNr (Steuerliche Identifikationsnummer, German personal tax number)
@@ -83,19 +115,21 @@ changes from 1.6 to 1.7
- Veronumero (Finnish individual tax number)
(thanks Mohammed Salman of Holvi)
- UPN (English Unique Pupil Number)
-* fix a bug in the Czech DIČ check digit calculation
-* fix conversion of 9 digit ISBN to ISBN13
-* fix a bug in the Damm is_valid() function
-* more validation of 13-digit ISBN values
-* more validation of ISMN values
-* various code and test improvements (100% branch coverage now)
-* documentation improvements
+
+* Fix a bug in the Czech DIČ check digit calculation
+* Fix conversion of 9 digit ISBN to ISBN13
+* Fix a bug in the Damm is_valid() function
+* More validation of 13-digit ISBN values
+* More validation of ISMN values
+* Various code and test improvements (100% branch coverage now)
+* Documentation improvements
changes from 1.5 to 1.6
-----------------------
-* add modules for the following number formats:
+* Add modules for the following number formats:
+
- CBU (Clave Bancaria Uniforme, Argentine bank account number)
(thanks Luciano Rossi)
- EIC (European Energy Identification Code)
@@ -103,16 +137,18 @@ changes from 1.5 to 1.6
- LEI (Legal Entity Identifier)
- n° TVA (taxe sur la valeur ajoutée, Monacan VAT number)
- PIB (Poreski Identifikacioni Broj, Serbian tax identification number)
-* add online check example that finds valid formats for a given number
-* fix support for Ñ in Spanish Referencia Catastral
-* updates to U.S. Employer Identification Number (thanks Greg Kuwaye)
-* various minor improvements
+
+* Add online check example that finds valid formats for a given number
+* Fix support for Ñ in Spanish Referencia Catastral
+* Updates to U.S. Employer Identification Number (thanks Greg Kuwaye)
+* Various minor improvements
changes from 1.4 to 1.5
-----------------------
-* add modules for the following number formats:
+* Add modules for the following number formats:
+
- ABN (Australian Business Number)
- ACN (Australian Company Number)
- TFN (Australian Tax File Number)
@@ -120,15 +156,17 @@ changes from 1.4 to 1.5
- CUPS (Código Unificado de Punto de Suministro, Supply Point Unified Code)
- Spanish IBAN (International Bank Account Number)
- Referencia Catastral (Spanish real estate property id)
-* the IBAN module now support validating the country-specific part
-* the Belgian VAT number is now also referenced as businessid
-* add a Tox configuration file
+
+* The IBAN module now support validating the country-specific part
+* The Belgian VAT number is now also referenced as businessid
+* Add a Tox configuration file
changes from 1.3 to 1.4
-----------------------
-* add modules for the following number formats:
+* Add modules for the following number formats:
+
- NIF (Numéro d'Immatriculation Fiscale, French tax identification number)
provided by Dimitri Papadopoulos
- NIR (French personal identification number) provided by Dimitri
@@ -137,26 +175,28 @@ changes from 1.3 to 1.4
Yoann Aubineau
- NHS (United Kingdom National Health Service patient identifier)
- T.C. Kimlik No. (Turkish personal identification number)
-* add an implementation of the Damm algorithm
-* ensure data files are properly closed
-* documentation improvements
-* extend test suite
-* a number of minor bug fixes and improvements
+
+* Add an implementation of the Damm algorithm
+* Ensure data files are properly closed
+* Documentation improvements
+* Extend test suite
+* A number of minor bug fixes and improvements
changes from 1.2 to 1.3
-----------------------
-* fix ISO 6346 check digit calculation (thanks Ronald Paloschi)
-* fix problem with check_vies_approx() (thanks Lionel Elie Mamane)
-* fix problem with SOAP client when using suds
-* include documentation that was previously on the Trac wiki
+* Fix ISO 6346 check digit calculation (thanks Ronald Paloschi)
+* Fix problem with check_vies_approx() (thanks Lionel Elie Mamane)
+* Fix problem with SOAP client when using suds
+* Include documentation that was previously on the Trac wiki
changes from 1.1 to 1.2
-----------------------
-* add modules for the following number formats:
+* Add modules for the following number formats:
+
- Austrian Company Register Numbers
- CNPJ (Cadastro Nacional da Pessoa Jurídica, Brazillian company identifier)
- UID (Unternehmens-Identifikationsnummer, Swiss business identifier)
@@ -173,22 +213,26 @@ changes from 1.1 to 1.2
- PESEL (Polish national identification number)
- REGON (Rejestr Gospodarki Narodowej, Polish register of economic units)
- ИНН (Идентификационный номер налогоплательщика, Russian tax identifier)
-* add an alternate VIES check (check_vies_approx()) that includes a proof
+
+* Add an alternate VIES check (check_vies_approx()) that includes a proof
(certificate) that the check was performed
-* fall back to pysimplesoap if suds is unavailable
-* test and code quality improvements
+* Fall back to pysimplesoap if suds is unavailable
+* Test and code quality improvements
changes from 1.0 to 1.1
-----------------------
-* add number formats based on the implementation in the vatnumber module:
+* Add number formats based on the implementation in the vatnumber module:
+
- NIPT (Numri i Identifikimit për Personin e Tatueshëm, Albanian VAT number)
- CUIT (Código Único de Identificación Tributaria, Argentinian tax number)
- RUT (Rol Único Tributario, Chilean national tax number)
- NIT (Número De Identificación Tributaria, Colombian identity code)
- COE (Codice operatore economico, San Marino national tax number)
-* add modules for the following number formats:
+
+* Add modules for the following number formats:
+
- Cedula (Dominican Republic national identification number)
- RNC (Registro Nacional del Contribuyente, Dominican Republic tax number)
- Kennitala (Icelandic personal and organisation identity code, provided by
@@ -201,15 +245,17 @@ changes from 1.0 to 1.1
Tuomas Toivonen)
- Orgnr (Organisationsnummer, Swedish company number, provided by Tomas
Thor Jonsson)
-* add Croatia to list of EU VAT numbers
-* update getcnloc script
-* various small fixes and additional tests for existing modules
+
+* Add Croatia to list of EU VAT numbers
+* Update getcnloc script
+* Various small fixes and additional tests for existing modules
changes from 0.9 to 1.0
-----------------------
-* add modules for the following number formats:
+* Add modules for the following number formats:
+
- Swiss social security number ("Sozialversicherungsnummer")
- RIC No. (Chinese Resident Identity Card Number)
- CI (Cédula de identidad, Ecuadorian personal identity code)
@@ -218,16 +264,18 @@ changes from 0.9 to 1.0
- ISO 6346 (International standard for container identification)
- Codice Fiscale (Italian tax code for individuals)
- RTN (Routing transport number)
+
* Add support for 2013 extension of Irish PPS Numbers
-* update getisbn script
-* update getmybp URLs for Malaysian code lists
-* various other minor improvements
+* Update getisbn script
+* Update getmybp URLs for Malaysian code lists
+* Various other minor improvements
changes from 0.8.1 to 0.9
-------------------------
-* add modules for the following number formats:
+* Add modules for the following number formats:
+
- Brin number (Dutch number for schools)
- Postcode (Dutch postal code)
- ATIN (U.S. Adoption Taxpayer Identification Number)
@@ -235,37 +283,41 @@ changes from 0.8.1 to 0.9
- ITIN (U.S. Individual Taxpayer Identification Number)
- PTIN (U.S. Preparer Tax Identification Number)
- TIN (U.S. Taxpayer Identification Number)
-* try to replace Unicode characters with similar-looking ASCII characters
-* update getimsi script (thanks eneq123)
-* update getiban script
-* add proxy support to the stdnum.eu.vat.check_vies() function (thanks
+
+* Try to replace Unicode characters with similar-looking ASCII characters
+* Update getimsi script (thanks eneq123)
+* Update getiban script
+* Add proxy support to the stdnum.eu.vat.check_vies() function (thanks
Cédric Krier)
-* support newer United Kingdom VAT numbers
+* Support newer United Kingdom VAT numbers
changes from 0.8 to 0.8.1
-------------------------
-* include some files that were missing from the source tarball
+* Include some files that were missing from the source tarball
changes from 0.7 to 0.8
-----------------------
-* add modules for the following number formats:
+* Add modules for the following number formats:
+
- NRIC No. (Malaysian National Registration Identity Card Number)
-* all modules now provide a validate() function that throws an exception
+
+* All modules now provide a validate() function that throws an exception
that contains more information on the failure reason
-* documentation improvements
-* remove add_check_digit parameter from GRid's format() function
-* improvements to the tests
-* re-add Python3 support (now tested with Python 2.7, 3.2 and 3.3)
+* Documentation improvements
+* Remove add_check_digit parameter from GRid's format() function
+* Improvements to the tests
+* Re-add Python3 support (now tested with Python 2.7, 3.2 and 3.3)
changes from 0.6 to 0.7
-----------------------
-* add modules for the following number formats:
+* Add modules for the following number formats:
+
- Onderwijsnummer (Dutch school number)
- BTW-nummer (Omzetbelastingnummer, the Dutch VAT number)
- HETU (Finnish personal identity code) as provided by Jussi Judin (#5)
@@ -307,49 +359,54 @@ changes from 0.6 to 0.7
- OIB (Osobni identifikacijski broj, Croatian identification number)
- PPS No (Personal Public Service Number, Irish personal number)
- CPR (personnummer, the Danish citizen number)
-* additional tests for robustness and use introspection to test all modules
-* some code refactoring with the introduction of an internal utility module
-* improvements to the docstring documentation
-* generate API documentation using Sphinx
+
+* Additional tests for robustness and use introspection to test all modules
+* Some code refactoring with the introduction of an internal utility module
+* Improvements to the docstring documentation
+* Generate API documentation using Sphinx
changes from 0.5 to 0.6
-----------------------
-* fix a problem with handling an ISBN13 with a valid check digit but with an
+* Fix a problem with handling an ISBN13 with a valid check digit but with an
unknown bookland prefix
-* add an IMSI (International Mobile Subscriber Identity) module
-* implement a conversion function from ISBN13 to ISBN10
-* implement an ismn.ismn_type() function
-* implement an imei.split() function that splits the number into a TAC, serial
+* Add an IMSI (International Mobile Subscriber Identity) module
+* Implement a conversion function from ISBN13 to ISBN10
+* Implement an ismn.ismn_type() function
+* Implement an imei.split() function that splits the number into a TAC, serial
number and checksum or software version
-* source code layout changes to better follow PEP8
+* Source code layout changes to better follow PEP8
changes from 0.4 to 0.5
-----------------------
-* add modules for the following number formats:
+* Add modules for the following number formats:
+
- EAN (International Article Number)
-* refactoring to use the EAN check digit code for ISBN and ISMN checks
-* implement a conversion function from ISSN to EAN
-* support Python3 with the same codebase
+
+* Refactoring to use the EAN check digit code for ISBN and ISMN checks
+* Implement a conversion function from ISSN to EAN
+* Support Python3 with the same codebase
* Python 2.5 compatibility improvement
changes from 0.3 to 0.4
-----------------------
-* add modules for the following number formats:
+* Add modules for the following number formats:
+
- CPF (Cadastro de Pessoas Físicas, the Brazillian national identification
number)
- IBAN (International Bank Account Number)
- ISIL (International Standard Identifier for Libraries and Related
Organizations)
- SSN (U.S. Social Security Number)
-* implement an internal module to store and handle hierarchically organised
+
+* Implement an internal module to store and handle hierarchically organised
data structures efficiently
-* regional-specific numbers are now in ISO 3166 packages (the BSN module
+* Regional-specific numbers are now in ISO 3166 packages (the BSN module
is now in stdnum.nl.bsn)
* ISBN module functions now have a convert flag to convert to ISBN-13 on
the fly
@@ -358,23 +415,27 @@ changes from 0.3 to 0.4
changes from 0.2 to 0.3
-----------------------
-* add modules for the following number formats:
+* Add modules for the following number formats:
+
- ISMN (International Standard Music Number)
- ISAN (International Standard Audiovisual Number)
- IMEI (International Mobile Equipment Identity)
- MEID (Mobile Equipment Identifier)
- GRid (Global Release Identifier)
-* add modules for handling the following check digit algorithms:
+
+* Add modules for handling the following check digit algorithms:
+
- the Verhoeff algorithm
- the Luhn and Luhn mod N algorithms
- some algorithms described in ISO/IEC 7064: Mod 11, 2, Mod 37, 2,
Mod 97, 10, Mod 11, 10 and Mod 37, 36
-* added more unit tests
+
+* Added more unit tests
changes from 0.1 to 0.2
-----------------------
-* rename validate() function to is_valid() for all modules
-* handle wrong types passed to is_valid() more gracefully
-* add more tests and fix some minor bugs
+* Rename validate() function to is_valid() for all modules
+* Handle wrong types passed to is_valid() more gracefully
+* Add more tests and fix some minor bugs
diff --git a/README b/README
index 60ef4de..81d62c1 100644
--- a/README
+++ b/README
@@ -18,10 +18,12 @@ Currently this package supports the following formats:
* NIPT (Numri i Identifikimit për Personin e Tatueshëm, Albanian VAT number)
* CBU (Clave Bancaria Uniforme, Argentine bank account number)
* CUIT (Código Único de Identificación Tributaria, Argentinian tax number)
+ * DNI (Documento Nacional de Identidad, Argentinian national identity nr.)
* Austrian Company Register Numbers
* Postleitzahl (Austrian postal code)
* Abgabenkontonummer (Austrian tax identification number)
* UID (Umsatzsteuer-Identifikationsnummer, Austrian VAT number)
+ * VNR, SVNR, VSNR (Versicherungsnummer, Austrian social security number)
* ABN (Australian Business Number)
* ACN (Australian Company Number)
* TFN (Australian Tax File Number)
@@ -43,6 +45,7 @@ Currently this package supports the following formats:
* RUT (Rol Único Tributario, Chilean national tax number)
* RIC No. (Chinese Resident Identity Card Number)
* NIT (Número De Identificación Tributaria, Colombian identity code)
+ * NI (Número de identidad, Cuban identity card numbers)
* CUSIP number (financial security identification number)
* Αριθμός Εγγραφής Φ.Π.Α. (Cypriot VAT number)
* DIČ (Daňové identifikační číslo, Czech VAT number)
@@ -91,6 +94,7 @@ Currently this package supports the following formats:
* SEDOL number (Stock Exchange Daily Official List number)
* UPN (English Unique Pupil Number)
* VAT (United Kingdom (and Isle of Man) VAT registration number)
+ * AMKA (Αριθμός Μητρώου Κοινωνικής Ασφάλισης, Greek social security number)
* FPA, ΦΠΑ, ΑΦΜ (Αριθμός Φορολογικού Μητρώου, the Greek VAT number)
* GRid (Global Release Identifier)
* OIB (Osobni identifikacijski broj, Croatian identification number)
@@ -116,14 +120,18 @@ Currently this package supports the following formats:
* Codice Fiscale (Italian tax code for individuals)
* Partita IVA (Italian VAT number)
* LEI (Legal Entity Identifier)
+ * Asmens kodas (Lithuanian, personal numbers)
* PVM (Pridėtinės vertės mokestis mokėtojo kodas, Lithuanian VAT number)
* TVA (taxe sur la valeur ajoutée, Luxembourgian VAT number)
* PVN (Pievienotās vērtības nodokļa, Latvian VAT number)
+ * MAC address (Media Access Control address)
* n° TVA (taxe sur la valeur ajoutée, Monacan VAT number)
+ * IDNO (Moldavian company identification number)
* Montenegro IBAN (International Bank Account Number)
* MEID (Mobile Equipment Identifier)
* VAT (Maltese VAT number)
* ID number (Mauritian national identifier)
+ * CURP (Clave Única de Registro de Población, Mexican personal ID)
* RFC (Registro Federal de Contribuyentes, Mexican tax number)
* NRIC No. (Malaysian National Registration Identity Card Number)
* BRIN number (the Dutch school identification number)
@@ -131,10 +139,12 @@ Currently this package supports the following formats:
* Btw-nummer (Omzetbelastingnummer, the Dutch VAT number)
* Onderwijsnummer (the Dutch student identification number)
* Postcode (the Dutch postal code)
+ * Fødselsnummer (Norwegian birth number, the national identity number)
* Norwegian IBAN (International Bank Account Number)
* Konto nr. (Norwegian bank account number)
* MVA (Merverdiavgift, Norwegian VAT number)
* Orgnr (Organisasjonsnummer, Norwegian organisation number)
+ * New Zealand bank account number
* NIP (Numer Identyfikacji Podatkowej, Polish VAT number)
* PESEL (Polish national identification number)
* REGON (Rejestr Gospodarki Narodowej, Polish register of economic units)
@@ -144,6 +154,7 @@ Currently this package supports the following formats:
* PIB (Poreski Identifikacioni Broj, Serbian tax identification number)
* ИНН (Идентификационный номер налогоплательщика, Russian tax identifier)
* Orgnr (Organisationsnummer, Swedish company number)
+ * Personnummer (Swedish personal identity number)
* VAT (Moms, Mervärdesskatt, Swedish VAT number)
* ID za DDV (Davčna številka, Slovenian VAT number)
* IČ DPH (IČ pre daň z pridanej hodnoty, Slovak VAT number)
@@ -212,7 +223,7 @@ also work with older versions of Python.
Copyright
---------
-Copyright (C) 2010-2018 Arthur de Jong and others
+Copyright (C) 2010-2019 Arthur de Jong and others
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
diff --git a/docs/changes.rst b/docs/changes.rst
new file mode 100644
index 0000000..63471a2
--- /dev/null
+++ b/docs/changes.rst
@@ -0,0 +1,4 @@
+Changes in python-stdnum
+========================
+
+.. include:: ../NEWS
diff --git a/docs/conf.py b/docs/conf.py
index e3976fe..6c8e4a2 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -46,7 +46,7 @@ master_doc = 'index'
# General information about the project.
project = u'python-stdnum'
-copyright = u'2013-2018, Arthur de Jong'
+copyright = u'2013-2019, Arthur de Jong'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
diff --git a/docs/index.rst b/docs/index.rst
index d5189be..085ea5d 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -103,10 +103,12 @@ Available formats
al.nipt
ar.cbu
ar.cuit
+ ar.dni
at.businessid
at.postleitzahl
at.tin
at.uid
+ at.vnr
au.abn
au.acn
au.tfn
@@ -128,6 +130,7 @@ Available formats
cl.rut
cn.ric
co.nit
+ cu.ni
cusip
cy.vat
cz.dic
@@ -176,6 +179,7 @@ Available formats
gb.sedol
gb.upn
gb.vat
+ gr.amka
gr.vat
grid
hr.oib
@@ -201,14 +205,18 @@ Available formats
it.codicefiscale
it.iva
lei
+ lt.asmens
lt.pvm
lu.tva
lv.pvn
+ mac
mc.tva
+ md.idno
me.iban
meid
mt.vat
mu.nid
+ mx.curp
mx.rfc
my.nric
nl.brin
@@ -216,10 +224,12 @@ Available formats
nl.btw
nl.onderwijsnummer
nl.postcode
+ no.fodselsnummer
no.iban
no.kontonr
no.mva
no.orgnr
+ nz.bankaccount
pl.nip
pl.pesel
pl.regon
@@ -229,6 +239,7 @@ Available formats
rs.pib
ru.inn
se.orgnr
+ se.personnummer
se.vat
si.ddv
sk.dph
@@ -242,3 +253,12 @@ Available formats
us.rtn
us.ssn
us.tin
+
+
+Changes in python-stdnum
+------------------------
+
+.. toctree::
+ :maxdepth: 2
+
+ changes
diff --git a/docs/stdnum.ar.dni.rst b/docs/stdnum.ar.dni.rst
new file mode 100644
index 0000000..9addb6c
--- /dev/null
+++ b/docs/stdnum.ar.dni.rst
@@ -0,0 +1,5 @@
+stdnum.ar.dni
+=============
+
+.. automodule:: stdnum.ar.dni
+ :members: \ No newline at end of file
diff --git a/docs/stdnum.at.vnr.rst b/docs/stdnum.at.vnr.rst
new file mode 100644
index 0000000..1759688
--- /dev/null
+++ b/docs/stdnum.at.vnr.rst
@@ -0,0 +1,5 @@
+stdnum.at.vnr
+=============
+
+.. automodule:: stdnum.at.vnr
+ :members: \ No newline at end of file
diff --git a/docs/stdnum.cu.ni.rst b/docs/stdnum.cu.ni.rst
new file mode 100644
index 0000000..3430fd3
--- /dev/null
+++ b/docs/stdnum.cu.ni.rst
@@ -0,0 +1,5 @@
+stdnum.cu.ni
+============
+
+.. automodule:: stdnum.cu.ni
+ :members: \ No newline at end of file
diff --git a/docs/stdnum.gr.amka.rst b/docs/stdnum.gr.amka.rst
new file mode 100644
index 0000000..d3ecc08
--- /dev/null
+++ b/docs/stdnum.gr.amka.rst
@@ -0,0 +1,5 @@
+stdnum.gr.amka
+==============
+
+.. automodule:: stdnum.gr.amka
+ :members: \ No newline at end of file
diff --git a/docs/stdnum.lt.asmens.rst b/docs/stdnum.lt.asmens.rst
new file mode 100644
index 0000000..f73d390
--- /dev/null
+++ b/docs/stdnum.lt.asmens.rst
@@ -0,0 +1,5 @@
+stdnum.lt.asmens
+================
+
+.. automodule:: stdnum.lt.asmens
+ :members: \ No newline at end of file
diff --git a/docs/stdnum.mac.rst b/docs/stdnum.mac.rst
new file mode 100644
index 0000000..f5fe7ce
--- /dev/null
+++ b/docs/stdnum.mac.rst
@@ -0,0 +1,5 @@
+stdnum.mac
+==========
+
+.. automodule:: stdnum.mac
+ :members: \ No newline at end of file
diff --git a/docs/stdnum.md.idno.rst b/docs/stdnum.md.idno.rst
new file mode 100644
index 0000000..d86b721
--- /dev/null
+++ b/docs/stdnum.md.idno.rst
@@ -0,0 +1,5 @@
+stdnum.md.idno
+==============
+
+.. automodule:: stdnum.md.idno
+ :members: \ No newline at end of file
diff --git a/docs/stdnum.mx.curp.rst b/docs/stdnum.mx.curp.rst
new file mode 100644
index 0000000..62346c4
--- /dev/null
+++ b/docs/stdnum.mx.curp.rst
@@ -0,0 +1,5 @@
+stdnum.mx.curp
+==============
+
+.. automodule:: stdnum.mx.curp
+ :members: \ No newline at end of file
diff --git a/docs/stdnum.no.fodselsnummer.rst b/docs/stdnum.no.fodselsnummer.rst
new file mode 100644
index 0000000..0279b3d
--- /dev/null
+++ b/docs/stdnum.no.fodselsnummer.rst
@@ -0,0 +1,5 @@
+stdnum.no.fodselsnummer
+=======================
+
+.. automodule:: stdnum.no.fodselsnummer
+ :members: \ No newline at end of file
diff --git a/docs/stdnum.nz.bankaccount.rst b/docs/stdnum.nz.bankaccount.rst
new file mode 100644
index 0000000..9a2aee4
--- /dev/null
+++ b/docs/stdnum.nz.bankaccount.rst
@@ -0,0 +1,5 @@
+stdnum.nz.bankaccount
+=====================
+
+.. automodule:: stdnum.nz.bankaccount
+ :members: \ No newline at end of file
diff --git a/docs/stdnum.se.personnummer.rst b/docs/stdnum.se.personnummer.rst
new file mode 100644
index 0000000..6db1a36
--- /dev/null
+++ b/docs/stdnum.se.personnummer.rst
@@ -0,0 +1,5 @@
+stdnum.se.personnummer
+======================
+
+.. automodule:: stdnum.se.personnummer
+ :members: \ No newline at end of file
diff --git a/stdnum/__init__.py b/stdnum/__init__.py
index b32d9e3..914b6e4 100644
--- a/stdnum/__init__.py
+++ b/stdnum/__init__.py
@@ -1,7 +1,7 @@
# __init__.py - main module
# coding: utf-8
#
-# Copyright (C) 2010-2018 Arthur de Jong
+# Copyright (C) 2010-2019 Arthur de Jong
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -43,4 +43,4 @@ from stdnum.util import get_cc_module
__all__ = ('get_cc_module', '__version__')
# the version number of the library
-__version__ = '1.10'
+__version__ = '1.11'