8000 Get files ready for 1.13 release · lucasicr/python-stdnum@d5666b8 · GitHub
[go: up one dir, main page]

Skip to content

Commit d5666b8

Browse files
committed
Get files ready for 1.13 release
1 parent 334e907 commit d5666b8

File tree

7 files changed

+182
-5
lines changed

7 files changed

+182
-5
lines changed

ChangeLog

Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,150 @@
1+
2020-01-19 Arthur de Jong <arthur@arthurdejong.org>
2+
3+
* [334e907] online_check/stdnum.wsgi: Fix online check to be Python
4+
3 compatible
5+
6+
2020-01-18 Arthur de Jong <arthur@arthurdejong.org>
7+
8+
* [53d9934] stdnum/at/postleitzahl.dat, stdnum/be/banks.dat,
9+
stdnum/cn/loc.dat, stdnum/eu/nace.dat, stdnum/iban.dat,
10+
stdnum/imsi.dat, stdnum/isbn.dat, stdnum/isil.dat,
11+
stdnum/nz/banks.dat, stdnum/oui.dat, update/iban.py: Update
12+
database files
13+
14+
2020-01-18 Arthur de Jong <arthur@arthurdejong.org>
15+
16+
* [f23c549] stdnum/za/idnr.py, tests/test_za_idnr.doctest: Add
17+
South African Identity Document number
18+
19+
Closes https://github.com/arthurdejong/python-stdnum/issues/126
20+
21+
2020-01-12 Arthur de Jong <arthur@arthurdejong.org>
22+
23+
* [42e096e] stdnum/isin.py, tests/test_isin.doctest: Add temporary
24+
and internal ISIN country codes
25+
26+
This adds a few temporary and internal country codes that are
27+
used by various agencies so that they can also be validated. This
28+
does not mean that all these numbers are globally valid.
29+
30+
Closes https://github.com/arthurdejong/python-stdnum/issues/158
31+
32+
2019-12-06 anwarbaroudi <m.a.baroudi96@gmail.com>
33+
34+
* [87c195f] stdnum/isin.py, tests/test_isin.doctest: Add three
35+
country codes to ISIN
36+
37+
This adds three missing country codes: 'AN' for 'Netherlands
38+
Antilles', 'CS' for 'Serbia and Montenegro' and 'XK' for 'Kosovo'.
39+
40+
Closes https://github.com/arthurdejong/python-stdnum/issues/173
41+
Closes https://github.com/arthurdejong/python-stdnum/pull/174
42+
Closes https://github.com/arthurdejong/python-stdnum/pull/176
43+
44+
2020-01-09 Emmanuel Arias <eamanu@yaerobi.com>
45+
46+
* [0b30c4b] stdnum/ar/cuit.py, tests/test_ar_cuit.doctest: Test
47+
Argentinian CUIT type
48+
49+
The first two digits of the CUIT indicate the type of CUIT
50+
(personal, company or international) and can only have certain
51+
values.
52+
53+
Closes https://github.com/arthurdejong/python-stdnum/issues/179
54+
Closes https://github.com/arthurdejong/python-stdnum/pull/181
55+
56+
2020-01-09 Arthur de Jong <arthur@arthurdejong.org>
57+
58+
* [a9b3e90] stdnum/nl/btw.py, tests/test_eu_vat.doctest: Support
59+
new btw-identificatienummer
60+
61+
The btw-identificatienummer has been introduced on January 1st
62+
2020 in the Netherlands as an alternative to the btw-nummer that
63+
contains the BSN personal identifier. The number has the same
64+
structure and function but does not contain a BSN and uses a
65+
different check digit algorithm.
66+
67+
Thanks to Cas Vissers, Jeroen van Heiningen, Jerome Hanke, Nicolas
68+
Martinelli, Ronald Portier and Tim Muller for contributing to
69+
the fix.
70+
71+
More information:
72+
73+
*
74+
http://kleineondernemer.nl/index.php/nieuw-btw-identificatienummer-vanaf-1-januari-2020-voor-eenmanszaken
75+
* https://nl.wikipedia.org/wiki/Btw-nummer_(Nederland) *
76+
https://www.belastingdienst.nl/wps/wcm/connect/bldcontenten/belastingdienst/business/vat/new-vat-id/
77+
*
78+
https://www.belastingdienst.nl/wps/wcm/connect/bldcontentnl/belastingdienst/zakelijk/btw/administratie_bijhouden/btw_nummers_controleren/uw_btw_nummer
79+
80+
Closes https://github.com/arthurdejong/python-stdnum/issues/182
81+
Closes https://github.com/arthurdejong/python-stdnum/pull/183
82+
Closes https://github.com/arthurdejong/python-stdnum/pull/184
83+
Closes https://github.com/arthurdejong/python-stdnum/pull/185
84+
85+
2020-01-04 Arthur de Jong <arthur@arthurdejong.org>
86+
87+
* [9605dbe] stdnum/it/codicefiscale.py,
88+
tests/test_it_codicefiscale.doctest: The Italian IVA is also a
89+
Codice Fiscale
90+
91+
Closes https://github.com/arthurdejong/python-stdnum/issues/180
92+
93+
2019-12-18 Sergi Almacellas Abellana <sergi@koolpi.com>
94+
95+
* [087c668] .travis.yml, setup.py, tox.ini: Add support for
96+
Python 3.8
97+
98+
Closes https://github.com/arthurdejong/python-stdnum/pull/177
99+
100+
2019-12-27 Arthur de Jong <arthur@arthurdejong.org>
101+
102+
* [922505a] stdnum/eu/nace.py: Broaden noqa docstring exclusion
103+
104+
Nowadays flake8 seems to report this as D401 (First line should
105+
be in imperative mood) while before it was D402 (First line
106+
should not be the function’s signature).
107+
108+
2019-12-27 Arthur de Jong <arthur@arthurdejong.org>
109+
110+
* [de50109] stdnum/do/ncf.py: Switch to using lxml for HTML parsing
111+
112+
This avoids an extra dependency on BeautifulSoup and makes the
113+
code more consistent.
114+
115+
2019-11-12 Jakub Wilk <jwilk@jwilk.net>
116+
117+
* [831c669] NEWS, README, stdnum/br/__init__.py, stdnum/br/cnpj.py,
118+
stdnum/br/cpf.py: Fix typos
119+
120+
Closes https://github.com/arthurdejong/python-stdnum/pull/172
121+
122+
2019-11-04 Kurt Keller <Kurt@pinboard.jp>
123+
124+
* [388bac9] stdnum/iso11649.py: Add format to iso11649
125+
126+
Closes https://github.com/arthurdejong/python-stdnum/pull/171
127+
128+
2019-11-02 Kurt Keller <Kurt@pinboard.jp>
129+
130+
* [a45d4f7] stdnum/ch/esr.py, tests/test_ch_esr.doctest: Add Swiss
131+
ESR/ISR/QR-reference
132+
133+
Closes https://github.com/arthurdejong/python-stdnum/pull/170
134+
135+
2019-10-27 Arthur de Jong <arthur@arthurdejong.org>
136+
137+
* [41b9c94] ChangeLog, NEWS, README, docs/index.rst,
138+
docs/stdnum.ad.nrt.rst, docs/stdnum.cr.cpf.rst,
139+
docs/stdnum.cr.cpj.rst, docs/stdnum.cr.cr.rst,
140+
docs/stdnum.gt.nit.rst, docs/stdnum.il.idnr.rst,
141+
docs/stdnum.jp.cn.rst, docs/stdnum.kr.rrn.rst,
142+
docs/stdnum.nz.ird.rst, docs/stdnum.pe.cui.rst,
143+
docs/stdnum.pe.ruc.rst, docs/stdnum.py.ruc.rst,
144+
docs/stdnum.tr.vkn.rst, docs/stdnum.uy.rut.rst,
145+
docs/stdnum.ve.rif.rst, docs/stdnum.za.tin.rst, stdnum/__init__.py:
146+
Get files ready for 1.12 release
147+
1148
2019-10-27 Arthur de Jong <arthur@arthurdejong.org>
2149

3150
* [6ca5b53] stdnum/at/postleitzahl.dat, stdnum/be/banks.dat,

NEWS

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
changes from 1.12 to 1.13
2+
-------------------------
3+
4+
* Add modules for the following number formats:
5+
6+
- ESR, ISR, QR-reference (reference number on Swiss payment slips)
7+
(thanks Kurt Keller)
8+
- ID number (South African Identity Document number)
9+
10+
* Add format function for ISO 11649 numbers (thanks Kurt Keller)
11+
* Add support for Python 3.8 (thanks Sergi Almacellas Abellana)
12+
* Clarify that the Italian Codice Fiscale can also be the IVA for companies
13+
(thanks Nicholas Fiorentini)
14+
* Support the new Dutch btw-identificatienummer (thanks Cas Vissers,
15+
Jeroen van Heiningen, Jerome Hanke, Nicolas Martinelli, Ronald Portier and
16+
Tim Muller)
17+
* Extend test for Argentinian CUIT to check first two digits
18+
* Add more country codes to ISIN (thanks nocluebutalotofit, Anwar Baroudi and
19+
alexbond73)
20+
21+
122
changes from 1.11 to 1.12
223
-------------------------
324

README

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Currently this package supports the following formats:
4040
* BN (Canadian Business Number)
4141
* SIN (Canadian Social Insurance Number)
4242
* CAS RN (Chemical Abstracts Service Registry Number)
43+
* ESR, ISR, QR-reference (reference number on Swiss payment slips)
4344
* Swiss social security number ("Sozialversicherungsnummer")
4445
* UID (Unternehmens-Identifikationsnummer, Swiss business identifier)
4546
* VAT, MWST, TVA, IVA, TPV (Mehrwertsteuernummer, the Swiss VAT number)
@@ -144,7 +145,7 @@ Currently this package supports the following formats:
144145
* NRIC No. (Malaysian National Registration Identity Card Number)
145146
* BRIN number (the Dutch school identification number)
146147
* BSN (Burgerservicenummer, the Dutch citizen identification number)
147-
* Btw-nummer (Omzetbelastingnummer, the Dutch VAT number)
148+
* Btw-identificatienummer (Omzetbelastingnummer, the Dutch VAT number)
148149
* Onderwijsnummer (the Dutch student identification number)
149150
* Postcode (the Dutch postal code)
150151
* Fødselsnummer (Norwegian birth number, the national identity number)
@@ -183,6 +184,7 @@ Currently this package supports the following formats:
183184
* TIN (U.S. Taxpayer Identification Number)
184185
* RUT (Registro Único Tributario, Uruguay tax number)
185186
* RIF (Registro de Identificación Fiscal, Venezuelan VAT number)
187+
* ID number (South African Identity Document number)
186188
* TIN (South African Tax Identification Number)
187189

188190
Furthermore a number of generic check digit algorithms are available:
@@ -239,7 +241,7 @@ also work with older versions of Python.
239241
Copyright
240242
---------
241243

242-
Copyright (C) 2010-2019 Arthur de Jong and others
244+
Copyright (C) 2010-2020 Arthur de Jong and others
243245

244246
This library is free software; you can redistribute it and/or
245247
modify it under the terms of the GNU Lesser General Public

docs/index.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ Available formats
125125
ca.bn
126126
ca.sin
127127
casrn
128+
ch.esr
128129
ch.ssn
129130
ch.uid
130131
ch.vat
@@ -268,6 +269,7 @@ Available formats
268269
us.tin
269270
uy.rut
270271
ve.rif
272+
za.idnr
271273
za.tin
272274

273275

docs/stdnum.ch.esr.rst

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

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# setup.py - python-stdnum installation script
44
#
5-
# Copyright (C) 2010-2018 Arthur de Jong
5+
# Copyright (C) 2010-2020 Arthur de Jong
66
#
77
# This library is free software; you can redistribute it and/or
88
# modify it under the terms of the GNU Lesser General Public

stdnum/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# __init__.py - main module
22
# coding: utf-8
33
#
4-
# Copyright (C) 2010-2019 Arthur de Jong
4+
# Copyright (C) 2010-2020 Arthur de Jong
55
#
66
# This library is free software; you can redistribute it and/or
77
# modify it under the terms of the GNU Lesser General Public
@@ -43,4 +43,4 @@
4343
__all__ = ('get_cc_module', '__version__')
4444

4545
# the version number of the library
46-
__version__ = '1.12'
46+
__version__ = '1.13'

0 commit comments

Comments
 (0)
0