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

Skip to content

Commit a68f3ca

Browse files
committed
Get files ready for 1.10 release
1 parent 6b85f91 commit a68f3ca

17 files changed

+471
-222
lines changed

ChangeLog

Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,139 @@
1+
2018-10-14 Arthur de Jong <arthur@arthurdejong.org>
2+
3+
* [6b85f91] stdnum/iban.py, tests/test_iban.doctest: Raise
4+
InvalidComponent on unknown IBAN country
5+
6+
This partially reverts 58ea7b2.
7+
8+
Closes https://github.com/arthurdejong/python-stdnum/issues/82
9+
10+
2018-10-09 Arthur de Jong <arthur@arthurdejong.org>
11+
12+
* [58ea7b2] stdnum/iban.py, tests/test_iban.doctest: Fix issue
13+
with minimal IBAN
14+
15+
This ensures that an IBAN with a missing bban part and unknown
16+
country code (while still having a valid MOD 97,10 checksum)
17+
is considered valid.
18+
19+
Closes https://github.com/arthurdejong/python-stdnum/issues/84
20+
21+
2018-09-30 Arthur de Jong <arthur@arthurdejong.org>
22+
23+
* [54c3650] stdnum/bitcoin.py, tests/test_bitcoin.doctest:
24+
Bitcoin address
25+
26+
This adds validation of Bitcoin addresses. No check is done that
27+
the addresses actually exist but only that they are syntactically
28+
correct.
29+
30+
Closes https://github.com/arthurdejong/python-stdnum/issues/80
31+
32+
2018-09-21 Levin Rickert <me@levrik.io>
33+
34+
* [510ee93] stdnum/ru/__init__.py: Add vat alias for Russia
35+
36+
2018-08-30 Gerard Dalmau <gdalmau@gisce.net>
37+
38+
* [e58c09a] tests/test_es_cups.doctest,
39+
tests/test_es_referenciacatastral.doctest: Fix ES test descriptions
40+
41+
2018-08-30 Gerard Dalmau <gdalmau@gisce.net>
42+
43+
* [4a76779] stdnum/es/cif.py, stdnum/es/nif.py,
44+
tests/test_es_nif.doctest: Improve CIF and NIF validation
45+
46+
NIF starting with K, L or M are NIF instead of CIF.
47+
48+
This also adds NIF-DNI-CIF-NIE classification tests.
49+
50+
Closes https://github.com/arthurdejong/python-stdnum/pull/81
51+
52+
2018-08-22 Arthur de Jong <arthur@arthurdejong.org>
53+
54+
* [5af712b] stdnum/no/iban.py, stdnum/no/kontonr.py,
55+
tests/test_iban.doctest: Add Norwegian bank account number
56+
57+
This includes validation of Norwegian bank account numbers and
58+
conversion to IBAN.
59+
60+
Closes https://github.com/arthurdejong/python-stdnum/issues/79
61+
62+
2018-08-08 Arthur de Jong <arthur@arthurdejong.org>
63+
64+
* [ec39d86] stdnum/mu/__init__.py, stdnum/mu/nid.py,
65+
tests/test_mu_nid.doctest: Add Mauritian national ID number
66+
67+
Thans to Bradley Smith for providing the needed information to
68+
implement this.
69+
70+
See
71+
https://lists.arthurdejong.org/python-stdnum-users/2018/msg00003.html
72+
73+
2018-05-24 Esben Toke Christensen <esben.christensen@visma.com>
74+
75+
* [676d62c] stdnum/iso11649.py, tests/test_iso11649.doctest:
76+
Add iso11649 structured creditor reference
77+
78+
Closes https://github.com/arthurdejong/python-stdnum/pull/72
79+
80+
2018-06-18 PanderMusubi <pander@users.sourceforge.net>
81+
82+
* [65b5bfe] README, stdnum/nl/brin.py, stdnum/nl/bsn.py,
83+
stdnum/nl/btw.py, stdnum/nl/onderwijsnummer.py,
84+
stdnum/nl/postcode.py: Improved texts and added links
85+
86+
Closes https://github.com/arthurdejong/python-stdnum/pull/75
87+
88+
2018-05-19 Arthur de Jong <arthur@arthurdejong.org>
89+
90+
* [6e776ae] stdnum/do/ncf.py, tests/test_do_ncf.py: Switch the
91+
NCF online check to the new form
92+
93+
This tries to screen-scrape the new DGII form that is used to
94+
validate the new format of NCF numbers.
95+
96+
Closes https://github.com/arthurdejong/python-stdnum/issues/71
97+
98+
2018-05-01 Arthur de Jong <arthur@arthurdejong.org>
99+
100+
* [04f78fb] online_check/stdnum.wsgi: Fix encoding issues in
101+
online check
102+
103+
This ensures that all text is unicode internally and encoded to
104+
UTF-8 on response.
105+
106+
2018-05-01 Arthur de Jong <arthur@arthurdejong.org>
107+
108+
* [bae6f19] stdnum/mx/rfc.py, tests/test_mx_rfc.doctest: Fix an
109+
issue with format of Mexican tax numbers
110+
111+
Fix an issue where the format accepted a mix of personal and
112+
company numberer in validation causing in a raised ValueError
113+
exception.
114+
115+
2018-05-01 Arthur de Jong <arthur@arthurdejong.org>
116+
117+
* [08d1053] stdnum/es/referenciacatastral.py, stdnum/mx/rfc.py,
118+
stdnum/util.py, tests/test_util.doctest: Make unicode conversion
119+
standard
120+
121+
A few modules use non-ASCII characters in numbers. This
122+
introduces a to_unicode() function in util so that it can be
123+
used by multiple modules.
124+
125+
2018-04-14 Arthur de Jong <arthur@arthurdejong.org>
126+
127+
* [d9defc8] ChangeLog, NEWS, README, docs/index.rst,
128+
docs/stdnum.at.postleitzahl.rst, docs/stdnum.at.tin.rst,
129+
docs/stdnum.be.iban.rst, docs/stdnum.de.handelsregisternummer.rst,
130+
docs/stdnum.de.stnr.rst, docs/stdnum.figi.rst,
131+
docs/stdnum.me.iban.rst, setup.py, stdnum/__init__.py,
132+
stdnum/at/postleitzahl.dat, stdnum/be/banks.dat, stdnum/cn/loc.dat,
133+
stdnum/eu/nace.dat, stdnum/imsi.dat, stdnum/isbn.dat,
134+
stdnum/isil.dat, stdnum/us/ein.dat, update/isil.py: Get files
135+
ready for 1.9 release
136+
1137
2018-04-12 Arthur de Jong <arthur@arthurdejong.org>
2138

3139
* [e200656] stdnum/iban.py, tests/test_be_iban.doctest: Add an

NEWS

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
changes from 1.9 to 1.10
2+
------------------------
3+
4+
* Add modules for the following number formats:
5+
- Bitcoin address
6+
- ISO 11649 (Structured Creditor Reference)
7+
- ID number (Mauritian national identifier)
8+
- Norwegian IBAN (International Bank Account Number)
9+
- Konto nr. (Norwegian bank account number)
10+
* Fix a bug in handling of Mexican tax numbers
11+
* Improve Spanish CIF and NIF validation
12+
* Update Dominican Republic NCF numbers online check
13+
* Improve Unicode conversion for bytestrings
14+
* Improvements to some corner cases in IBAN validation
15+
* Documentation improvements
16+
* Add stdnum.ru.vat as an alias for stdnum.ru.inn
17+
18+
119
changes from 1.8.1 to 1.9
220
-------------------------
321

README

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ Currently this package supports the following formats:
3131
* PNF (ЛНЧ, Личен номер на чужденец, Bulgarian number of a foreigner)
3232
* VAT (Идентификационен номер по ДДС, Bulgarian VAT number)
3333
* BIC (ISO 9362 Business identifier codes)
34+
* Bitcoin address
3435
* CNPJ (Cadastro Nacional da Pessoa Jurídica, Brazillian company identifier)
3536
* CPF (Cadastro de Pessoas Físicas, Brazillian national identifier)
3637
* BN (Canadian Business Number)
@@ -109,6 +110,7 @@ Currently this package supports the following formats:
109110
* ISIL (International Standard Identifier for Libraries)
110111
* ISIN (International Securities Identification Number)
111112
* ISMN (International Standard Music Number)
113+
* ISO 11649 (Structured Creditor Reference)
112114
* ISO 6346 (International standard for container identification)
113115
* ISSN (International Standard Serial Number)
114116
* Codice Fiscale (Italian tax code for individuals)
@@ -121,13 +123,16 @@ Currently this package supports the following formats:
121123
* Montenegro IBAN (International Bank Account Number)
122124
* MEID (Mobile Equipment Identifier)
123125
* VAT (Maltese VAT number)
126+
* ID number (Mauritian national identifier)
124127
* RFC (Registro Federal de Contribuyentes, Mexican tax number)
125128
* NRIC No. (Malaysian National Registration Identity Card Number)
126129
* BRIN number (the Dutch school identification number)
127130
* BSN (Burgerservicenummer, the Dutch citizen identification number)
128131
* Btw-nummer (Omzetbelastingnummer, the Dutch VAT number)
129132
* Onderwijsnummer (the Dutch student identification number)
130133
* Postcode (the Dutch postal code)
134+
* Norwegian IBAN (International Bank Account Number)
135+
* Konto nr. (Norwegian bank account number)
131136
* MVA (Merverdiavgift, Norwegian VAT number)
132137
* Orgnr (Organisasjonsnummer, Norwegian organisation number)
133138
* NIP (Numer Identyfikacji Podatkowej, Polish VAT number)

docs/index.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ Available formats
116116
bg.pnf
117117
bg.vat
118118
bic
119+
bitcoin
119120
br.cnpj
120121
br.cpf
121122
ca.bn
@@ -194,6 +195,7 @@ Available formats
194195
isil
195196
isin
196197
ismn
198+
iso11649
197199
iso6346
198200
issn
199201
it.codicefiscale
@@ -206,13 +208,16 @@ Available formats
206208
me.iban
207209
meid
208210
mt.vat
211+
mu.nid
209212
mx.rfc
210213
my.nric
211214
nl.brin
212215
nl.bsn
213216
nl.btw
214217
nl.onderwijsnummer
215218
nl.postcode
219+
no.iban
220+
no.kontonr
216221
no.mva
217222
no.orgnr
218223
pl.nip

docs/stdnum.bitcoin.rst

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

docs/stdnum.iso11649.rst

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

docs/stdnum.mu.nid.rst

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

docs/stdnum.no.iban.rst

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

docs/stdnum.no.kontonr.rst

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

stdnum/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@
4242
__all__ = (' 8427 get_cc_module', '__version__')
4343

4444
# the version number of the library
45-
__version__ = '1.9'
45+
__version__ = '1.10'

stdnum/at/postleitzahl.dat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# generated from PLZ_Verzeichnis_APR18.xls downloaded from
1+
# generated from PLZ_Verzeichnis_OKT18.xls downloaded from
22
# https://www.post.at/en/business_advertise_products_and_services_addresses_postcodes.php
33
1010 location="Wien" region="Wien"
44
1020 location="Wien" region="Wien"

0 commit comments

Comments
 (0)
0