10000 Get files ready for 1.15 release · nuno-andre/python-stdnum@6b7f209 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6b7f209

Browse files
committed
Get files ready for 1.15 release
1 parent 755eee7 commit 6b7f209

File tree

11 files changed

+225
-4
lines changed

11 files changed

+225
-4
lines changed

ChangeLog

Lines changed: 170 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,173 @@
1+
2021-01-11 Arthur de Jong <arthur@arthurdejong.org>
2+
3+
* [755eee7] .travis.yml: Simplify Travis matrix
4+
5+
This also ensures that supported Python interpreters are output
6+
in order.
7+
8+
2021-01-10 Arthur de Jong <arthur@arthurdejong.org>
9+
10+
* [a0c62ee] stdnum/at/postleitzahl.dat, stdnum/be/banks.dat,
11+
stdnum/cn/loc.dat, stdnum/eu/nace.dat, stdnum/gs1_ai.dat,
12+
stdnum/iban.dat, stdnum/imsi.dat, stdnum/isbn.dat,
13+
stdnum/my/bp.dat, stdnum/nz/banks.dat, stdnum/oui.dat,
14+
update/at_postleitzahl.py, update/my_bp.py, update/nz_banks.py:
15+
Update database files
16+
17+
2021-01-10 Arthur de Jong <arthur@arthurdejong.org>
18+
19+
* [df0623b] stdnum/by/unp.py, stdnum/do/ncf.py, stdnum/imsi.py,
20+
stdnum/isbn.py, stdnum/meid.py, tox.ini: Drop pinning of isort
21+
now flake8-isort has been fixed
22+
23+
This changes a few inline imports in the code to pass with the
24+
new isort.
25+
26+
Reverts 291b831
27+
28+
2021-01-10 Arthur de Jong <arthur@arthurdejong.org>
29+
30+
* [b202eee] stdnum/my/nric.py: Fix typo
31+
32+
2021-01-10 Arthur de Jong <arthur@arthurdejong.org>
33+
34+
* [7e86331] setup.py: Add project URLs for PyPI
35+
36+
2020-10-25 Leandro Regueiro <leandro.regueiro@gmail.com>
37+
38+
* [126496c] stdnum/ua/rntrc.py, tests/test_ua_rntrc.doctest:
39+
Add support for Ukraine РНОКПП number
40+
41+
Closes https://github.com/arthurdejong/python-stdnum/pull/242
42+
Closes https://github.com/arthurdejong/python-stdnum/issues/117
43+
44+
2020-10-25 Leandro Regueiro <leandro.regueiro@gmail.com>
45+
46+
* [b7b2af8] stdnum/ua/__init__.py, stdnum/ua/edrpou.py,
47+
tests/test_ua_edrpou.doctest: Add support for Ukraine ЄДРПОУ
48+
number
49+
50+
Closes https://github.com/arthurdejong/python-stdnum/pull/242
51+
Closes https://github.com/arthurdejong/python-stdnum/issues/117
52+
53+
2021-01-04 Viggo de Vries <viggo@uwkm.nl>
54+
55+
* [0427b01] stdnum/eu/vat.py, tests/test_eu_vat.doctest,
56+
tests/test_gb_vat.doctest: Remove GB from EU member states
57+
58+
Closes https://github.com/arthurdejong/python-stdnum/pull/246
59+
60+
2021-01-10 Arthur de Jong <arthur@arthurdejong.org>
61+
62+
* [2f2c742] .travis.yml, setup.py, tox.ini: Add support for
63+
Python 3.9
64+
65+
This switches Travis tests to bionic by default.
66+
67+
2021-01-10 Arthur de Jong <arthur@arthurdejong.org>
68+
69+
* [2046f51] stdnum/damm.py, stdnum/eu/at_02.py, stdnum/gs1_128.py,
70+
stdnum/iso7064/mod_11_10.py, stdnum/iso7064/mod_11_2.py,
71+
stdnum/iso7064/mod_37_2.py, stdnum/iso7064/mod_37_36.py,
72+
stdnum/iso7064/mod_97_10.py, stdnum/luhn.py, stdnum/util.py,
73+
stdnum/verhoeff.py: Fix flake8 blind except Exception error
74+
75+
2021-01-04 Viggo de Vries <viggo@uwkm.nl>
76+
77+
* [cc3a970] stdnum/au/__init__.py: Use ABN as Australian VAT number
78+
79+
See https://www.ato.gov.au/Business/GST/Tax-invoices/
80+
81+
Closes https://github.com/arthurdejong/python-stdnum/pull/246
82+
83+
2021-01-02 Arthur de Jong <arthur@arthurdejong.org>
84+
85+
* [c74e322] stdnum/vatin.py, tests/test_vatin.doctest: Support
86+
VAT numbers that are only valid with country prefix
87+
88+
The Swish VAT number has the CH prefix embedded as a required
89+
part of the number. This ensures that the international VAT
90+
number module also supports that.
91+
92+
Closes https://github.com/arthurdejong/python-stdnum/issues/245
93+
Fixes ff188bd
94+
95+
2020-10-27 Matthias Schmid, M.Sc <ramsondon@gmail.com>
96+
97+
* [5082af4] stdnum/li/__init__.py, stdnum/li/peid.py,
98+
tests/test_li_peid.doctest: Add Liechtenstein
99+
Personenidentifikationsnummer
100+
101+
Closes https://github.com/arthurdejong/python-stdnum/pull/241
102+
Closes https://github.com/arthurdejong/python-stdnum/issues/125
103+
104+
2020-10-02 Jonas Geuens <jonasgeuens@gmail.com>
105+
106+
* [3a592e4] stdnum/be/vat.py, tests/test_be_vat.doctest: Expanded
107+
validation for BE VAT numbers
108+
109+
Specifically invalidated all-zero numbers
110+
111+
Closes https://github.com/arthurdejong/python-stdnum/pull/240
112+
113+
2020-11-01 Arthur de Jong <arthur@arthurdejong.org>
114+
115+
* [c5eb2d8] stdnum/eu/vat.py, stdnum/ro/cf.py,
116+
tests/test_eu_vat.doctest: Retain RO prefix in Romanian VAT numbers
117+
118+
This does not strip the RO prefix from Romanian VAT numbers to be
119+
able to keep the distinction between a CUI/CIF that is registered
120+
for VAT (which commonly has the RO prefix) and those that don't.
121+
122+
Closes https://github.com/arthurdejong/python-stdnum/issues/231
123+
124+
2020-11-01 Arthur de Jong <arthur@arthurdejong.org>
125+
126+
* [1f6c77f] stdnum/ro/cnp.py, stdnum/ro/onrc.py: Minor updates
127+
128+
2020-11-01 Arthur de Jong <arthur@arthurdejong.org>
129+
130+
* [e0417f6] stdnum/ro/cf.py, stdnum/ro/cui.py: Add Romanian
131+
CUI/CIF number
132+
133+
This module separates the validation of numbers assigned to
134+
companies (CUI or CIF) of those assigned to natural persons (CNP).
135+
136+
2020-09-19 Arthur de Jong <arthur@arthurdejong.org>
137+
138+
* [19d3f70] stdnum/eu/vat.py: Make list of EU member states list
139+
of public API
140+
141+
This provides stdnum.eu.vat.MEMBER_STATES. Note that Greece is
142+
listed with a country code of "gr" while the prefix used in VAT
143+
numbers is "el".
144+
145+
Closes https://github.com/arthurdejong/python-stdnum/issues/238
146+
147+
2020-09-04 Arthur de Jong <arthur@arthurdejong.org>
148+
149+
* [992dc20] online_check/check.js,
150+
online_check/jquery-1.7.1.js, online_check/jquery-1.7.1.min.js,
151+
online_check/jquery-3.5.1.js, online_check/jquery-3.5.1.min.js,
152+
online_check/jquery-3.5.1.min.map, online_check/template.html:
153+
Upgrade jQuery to 3.5.1
154+
155+
This also runs eslint over check.js and fixes an issue from
156+
the upgrade.
157+
158+
2020-08-09 Arthur de Jong <arthur@arthurdejong.org>
159+
160+
* [3373938] ChangeLog, NEWS, README, docs/index.rst,
161+
docs/stdnum.by.unp.rst, docs/stdnum.cn.uscc.rst,
162+
docs/stdnum.gb.utr.rst, docs/stdnum.gs1_128.rst,
163+
docs/stdnum.id.npwp.rst, docs/stdnum.il.hp.rst,
164+
docs/stdnum.it.aic.rst, docs/stdnum.kr.brn.rst,
165+
docs/stdnum.ro.onrc.rst, docs/stdnum.sg.uen.rst,
166+
docs/stdnum.sv.nit.rst, docs/stdnum.tw.ubn.rst,
167+
docs/stdnum.vatin.rst, docs/stdnum.vn.mst.rst,
168+
docs/stdnum.za.idnr.rst, stdnum/__init__.py: Get files ready
169+
for 1.14 release
170+
1171
2020-08-09 Arthur de Jong <arthur@arthurdejong.org>
2172

3173
* [40fcc24] stdnum/be/banks.dat, stdnum/cn/loc.dat,

NEWS

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
changes from 1.14 to 1.15
2+
-------------------------
3+
4+
* Add modules for the following number formats:
5+
6+
- CUI or CIF (Codul Unic de Înregistrare, Romanian company identifier)
7+
- PEID (Liechtenstein tax code for individuals and entities)
8+
(thanks Matthias Schmid)
9+
- ЄДРПОУ, EDRPOU (Identifier for enterprises and organizations in Ukraine)
10+
(thanks Leandro Regueiro)
11+
- РНОКПП, RNTRC (Individual taxpayer registration number in Ukraine)
12+
(thanks Leandro Regueiro)
13+
14+
* Make list of EU member states part of public API
15+
* Retain RO prefix in Romanian VAT numbers
16+
* Support international VAT numbers that are only valid with country prefix
17+
* Expanded validation for Belgian VAT numbers
18+
* Use ABN as Australian VAT number
19+
* Remove GB from EU member states
20+
21+
122
changes from 1.13 to 1.14
223
-------------------------
324

README

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ Currently this package supports the following formats:
137137
* BRN (사업자 등록 번호, South Korea Business Registration Number)
138138
* RRN (South Korean resident registration number)
139139
* LEI (Legal Entity Identifier)
140+
* PEID (Liechtenstein tax code for individuals and entities)
140141
* Asmens kodas (Lithuanian, personal numbers)
141142
* PVM (Pridėtinės vertės mokestis mokėtojo kodas, Lithuanian VAT number)
142143
* TVA (taxe sur la valeur ajoutée, Luxembourgian VAT number)
@@ -172,6 +173,7 @@ Currently this package supports the following formats:
1721 10000 73
* RUC number (Registro Único de Contribuyentes, Paraguay tax number)
173174
* CF (Cod de înregistrare în scopuri de TVA, Romanian VAT number)
174175
* CNP (Cod Numeric Personal, Romanian Numerical Personal Code)
176+
* CUI or CIF (Codul Unic de Înregistrare, Romanian company identifier)
175177
* ONRC (Ordine din Registrul Comerţului, Romanian Trade Register identifier)
176178
* PIB (Poreski Identifikacioni Broj, Serbian tax identification number)
177179
* ИНН (Идентификационный номер налогоплательщика, Russian tax identifier)
@@ -187,6 +189,8 @@ Currently this package supports the following formats:
187189
* T.C. Kimlik No. (Turkish personal identification number)
188190
* VKN (Vergi Kimlik Numarası, Turkish tax identification number)
189191
* UBN (Unified Business Number, 統一編號, Taiwanese tax number)
192+
* ЄДРПОУ, EDRPOU (Identifier for enterprises and organizations in Ukraine)
193+
* РНОКПП, RNTRC (Individual taxpayer registration number in Ukraine)
190194
* ATIN (U.S. Adoption Taxpayer Identification Number)
191195
* EIN (U.S. Employer Identification Number)
192196
* ITIN (U.S. Individual Taxpayer Identification Number)
@@ -255,7 +259,7 @@ also work with older versions of Python.
255259
Copyright
256260
---------
257261

258-
Copyright (C) 2010-2020 Arthur de Jong and others
262+
Copyright (C) 2010-2021 Arthur de Jong and others
259263

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

docs/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@
9494
# Automatically generate stub pages for autosummary entries.
9595
autosummary_generate = True
9696

97+
# Autosummary overwrites existing files by generated stub pages.
98+
autosummary_generate_overwrite = False
9799

98100
# -- Options for HTML output ---------------------------------------------------
99101

docs/index.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ Available formats
235235
kr.brn
236236
kr.rrn
237237
lei
238+
li.peid
238239
lt.asmens
239240
lt.pvm
240241
lu.tva
@@ -270,6 +271,7 @@ Available formats
270271
py.ruc
271272
ro.cf
272273
ro.cnp
274+
ro.cui
273275
ro.onrc
274276
rs.pib
275277
ru.inn
@@ -285,6 +287,8 @@ Available formats
285287
tr.tckimlik
286288
tr.vkn
287289
tw.ubn
290+
ua.edrpou
291+
ua.rntrc
288292
us.atin
289293
us.ein
290294
us.itin

docs/stdnum.li.peid.rst

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

docs/stdnum.ro.cui.rst

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

docs/stdnum.ua.edrpou.rst

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

docs/stdnum.ua.rntrc.rst

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

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-2020 Arthur de Jong
4+
# Copyright (C) 2010-2021 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.14'
46+
__version__ = '1.15'

0 commit comments

Comments
 (0)
0