8000 Get files ready for 1.6 release · peppelinux/python-stdnum@35542c1 · GitHub
[go: up one dir, main page]

8000 Skip to content

Commit 35542c1

Browse files
committed
Get files ready for 1.6 release
1 parent 93459d3 commit 35542c1

File tree

12 files changed

+218
-8
lines changed

12 files changed

+218
-8
lines changed

ChangeLog

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,147 @@
1+
2017-04-10 Arthur de Jong <arthur@arthurdejong.org>
2+
3+
* [93459d3] stdnum/cn/loc.dat, stdnum/eu/nace.dat, stdnum/iban.dat,
4+
stdnum/imsi.dat, stdnum/isbn.dat: Update database files
5+
6+
2017-04-10 Arthur de Jong <arthur@arthurdejong.org>
7+
8+
* [bb1712d] online_check/README, online_check/check.js,
9+
online_check/jquery-1.7.1.js, online_check/jquery-1.7.1.min.js,
10+
online_check/stdnum.wsgi, online_check/template.html: Add simple
11+
online check example
12+
13+
This adds the code that is used to find formats for which a
14+
supplied number is valid. This is the code that is used on
15+
https://arthurdejong.org/python-stdnum/check/
16+
17+
2017-04-10 Arthur de Jong <arthur@arthurdejong.org>
18+
19+
* [5398247] stdnum/lei.py, tests/test_lei.doctest: Add Legal
20+
Entity Identifier
21+
22+
2017-04-10 Arthur de Jong <arthur@arthurdejong.org>
23+
24+
* [e844b52] stdnum/iban.py, stdnum/iso7064/mod_97_10.py: Integrate
25+
base10 conversion into Mod 97, 10
26+
27+
This moves the conversion of an alphanumeric string to a numeric
28+
representation for modulo 97 calculation to the mod_97_10 module
29+
because this mechanism seems to be used by multiple formats.
30+
31+
2017-04-10 Arthur de Jong <arthur@arthurdejong.org>
32+
33+
* [1b3d16e] stdnum/es/nie.py: Add missing export (__all__)
34+
35+
2017-04-10 Arthur de Jong <arthur@arthurdejong.org>
36+
37+
* [72f5c6c] stdnum/rs/__init__.py, stdnum/rs/pib.py,
38+
tests/test_rs_pib.doctest: Add Serbian Poreski Identifikacioni Broj
39+
40+
2017-04-10 Arthur de Jong <arthur@arthurdejong.org>
41+
42+
* [800205c] tox.ini: Print warnings during tox run
43+
44+
2017-04-07 Arthur de Jong <arthur@arthurdejong.org>
45+
46+
* [7493eca] stdnum/cusip.py, stdnum/ean.py, stdnum/ec/ci.py,
47+
stdnum/isin.py, stdnum/tr/tckimlik.py: Use a slightly more
48+
readable weight alternation
49+
50+
Switch to a slightly more readable syntax for alternating between
51+
two weights in checksums calculations.
52+
53+
2017-04-01 Arthur de Jong <arthur@arthurdejong.org>
54+
55+
* [23b2150] stdnum/eu/eic.py, tests/test_eu_eic.doctest: Add
56+
European EIC (Energy Identification Code)
57+
58+
2017-03-26 Arthur de Jong <arthur@arthurdejong.org>
59+
60+
* [194f025] stdnum/meid.py, tests/test_robustness.doctest: Add
61+
unicode robustness tests
62+
63+
This tests a few unicode strings and fixes a bug in the MEID
64+
module.
65+
66+
2017-03-26 Arthur de Jong <arthur@arthurdejong.org>
67+
68+
* [d43c394] stdnum/es/referenciacatastral.py,
69+
tests/test_es_referenciacatastral.doctest: Add test for Ñ in
70+
Referencia Catastral
71+
72+
This supports the Referencia Catastral with an Ñ in it for
73+
both byte strings (Python 2) and unicode strings (Python 2 and
74+
3). Support for literal unicode strings in Python 2 doctests is
75+
flaky so the test is a bit ugly.
76+
77+
This also adds a few numbers that were found online. Sadly no
78+
real numbers with an Ñ in it have been found so the one in the
79+
test was constructed.
80+
81+
2017-03-26 Arthur de Jong <arthur@arthurdejong.org>
82+
83+
* [61d73c1] getnace.py, stdnum/eu/nace.dat, stdnum/eu/nace.py,
84+
tests/test_robustness.doctest: Add European NACE classification
85+
86+
This number is used to classify business. Validation is done
87+
based on a downloaded registry.
88+
89+
2017-03-26 Arthur de Jong <arthur@arthurdejong.org>
90+
91+
* [649f073] stdnum/mc/tva.py: Remove unused import
92+
93+
2017-03-19 Arthur de Jong <arthur@arthurdejong.org>
94+
95+
* [c957318] stdnum/fr/tva.py, stdnum/mc/__init__.py,
96+
stdnum/mc/tva.py, tests/test_eu_vat.doctest: Add support for
97+
Monaco VAT number
98+
99+
The number uses the French TVA number but, unlike normal French
100+
VAT numbers, they are not valid French SIREN numbers.
101+
102+
See https://github.com/arthurdejong/python-stdnum/issues/46
103+
104+
2016-12-11 Arthur de Jong <arthur@arthurdejong.org>
105+
106+
* [5b43857] stdnum/au/tfn.py: Remove unused import
107+
108+
2016-12-01 Greg Kuwaye <gkuwaye@lyft.com>
109+
110+
* [7d16ea5] stdnum/us/ein.dat: Add new 47 EIN prefix; fix duplicate
111+
46; move 81
112+
113+
47 appears to be a new Internet campus code. Prefix 46
114+
was listed twice, once under the Philadelphia campus and
115+
again under the Internet campus. This error may be seen
116+
on the IRS website itself. The Wikipedia article on EIN
117+
(https://en.wikipedia.org/wiki/Employer_Identification_Number)
118+
does not have 46 listed twice. 81 has moved from the Philadelphia
119+
campus to the Internet campus.
120+
121+
2016-11-14 Luciano Rossi <lukio@gcoop.coop>
122+
123+
* [dcde8f4] stdnum/ar/cbu.py, tests/test_ar_cbu.doctest: Implement
124+
CBU (unique bank code) of Argentina
125+
126+
See https://github.com/arthurdejong/python-stdnum/issues/43
127+
128+
2016-11-14 Arthur de Jong <arthur@arthurdejong.org>
129+
130+
* [da18e3b] setup.py, stdnum/fi/associationid.py, stdnum/meid.py,
131+
tests/test_mx_rfc.doctest, tox.ini: Add Python 2.6 support
132+
133+
This also brings the list of Python versions in setup.py in line
134+
with tox.ini.
135+
136+
2016-11-13 Arthur de Jong <arthur@arthurdejong.org>
137+
138+
* [62ebbce] ChangeLog, NEWS, README, docs/index.rst,
139+
docs/stdnum.au.abn.rst, docs/stdnum.au.acn.rst,
140+
docs/stdnum.au.tfn.rst, docs/stdnum.es.ccc.rst,
141+
docs/stdnum.es.cups.rst, docs/stdnum.es.iban.rst,
142+
docs/stdnum.es.referenciacatastral.rst, stdnum/__init__.py:
143+
Get files ready for 1.5 release
144+
1145
2016-11-13 Arthur de Jong <arthur@arthurdejong.org>
2146

3147
* [c9beb00] stdnum/cn/loc.dat, stdnum/iban.dat, stdnum/imsi.dat,

MANIFEST.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
include README NEWS ChangeLog COPYING *.py
1+
include README NEWS ChangeLog COPYING *.py tox.ini
22
recursive-include tests *.doctest *.dat
33
recursive-include docs *.rst *.py
4+
recursive-include online_check *

NEWS

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
changes from 1.5 to 1.6
2+
-----------------------
3+
4+
* add modules for the following number formats:
5+
- CBU (Clave Bancaria Uniforme, Argentine bank account number)
6+
(thanks Luciano Rossi)
7+
- EIC (European Energy Identification Code)
8+
- NACE (classification for businesses in the European Union)
9+
- LEI (Legal Entity Identifier)
10+
- n° TVA (taxe sur la valeur ajoutée, Monacan VAT number)
11+
- PIB (Poreski Identifikacioni Broj, Serbian tax identification number)
12+
* add online check example that finds valid formats for a given number
13+
* fix support for Ñ in Spanish Referencia Catastral
14+
* updates to U.S. Employer Identification Number (thanks Greg Kuwaye)
15+
* various minor improvements
16+
17+
118
changes from 1.4 to 1.5
219
-----------------------
320

@@ -9,8 +26,8 @@ changes from 1.4 to 1.5
926
- CUPS (Código Unificado de Punto de Suministro, Supply Point Unified Code)
1027
- Spanish IBAN (International Bank Account Number)
1128
- 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
29+
* the IBAN module now support validating the country-specific part
30+
* the Belgian VAT number is now also referenced as businessid
1431
* add a Tox configuration file
1532

1633

README

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Available formats
1010
Currently this package supports the following formats:
1111

1212
* NIPT (Numri i Identifikimit për Personin e Tatueshëm, Albanian VAT number)
13+
* CBU (Clave Bancaria Uniforme, Argentine bank account number)
1314
* CUIT (Código Único de Identificación Tributaria, Argentinian tax number)
1415
* Austrian Company Register Numbers
1516
* UID (Umsatzsteuer-Identifikationsnummer, Austrian VAT number)
@@ -52,6 +53,8 @@ Currently this package supports the following formats:
5253
* NIF (Número de Identificación Fiscal, Spanish VAT number)
5354
* Referencia Catastral (Spanish real estate property id)
5455
* SEPA Identifier of the Creditor (AT-02)
56+
* EIC (European Energy Identification Code)
57+
* NACE (classification for businesses in the European Union)
5558
* VAT (European Union VAT number)
5659
* ALV nro (Arvonlisäveronumero, Finnish VAT number)
5760
* Finnish Association Identifier
@@ -87,9 +90,11 @@ Currently this package supports the following formats:
8790
* ISSN (International Standard Serial Number)
8891
* Codice Fiscale (Italian tax code for individuals)
8992
* Partita IVA (Italian VAT number)
93+
* LEI (Legal Entity Identifier)
9094
* PVM (Pridėtinės vertės mokestis mokėtojo kodas, Lithuanian VAT number)
9195
* TVA (taxe sur la valeur ajoutée, Luxembourgian VAT number)
9296
* PVN (Pievienotās vērtības nodokļa, Latvian VAT number)
97+
* n° TVA (taxe sur la valeur ajoutée, Monacan VAT number)
9398
* MEID (Mobile Equipment Identifier)
9499
* VAT (Maltese VAT number)
95100
* RFC (Registro Federal de Contribuyentes, Mexican tax number)
@@ -107,6 +112,7 @@ Currently this package supports the following formats:
107112
* NIF (Número de identificação fiscal, Portuguese VAT number)
108113
* CF (Cod de înregistrare în scopuri de TVA, Romanian VAT number)
109114
* CNP (Cod Numeric Personal, Romanian Numerical Personal Code)
115+
* PIB (Poreski Identifikacioni Broj, Serbian tax identification number)
110116
* ИНН (Идентификационный номер налогоплательщика, Russian tax identifier)
111117
* Orgnr (Organisationsnummer, Swedish company number)
112118
* VAT (Moms, Mervärdesskatt, Swedish VAT number)
@@ -159,13 +165,13 @@ Requirements
159165
------------
160166

161167
The modules should not require any external Python modules and should be pure
162-
Python. The modules are developed and tested with Python 2.7 and 3.5 but may
168+
Python. The modules are developed and tested with Python 2.7 and 3.6 but may
163169
also work with older versions of Python.
164170

165171
Copyright
166172
---------
167173

168-
Copyright (C) 2010-2016 Arthur de Jong and others
174+
Copyright (C) 2010-2017 Arthur de Jong and others
169175

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

docs/index.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ Available formats
8787
:toctree:
8888

8989
al.nipt
90+
ar.cbu
9091
ar.cuit
9192
at.businessid
9293
at.uid
@@ -129,6 +130,8 @@ Available formats
129130
es.nif
130131
es.referenciacatastral
131132
eu.at_02
133+
eu.eic
134+
eu.nace
132135
eu.vat
133136
fi.alv
134137
fi.associationid
@@ -164,9 +167,11 @@ Available formats
164167
issn
165168
it.codicefiscale
166169
it.iva
170+
lei
167171
lt.pvm
168172
lu.tva
169173
lv.pvn
174+
mc.tva
170175
meid
171176
mt.vat
172177
mx.rfc
@@ -184,6 +189,7 @@ Available formats
184189
pt.nif
185190
ro.cf
186191
ro.cnp
192+
rs.pib
187193
ru.inn
188194
se.orgnr
189195
se.vat

docs/stdnum.ar.cbu.rst

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

docs/stdnum.eu.eic.rst

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

docs/stdnum.eu.nace.rst

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

docs/stdnum.lei.rst

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

docs/stdnum.mc.tva.rst

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

0 commit comments

Comments
 (0)
0