8000 Get files ready for 1.9 release · Wilo/python-stdnum@d9defc8 · GitHub
[go: up one dir, main page]

Skip to content

Commit d9defc8

Browse files
committed
Get files ready for 1.9 release
1 parent e200656 commit d9defc8

22 files changed

+375
-39
lines changed

ChangeLog

Lines changed: 254 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,257 @@
1+
2018-04-12 Arthur de Jong <arthur@arthurdejong.org>
2+
3+
* [e200656] stdnum/iban.py, tests/test_be_iban.doctest: Add an
4+
extra test for Belgian IBANs
5+
6+
A Belgian IBAN should not end with 00. This also fixes a docstring
7+
and comment in the IBAN module.
8+
9+
2018-04-10 Arthur de Jong <arthur@arthurdejong.org>
10+
11+
* [e6739be] stdnum/imsi.dat, stdnum/imsi.py, tests/test_imsi.doctest,
12+
update/imsi.py: Correctly split IMSI with multi-length MNC
13+
14+
Ensures that imsi.split() will correctly split the IMSI into
15+
an MCC, MNC and MSIN even if not all MNCs within a single MCC
16+
have the same length. This has the downside of not being able
17+
to guess the MNC length in some cases.
18+
19+
This also omits empty information from the data file and updates
20+
the data file from Wikipedia.
21+
22+
Closes https://github.com/arthurdejong/python-stdnum/issues/68
23+
24+
2018-04-09 Arthur de Jong <arthur@arthurdejong.org>
25+
26+
* [2541a22] online_check/check.js: Improve online check animation
27+
28+
This speeds up the animation, collapsing the list before
29+
performing the server request and disable the slide animation
30+
on history navigation.
31+
32+
2018-04-09 Arthur de Jong <arthur@arthurdejong.org>
33+
34+
* [147b84b] online_check/stdnum.wsgi: Ensure API requests are
35+
cached separately
36+
37+
This ensures that requests that browsers make using XMLHttpRequest
38+
(they set the X-Requested-With header) are cached separately
39+
from normal requests.
40+
41+
2018-04-09 Arthur de Jong <arthur@arthurdejong.org>
42+
43+
* [8204ac6] stdnum/do/ncf.py: Support new style of NCF numbers
44+
45+
This adds support for validating Dominican Republic invoice
46+
numbers that should be used since from 2018-05-01.
47+
48+
http://www.dgii.gov.do/contribuyentes/personasFisicas/inicioOperaciones/ComprobantesFiscales/Paginas/SecuenciaDeNCF.aspx
49+
50+
Closes https://github.com/arthurdejong/python-stdnum/issues/69
51+
52+
2018-03-25 Arthur de Jong <arthur@arthurdejong.org>
53+
54+
* [918d483] stdnum/figi.py, tests/test_figi.doctest: Add Financial
55+
Instrument Global Identifier
56+
57+
2018-03-23 Arthur de Jong <arthur@arthurdejong.org>
58+
59+
* [ceb3c62] stdnum/de/__init__.py,
60+
stdnum/de/handelsregisternummer.py,
61+
tests/test_de_handelsregisternummer.doctest: Add German company
62+
registry numbers
63+
64+
Based on the implementation provided by Markus Törnqvist and
65+
Lari Haataja of Holvi Payment Services.
66+
67+
2018-03-19 Arthur de Jong <arthur@arthurdejong.org>
68+
69+
* [fec1685] stdnum/at/tin.py: Also ignore other letters with
70+
possible umlaut
71+
72+
Fixes 98d11a3
73+
74+
Closes https://github.com/arthurdejong/python-stdnum/pull/67
75+
76+
2018-03-18 Arthur de Jong <arthur@arthurdejong.org>
77+
78+
* [98d11a3] stdnum/at/fa.dat, stdnum/at/tin.py,
79+
tests/test_at_tin.doctest: Add Austrian Abgabenkontonummer
80+
81+
Based on the implementation provided by Mohammed Salman of Holvi.
82+
83+
Closes https://github.com/arthurdejong/python-stdnum/pull/50
84+
85+
2018-03-17 Arthur de Jong <arthur@arthurdejong.org>
86+
87+
* [ab15e20] stdnum/at/__init__.py: Fix import order
88+
89+
Fixes ee263a5
90+
91+
2018-03-17 Arthur de Jong <arthur@arthurdejong.org>
92+
93+
* [ee263a5] setup.cfg, stdnum/at/__init__.py,
94+
stdnum/at/postleitzahl.dat, stdnum/at/postleitzahl.py,
95+
stdnum/nl/__init__.py, update/at_postleitzahl.py: Add Austrian
96+
postal code
97+
98+
This also fixes the name of the Dutch postal_code alias and
99+
tunes the tests.
100+
101+
2018-03-17 Arthur de Jong <arthur@arthurdejong.org>
102+
103+
* [8c29fbf] stdnum/me/__init__.py, stdnum/me/iban.py,
104+
tests/test_iban.doctest: Add support for Montenegro IBAN format
105+
106+
This adds further checks to the country-specific part of the
107+
IBAN for Montenegro IBANs.
108+
109+
2018-03-11 Arthur de Jong <arthur@arthurdejong.org>
110+
111+
* [647dfea] stdnum/de/stnr.py, tests/test_de_stnr.doctest: Add
112+
German Steuernummer
113+
114+
Based on the implementation provided by Mohammed Salman of Holvi.
115+
116+
This is the old tax number that is being replaced by the
117+
Steuerliche Identifikationsnummer. The number has a regional form
118+
(which is used most often) and a national form.
119+
120+
Closes https://github.com/arthurdejong/python-stdnum/pull/49
121+
122+
2018-02-28 Esa Halsti <esa.halsti@taitoa.fi>
123+
124+
* [6e30cf5] stdnum/fi/hetu.py, tests/test_fi_hetu.doctest: Add
125+
validation for "individual" part of hetu
126+
127+
The range between 900 and 999 is reserved for temporary identifiers
128+
and is not given to any real person.
129+
130+
Closes https://github.com/arthurdejong/python-stdnum/pull/66
131+
132+
2018-03-10 Arthur de Jong <arthur@arthurdejong.org>
133+
134+
* [70dc091] setup.cfg: Support building a universal wheel
135+
136+
2018-02-19 Arthur de Jong <arthur@arthurdejong.org>
137+
138+
* [75138a4] stdnum/do/cedula.py, tests/test_do_cedula.py: Add
139+
check_dgii() to stdnum.do.cedula module
140+
141+
This exposes the stdnum.do.rnc.check_dgii() in the stdnum.do.cedula
142+
module with but rename the rnc result entry to cedula.
143+
144+
Closes https://github.com/arthurdejong/python-stdnum/issues/63
145+
146+
2018-02-19 Arthur de Jong <arthur@arthurdejong.org>
147+
148+
* [92d751c] stdnum/do/ncf.py, stdnum/do/rnc.py: Fix PySimpleSOAP
149+
DGII result parsing issue
150+
151+
This strips the wrapper that PySimpleSOAP puts around results
152+
from the DGII PySimpleSOAP SOAP call.
153+
154+
Closes https://github.com/arthurdejong/python-stdnum/issues/64
155+
Closes https://github.com/arthurdejong/python-stdnum/issues/65
156+
157+
2018-02-19 Arthur de Jong <arthur@arthurdejong.org>
158+
159+
* [81947a2] docs/index.rst: Improve get_cc_module() documentation
160+
161+
2018-02-14 Arthur de Jong <arthur@arthurdejong.org>
162+
163+
* [5cbba25] setup.cfg, stdnum/al/__init__.py, stdnum/ar/__init__.py,
164+
stdnum/at/__init__.py, stdnum/be/__init__.py, stdnum/be/iban.py,
165+
stdnum/cl/__init__.py, stdnum/co/__init__.py,
166+
stdnum/cz/__init__.py, stdnum/dk/__init__.py,
167+
stdnum/do/__init__.py, stdnum/ec/__init__.py,
168+
stdnum/ee/__init__.py, stdnum/es/__init__.py, stdnum/exceptions.py,
169+
stdnum/fi/__init__.py, stdnum/fr/__init__.py,
170+
stdnum/hr/__init__.py, stdnum/hu/__init__.py,
171+
stdnum/is_/__init__.py, stdnum/it/__init__.py,
172+
stdnum/lt/__init__.py, stdnum/lu/__init__.py,
173+
stdnum/lv/__init__.py, stdnum/mc/__init__.py,
174+
stdnum/mx/__init__.py, stdnum/nl/__init__.py,
175+
stdnum/no/__init__.py, stdnum/pl/__init__.py,
176+
stdnum/pt/__init__.py, stdnum/ro/__init__.py,
177+
stdnum/rs/__init__.py, stdnum/si/__init__.py,
178+
stdnum/sk/__init__.py, stdnum/sm/__init__.py, tests/test_do_ncf.py,
179+
tests/test_do_rnc.py, update/be_banks.py, update/numlist.py:
180+
Update the flake8 ignore list
181+
182+
Re-enable the flake8 test for unused imports by explicitly marking
183+
imports for namespace purposes. This allows us to remove a few
184+
unused imports.
185+
186+
A few more cleanups that allow us to reduce the number of
187+
ignored flake8 ignored tests. The remaining ignored tests are
188+
now documented.
189+
190+
Ignore a flake8 warning about print statements because we use
191+
print in the update scripts.
192+
193+
2018-02-11 Arthur de Jong <arthur@arthurdejong.org>
194+
195+
* [201960c] stdnum/be/iban.py, stdnum/bic.py, stdnum/iban.py,
196+
tests/test_be_iban.doctest: Add test for Belgian IBANs
197+
198+
This adds a test for IBANs that were found online together with
199+
a BIC code to test the IBAN to swift code mapping.
200+
201+
This also supports some extra separators in IBAN and BIC numbers
202+
and fixes a check digit calculation issue in the Belgian account
203+
number check digits.
204+
205+
2018-02-10 Arthur de Jong <arthur@arthurdejong.org>
206+
207+
* [56002fa] stdnum/be/banks.dat, stdnum/be/iban.py,
208+
tests/test_iban.doctest, update/be_banks.py,
209+
update/requirements.txt: Add support for Belgian IBAN format
210+
211+
This adds further checks to the country-specific part of the
212+
IBAN for Belgian IBANs.
213+
214+
Closes https://github.com/arthurdejong/python-stdnum/issues/62
215+
216+
2018-02-10 Arthur de Jong <arthur@arthurdejong.org>
217+
218+
* [c611b27] stdnum/bic.py: Support spaces in BIC codes
219+
220+
BIC codes are sometimes written in a space-separated form this
221+
correctly cleans the spaces for compact representation.
222+
223+
2018-02-06 Arthur de Jong <arthur@arthurdejong.org>
224+
225+
* [5fd1ae0] stdnum/do/ncf.py, stdnum/do/rnc.py, stdnum/eu/vat.py,
226+
stdnum/tr/tckimlik.py, stdnum/util.py: Allow configuring SOAP
227+
request timeout
228+
229+
This adds a timeout parameter to all checks that use a SOAP web
230+
service to reduce the blocking time. The default timeout for
231+
all checks is 30 seconds.
232+
233+
2018-01-07 Chris Lamb <chris@chris-lamb.co.uk>
234+
235+
* [c113613] stdnum/eu/vat.py: Exclude EU country codes from
236+
documentation
237+
238+
Whilst working on the Reproducible Builds effort [0], we noticed
239+
that python-stdnum could not be built reproducibly as it relies
240+
on a stable set ordering when generating the documentation.
241+
242+
This has been filed in Debian as #88652
243+
244+
[0] https://reproducible-builds.org/ [1]
245+
https://bugs.debian.org/886522
246+
247+
Closes: https://github.com/arthurdejong/python-stdnum/pull/61
248+
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
249+
250+
2018-01-06 Arthur de Jong <arthur@arthurdejong.org>
251+
252+
* [9841bae] ChangeLog, NEWS, stdnum/__init__.py: Get files ready
253+
for 1.8.1 release
254+
1255
2018-01-06 Arthur de Jong <arthur@arthurdejong.org>
2256

3257
* [820c233] README: Fix feedback section in README to be valid RST

NEWS

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
changes from 1.8.1 to 1.9
2+
-------------------------
3+
4+
* add modules for the following number formats:
5+
- Postleitzahl (Austrian postal code)
6+
- Abgabenkontonummer (Austrian tax identification number)
7+
- Belgian IBAN (International Bank Account Number)
8+
- Handelsregisternummer (German company register number)
9+
- St.-Nr. (Steuernummer, German tax number)
10+
- FIGI (Financial Instrument Global Identifier)
11+
- Montenegro IBAN (International Bank Account Number)
12+
* Have documentation rebuilt reproducibly (thanks Chris Lamb)
13+
* Allow configuring the SOAP request timeout
14+
* Support spaces in ISO 9362 (SWIFT) BIC codes
15+
* Add check_dgii() to stdnum.do.cedula module
16+
* Add validation for "individual" part of hetu (thanks Esa Halsti)
17+
* Support new style of Dominican Republic NCF numbers
18+
* Fix issue when using PySimpleSOAP for DGII lookups
19+
* Fix an issue in splitting certain IMSI values
20+
* Support building a universal wheel
21+
* Documentation and code style improvements
22+
23+
124
changes from 1.8 to 1.8.1
225
-------------------------
326

README

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,13 @@ Currently this package supports the following formats:
1919
* CBU (Clave Bancaria Uniforme, Argentine bank account number)
2020
* CUIT (Código Único de Identificación Tributaria, Argentinian tax number)
2121
* Austrian Company Register Numbers
22+
* Postleitzahl (Austrian postal code)
23+
* Abgabenkontonummer (Austrian tax identification number)
2224
* UID (Umsatzsteuer-Identifikationsnummer, Austrian VAT number)
2325
* ABN (Australian Business Number)
2426
* ACN (Australian Company Number)
2527
* TFN (Australian Tax File Number)
28+
* Belgian IBAN (International Bank Account Number)
2629
* BTW, TVA, NWSt, ondernemingsnummer (Belgian enterprise number)
2730
* EGN (ЕГН, Единен граждански номер, Bulgarian personal identity codes)
2831
* PNF (ЛНЧ, Личен номер на чужденец, Bulgarian number of a foreigner)
@@ -43,7 +46,9 @@ Currently this package supports the following formats:
4346
* Αριθμός Εγγραφής Φ.Π.Α. (Cypriot VAT number)
4447
* DIČ (Daňové identifikační číslo, Czech VAT number)
4548
* RČ (Rodné číslo, the Czech birth number)
49+
* Handelsregisternummer (German company register number)
4650
* IdNr (Steuerliche Identifikationsnummer, German personal tax number)
51+
* St.-Nr. (Steuernummer, German tax number)
4752
* Ust ID Nr. (Umsatzsteur Identifikationnummer, German VAT number)
4853
* Wertpapierkennnummer (German securities identification code)
4954
* CPR (personnummer, the Danish citizen number)
@@ -75,6 +80,7 @@ Currently this package supports the following formats:
7580
* HETU (Henkilötunnus, Finnish personal identity code)
7681
* Veronumero (Finnish individual tax number)
7782
* Y-tunnus (Finnish business identifier)
83+
* FIGI (Financial Instrument Global Identifier)
7884
* NIF (Numéro d'Immatriculation Fiscale, French tax identification number)
7985
* NIR (French personal identification number)
8086
* SIREN (a French company identification number)
@@ -112,6 +118,7 @@ Currently this package supports the following formats:
112118
* TVA (taxe sur la valeur ajoutée, Luxembourgian VAT number)
113119
* PVN (Pievienotās vērtības nodokļa, Latvian VAT number)
114120
* n° TVA (taxe sur la valeur ajoutée, Monacan VAT number)
121+
* Montenegro IBAN (International Bank Account Number)
115122
* MEID (Mobile Equipment Identifier)
116123
* VAT (Maltese VAT number)
117124
* RFC (Registro Federal de Contribuyentes, Mexican tax number)

docs/index.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,10 +104,13 @@ Available formats
104104
ar.cbu
105105
ar.cuit
106106
at.businessid
107+
at.postleitzahl
108+
at.tin
107109
at.uid
108110
au.abn
109111
au.acn
110112
au.tfn
113+
be.iban
111114
be.vat
112115
bg.egn
113116
bg.pnf
@@ -128,7 +131,9 @@ Available formats
128131
cy.vat
129132
cz.dic
130133
cz.rc
134+
de.handelsregisternummer
131135
de.idnr
136+
de.stnr
132137
de.vat
133138
de.wkn
134139
dk.cpr
@@ -160,6 +165,7 @@ Available formats
160165
fi.hetu
161166
fi.veronumero
162167
fi.ytunnus
168+
figi
163169
fr.nif
164170
fr.nir
165171
fr.siren
@@ -197,6 +203,7 @@ Available formats
197203
lu.tva
198204
lv.pvn
199205
mc.tva
206+
me.iban
200207
meid
201208
mt.vat
202209
mx.rfc

docs/stdnum.at.postleitzahl.rst

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

docs/stdnum.at.tin.rst

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

docs/stdnum.be.iban.rst

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

docs/stdnum.de.stnr.rst

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

0 commit comments

Comments
 (0)
0