8000 Get files ready for 1.5 release · unho/python-stdnum@62ebbce · GitHub
[go: up one dir, main page]

Skip to content

Commit 62ebbce

Browse files
committed
Get files ready for 1.5 release
1 parent c9beb00 commit 62ebbce

12 files changed

+269
-23
lines changed

ChangeLog

Lines changed: 194 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,179 @@
1+
2016-11-13 Arthur de Jong <arthur@arthurdejong.org>
2+
3+
* [c9beb00] stdnum/cn/loc.dat, stdnum/iban.dat, stdnum/imsi.dat,
4+
stdnum/isbn.dat, stdnum/isil.dat, tests/test_iban.doctest:
5+
Update database files
6+
7+
This removes the Costa Rica IBAN test because the format of the
8+
IBAN seems to have been changed. The old length still seems to
9+
be in use so a more permanent solution is probably required.
10+
11+
2016-11-13 Arthur de Jong <arthur@arthurdejong.org>
12+
13+
* [ac560a7] getisbn.py: Update getisbn to Python3
14+
15+
There were some SSL-related issues with the urllib module. This
16+
was the easiest solution.
17+
18+
2016-11-13 Arthur de Jong <arthur@arthurdejong.org>
19+
20+
* [458c310] getiban.py: Update gettin IBAN registry
21+
22+
The format of the registry file has changed. Before it was a
23+
straightforward CSV file with countries in rows but countries
24+
are now in columns.
25+
26+
2016-11-09 Sergi Almacellas Abellana <sergi@koolpi.com>
27+
28+
* [45faa7c] .gitignore, tox.ini: Add tox.ini file
29+
30+
2016-11-08 Sergi Almacellas Abellana <sergi@koolpi.com>
31+
32+
* [a9e5405] stdnum/eu/at_02.py: Implement calc_check_digits in
33+
SEPA Identifier of the Creditor (AT-02)
34+
35+
2016-10-14 Arthur de Jong <arthur@arthurdejong.org>
36+
37+
* [8ea76ba] stdnum/au/tfn.py, tests/test_au_tfn.doctest: Add
38+
Australian Tax File Number
39+
40+
Based on the implementation provided by Vincent Bastos
41+
<vincent@lavalab.com.au>
42+
43+
See https://github.com/arthurdejong/python-stdnum/pull/40
44+
45+
2016-10-14 Arthur de Jong <arthur@arthurdejong.org>
46+
47+
* [8028c3a] stdnum/au/acn.py, tests/test_au_acn.doctest: Add
48+
Australian Company Number
49+
50+
Based on the implementation provided by Vincent Bastos
51+
<vincent@lavalab.com.au>
52+
53+
See https://github.com/arthurdejong/python-stdnum/pull/40
54+
55+
2016-10-14 Arthur de Jong <arthur@arthurdejong.org>
56+
57+
* [70b94ee] stdnum/au/__init__.py, stdnum/au/abn.py,
58+
tests/test_au_abn.doctest: Add Australian Business Number
59+
60+
Based on the implementation provided by Vincent Bastos
61+
<vincent@lavalab.com.au>
62+
63+
See https://github.com/arthurdejong/python-stdnum/pull/40
64+
65+
2016-10-14 Arthur de Jong <arthur@arthurdejong.org>
66+
67+
* [d7cff5d] stdnum/be/__init__.py, stdnum/be/vat.py: Provide
68+
businessid as an alias
69+
70+
The Belgian company number or enterprise number
71+
(ondernemingsnummer) is the new name for what was previously
72+
the VAT number.
73+
74+
2016-09-10 Arthur de Jong <arthur@arthurdejong.org>
75+
76+
* [352aa8a] stdnum/es/referenciacatastral.py: Add reference to
77+
Referencia Catastral implementation
78+
79+
2016-09-03 Arthur de Jong <arthur@arthurdejong.org>
80+
81+
* [49db553] tests/test_es_referenciacatastral.doctest: Add more
82+
tests for Referencia Catastral
83+
84+
This adds a number of extra tests for the Spanish Referencia
85+
Catastral (stdnum.es.referenciacatastral) module, mostly based
86+
on numbers found online.
87+
88+
This commit includes some of the documentation on the structure
89+
of Referencia Catastral that was in the original pull request.
90+
91+
See https://github.com/arthurdejong/python-stdnum/pull/38
92+
93+
2016-08-31 David García Garzón <david.garcia@upf.edu>
94+
95+
* [2c557a0] stdnum/es/referenciacatastral.py: Add Spansih Referencia
96+
Catastral
97+
98+
The control digit check algorithm is based on Javascript
99+
implementation by Vicente Sancho that can be found at
100+
http://trellat.es/validar-la-referencia-catastral-en-javascript/
101+
102+
See https://github.com/arthurdejong/python-stdnum/pull/38
103+
104+
2016-09-10 Arthur de Jong <arthur@arthurdejong.org>
105+
106+
* [b128c8d] tests/test_iban.doctest: Test a few Spanish IBANs
107+
found online
108+
109+
2016-09-10 Arthur de Jong <arthur@arthurdejong.org>
110+
111+
* [878e036] stdnum/numdb.py: Avoid leaving open file descriptor
112+
in test
113+
114+
2016-09-08 Arthur de Jong <arthur@arthurdejong.org>
115+
116+
* [be24790] stdnum/es/iban.py, tests/test_iban.doctest: Add Spanish
117+
IBAN number module
118+
119+
This validates the country-specific part of the IBAN.
120+
121+
2016-09-08 Arthur de Jong <arthur@arthurdejong.org>
122+
123+
* [2510932] stdnum/iban.py: Validate country-specific part of IBAN
124+
125+
This adds the possible of validating the country-specific part
126+
of the IBAN. If the country has an IBAN module, checking is also
127+
delegated to that module.
128+
129+
2016-09-06 Arthur de Jong <arthur@arthurdejong.org>
130+
131+
* [d8cca82] stdnum/eu/vat.py, stdnum/util.py: Introduce
132+
get_cc_module() utility function
133+
134+
This changes the get_vat_module() function to a more generic
135+
get_cc_module() function so that it can also be used for other
136+
things like IBAN checking.
137+
138+
2016-09-06 Arthur de Jong <arthur@arthurdejong.org>
139+
140+
* [1622873] stdnum/es/ccc.py: Add to_iban() function to Spanish CCC
141+
142+
2016-09-08 Arthur de Jong <arthur@arthurdejong.org>
143+
144+
* [7d969be] stdnum/iban.py: Implement calc_check_digits() in IBAN
145+
146+
Introduce a function to calculate the two check digits of an
147+
IBAN. Since the check digits are the third and fourth characters
148+
in the number, placeholders need to be provided when calling
149+
this function.
150+
151+
2016-08-31 David García Garzón <voki@canvoki.net>
152+
153+
* [294f872] stdnum/es/ccc.py: Add Spanish Código Cuenta Corriente
154+
(CCC)
155+
156+
2016-08-28 David García Garzón <david.garcia@upf.edu>
157+
158+
* [466cec8] stdnum/es/cups.py, tests/test_es_cups.doctest: Add
159+
Spanish CUPS code
160+
161+
2016-08-28 Arthur de Jong <arthur@arthurdejong.org>
162+
163+
* [d95382f] stdnum/exceptions.py: Properly print error message
164+
of exceptions
165+
166+
This ensures that the message passed to the constructor is shown
167+
in the traceback while falling back to the class default.
168+
169+
2016-07-26 Arthur de Jong <arthur@arthurdejong.org>
170+
171+
* [01a7f34] ChangeLog, NEWS, README, docs/index.rst,
172+
docs/stdnum.damm.rst, docs/stdnum.fr.nif.rst,
173+
docs/stdnum.fr.nir.rst, docs/stdnum.fr.siret.rst,
174+
docs/stdnum.gb.nhs.rst, docs/stdnum.tr.tckimlik.rst,
175+
stdnum/__init__.py: Get files ready for 1.4 release
176+
1177
2016-07-26 Arthur de Jong <arthur@arthurdejong.org>
2178

3179
* [3e4e9e2] getmybp.py, stdnum/cn/loc.dat, stdnum/iban.dat,
@@ -307,8 +483,8 @@ Jong <arthur@arthurdejong.org>
307483

308484
2015-10-10 Arthur de Jong <arthur@arthurdejong.org>
309485

310-
* [ebb5c07] MANIFEST.in, numdb-test.dat, stdnum/numdb.py,
311-
tests/numdb-test.dat: Move numdb test file
486+
* [ebb5c07] MANIFEST.in, stdnum/numdb.py, tests/numdb-test.dat:
487+
Move numdb test file
312488

313489
This places the test database file in the tests directory.
314490

@@ -881,8 +1057,8 @@ Jong <arthur@arthurdejong.org>
8811057
http://www.citizensinformation.ie/en/social_welfare/irish_social_welfare_system/personal_public_service_number.html
8821058
2014-02-06 Arthur de Jong <arthur@arthurdejong.org>
8831059

884-
* [71d9837] stdnum/at_02.py, stdnum/eu/at_02.py: Rename AT-02
885-
module to stdnum.eu.at_02
1060+
* [71d9837] stdnum/eu/at_02.py: Rename AT-02 module to
1061+
stdnum.eu.at_02
8861062

8871063
2014-02-05 Sergi Almacellas Abellana <sergi@koolpi.com>
8881064

@@ -1583,8 +1759,7 @@ Jong <arthur@arthurdejong.org>
15831759

15841760
2012-02-20 Arthur de Jong <arthur@arthurdejong.org>
15851761

1586-
* [680b7d1] numdb-test.dat, stdnum/numdb.py, test.dat: rename
1587-
numdb test file
1762+
* [680b7d1] numdb-test.dat, stdnum/numdb.py: rename numdb test file
15881763

15891764
2012-02-20 Arthur de Jong <arthur@arthurdejong.org>
15901765

@@ -2133,13 +2308,13 @@ Jong <arthur@arthurdejong.org>
21332308

21342309
2011-02-05 Arthur de Jong <arthur@arthurdejong.org>
21352310

2136-
* [62aa496] tests/test_br_cpf.doctest, tests/test_iban.doctest,
2137-
tests/test_imei.doctest, tests/test_isan.doctest,
2138-
tests/test_isbn.doctest, tests/test_ismn.doctest,
2139-
tests/test_issn.doctest, tests/test_luhn.doctest,
2140-
tests/test_meid.doctest, tests/test_nl_bsn.doctest,
2141-
tests/test_robustness.doctest, tests/test_verhoeff.doctest:
2142-
move all robustness tests into one test file
2311+
* [62aa496] tests/test_iban.doctest, tests/test_imei.doctest,
2312+
tests/test_isan.doctest, tests/test_isbn.doctest,
2313+
tests/test_ismn.doctest, tests/test_issn.doctest,
2314+
tests/test_luhn.doctest, tests/test_meid.doctest,
2315+
tests/test_nl_bsn.doctest, tests/test_robustness.doctest,
2316+
tests/test_verhoeff.doctest: move all robustness tests into one
2317+
test file
21432318

21442319
2011-02-05 Arthur de Jong <arthur@arthurdejong.org>
21452320

@@ -2207,9 +2382,8 @@ Jong <arthur@arthurdejong.org>
22072382

22082383
2011-01-15 Arthur de Jong <arthur@arthurdejong.org>
22092384

2210-
* [8d3a92c] stdnum/bsn.py, stdnum/nl/__init__.py, stdnum/nl/bsn.py,
2211-
tests/test_bsn.doctest, tests/test_nl_bsn.doctest: move bsn
2212-
module inside nl package
2385+
* [8d3a92c] stdnum/nl/__init__.py, stdnum/nl/bsn.py,
2386+
tests/test_nl_bsn.doctest: move bsn module inside nl package
22132387

22142388
2010-11-26 Arthur de Jong <arthur@arthurdejong.org>
22152389

@@ -2219,10 +2393,10 @@ Jong <arthur@arthurdejong.org>
22192393
2010-11-24 Arthur de Jong <arthur@arthurdejong.org>
22202394

22212395
* [124c16d] getisbn.py, stdnum/isbn.dat, stdnum/isbn.py,
2222-
stdnum/isbn/__init__.py, stdnum/isbn/ranges.py, stdnum/numdb.py,
2223-
test.dat, tests/test_isbn.doctest: implement a new numdb module
2224-
to hold information on hierarchically organised numbers and
2225-
switch the isbn module to use this format instead
2396+
stdnum/isbn/ranges.py, stdnum/numdb.py, test.dat,
2397+
tests/test_isbn.doctest: implement a new numdb module to hold
2398+
information on hierarchically organised numbers and switch the
2399+
isbn module to use this format instead
22262400

22272401
2010-09-11 Arthur de Jong <arthur@arthurdejong.org>
22282402

NEWS

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
changes from 1.4 to 1.5
2+
-----------------------
3+
4+
* add modules for the following number formats:
5+
- ABN (Australian Business Number)
6+
- ACN (Australian Company Number)
7+
- TFN (Australian Tax File Number)
8+
- CCC (Código Cuenta Corriente, Spanish Bank Account Code)
9+
- CUPS (Código Unificado de Punto de Suministro, Supply Point Unified Code)
10+
- Spanish IBAN (International Bank Account Number)
11+
- Referencia Catastral (Spanish real estate property id)
12+
* The IBAN module now support validating the country-specific part
13+
* The Belgian VAT number is now also referenced as businessid
14+
* add a Tox configuration file
15+
16+
117
changes from 1.3 to 1.4
218
-----------------------
319

README

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ Currently this package supports the following formats:
1313
* CUIT (Código Único de Identificación Tributaria, Argentinian tax number)
1414
* Austrian Company Register Numbers
1515
* UID (Umsatzsteuer-Identifikationsnummer, Austrian VAT number)
16-
* BTW, TVA, NWSt (Belgian VAT number)
16+
* ABN (Australian Business Number)
17+
* ACN (Australian Company Number)
18+
* TFN (Australian Tax File Number)
19+
* BTW, TVA, NWSt, ondernemingsnummer (Belgian enterprise number)
1720
* EGN (ЕГН, Единен граждански номер, Bulgarian personal identity codes)
1821
* PNF (ЛНЧ, Личен номер на чужденец, Bulgarian number of a foreigner)
1922
* VAT (Идентификационен номер по ДДС, Bulgarian VAT number)
@@ -40,10 +43,14 @@ Currently this package supports the following formats:
4043
* RUC (Registro Único de Contribuyentes, Ecuadorian company tax number)
4144
* Isikukood (Estonian Personcal ID number)
4245
* KMKR (Käibemaksukohuslase, Estonian VAT number)
46+
* CCC (Código Cuenta Corriente, Spanish Bank Account Code)
4347
* CIF (Certificado de Identificación Fiscal, Spanish company tax number)
48+
* CUPS (Código Unificado de Punto de Suministro, Supply Point Unified Code)
4449
* DNI (Documento nacional de identidad, Spanish personal identity codes)
50+
* Spanish IBAN (International Bank Account Number)
4551
* NIE (Número de Identificación de Extranjeros, Spanish foreigner number)
4652
* NIF (Número de Identificación Fiscal, Spanish VAT number)
53+
* Referencia Catastral (Spanish real estate property id)
4754
* SEPA Identifier of the Creditor (AT-02)
4855
* VAT (European Union VAT number)
4956
* ALV nro (Arvonlisäveronumero, Finnish VAT number)

docs/index.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ Available formats
9090
ar.cuit
9191
at.businessid
9292
at.uid
93+
au.abn
94+
au.acn
95+
au.tfn
9396
be.vat
9497
bg.egn
9598
bg.pnf
@@ -117,10 +120,14 @@ Available formats
117120
ec.ruc
118121
ee.ik
119122
ee.kmkr
123+
es.ccc
120124
es.cif
125+
es.cups
121126
es.dni
127+
es.iban
122128
es.nie
123129
es.nif
130+
es.referenciacatastral
124131
eu.at_02
125132
eu.vat
126133
fi.alv

docs/stdnum.au.abn.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
stdnum.au.abn
2+
=============
3+
4+
.. automodule:: stdnum.au.abn
5+
:members:

docs/stdnum.au.acn.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
stdnum.au.acn
2+
=============
3+
4+
.. automodule:: stdnum.au.acn
5+
:members:

docs/stdnum.au.tfn.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
stdnum.au.tfn
2+
=============
3+
4+
.. automodule:: stdnum.au.tfn
5+
:members:

docs/stdnum.es.ccc.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
stdnum.es.ccc
2+
=============
3+
4+
.. automodule:: stdnum.es.ccc
5+
:members:

docs/stdnum.es.cups.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
stdnum.es.cups
2+
==============
3+
4+
.. automodule:: stdnum.es.cups
5+
:members:

docs/stdnum.es.iban.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
stdnum.es.iban
2+
==============
3+
4+
.. automodule:: stdnum.es.iban
5+
:members:
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
stdnum.es.referenciacatastral
2+
=============================
3+
4+
.. automodule:: stdnum.es.referenciacatastral
5+
:members:

0 commit comments

Comments
 (0)
0