forked from arthurdejong/python-stdnum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
4304 lines (2772 loc) · 146 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2019-10-27 Arthur de Jong <[email protected]>
* [6ca5b53] stdnum/at/postleitzahl.dat, stdnum/be/banks.dat,
stdnum/cn/loc.dat, stdnum/eu/nace.dat, stdnum/imsi.dat,
stdnum/isbn.dat, stdnum/isil.dat, stdnum/my/bp.dat,
stdnum/nz/banks.dat, stdnum/oui.dat, stdnum/us/ein.dat,
tests/test_be_iban.doctest: Update database files
The BIC for some former Record Bank accounts (now ING Belgium)
was changed from HBKABE22 to BBRUBEBB (that of ING).
2019-10-27 Arthur de Jong <[email protected]>
* [5b835bb] update/imsi.py: Parse multiple Wikipedia pages for
full MCC/MNC list
2019-10-27 Arthur de Jong <[email protected]>
* [29de83e] update/oui.py: Make the IEEE OUI data more compact
This groups consecutive assignments into a range to make the
dat file a little more readable.
2019-10-27 Arthur de Jong <[email protected]>
* [67b747b] update/at_postleitzahl.py, update/be_banks.py,
update/cn_loc.py, update/do_whitelists.py, update/iban.py,
update/imsi.py, update/isil.py, update/my_bp.py, update/numlist.py,
update/nz_banks.py, update/oui.py: Switch update scripts to
Python 3
2019-10-27 Arthur de Jong <[email protected]>
* [0915b55] update/at_postleitzahl.py, update/be_banks.py,
update/cn_loc.py, update/do_whitelists.py, update/eu_nace.py,
update/iban.py, update/imsi.py, update/isbn.py, update/isil.py,
update/oui.py: Switch update scripts to use requests
This makes the scripts more consistent.
2019-10-27 Arthur de Jong <[email protected]>
* [40961fc] update/at_postleitzahl.py, update/eu_nace.py,
update/isbn.py, update/isil.py, update/my_bp.py,
update/requirements.txt: Switch update scripts to lxml
This avoids an extra dependency on Beautiful Soup and makes the
scripts more consistent.
This also includes a fix in the ISIL because of website changes.
2019-10-27 Arthur de Jong <[email protected]>
* [c4ad714] update/my_bp.crt, update/my_bp.py: Work around incorrect
jpn.gov.my certificate chain
The intermediate certificate for jpn.gov.my is missing from the
certificate chain that is returned by the server since the server
switched to HTTPS.
2019-10-27 Arthur de Jong <[email protected]>
* [c9ad8d3] update/nz_banks.py: Fix New Zealand Bank Branch Register
update script
There is now a direct URL for the XLS file and there is no longer
a need to search the page for a link.
2019-10-16 Gerard Dalmau <[email protected]>
* [7f3dcf0] stdnum/es/cif.py, stdnum/es/cups.py, stdnum/es/dni.py,
stdnum/es/nie.py, stdnum/es/nif.py: Improve descriptions of
Spanish codes
Closes https://github.com/arthurdejong/python-stdnum/pull/169
2019-10-14 Arthur de Jong <[email protected]>
* [54218b1] stdnum/kr/rrn.py: Fix rrn documentation
This also fixes Python 2.6 compatibility.
Fixes 790a052
2019-10-14 Dimitri Papadopoulos
* [790a052] stdnum/kr/__init__.py, stdnum/kr/rrn.py,
tests/test_kr_rrn.doctest: Add South Korean Resident Registration
Numbers
2019-10-13 Andreas Häber <[email protected]>
* [63a643f] stdnum/au/__init__.py: AU: Provide vat as alias from tfn
Closes https://github.com/arthurdejong/python-stdnum/pull/167
2019-10-13 Andreas Häber <[email protected]>
* [6119590] stdnum/at/__init__.py: AT: Provide personalid as an
alias from vnr
Closes https://github.com/arthurdejong/python-stdnum/pull/166
2019-10-13 Arthur de Jong <[email protected]>
* [3aedb1f] tests/test_ar_cbu.doctest, tests/test_ar_cuit.doctest,
tests/test_au_abn.doctest, tests/test_bg_vat.doctest: Add various
test numbers
2019-09-27 Andreas Häber <[email protected]>
* [d43ad77] stdnum/is_/__init__.py: IS: Provide personalid as an
alias from kennitala
2019-09-27 Andreas Häber <[email protected]>
* [e5d7d9f] stdnum/dk/__init__.py: DK: Provide personalid as an
alias from cpr
2019-09-18 Alan Hettinger <[email protected]>
* [37e6032] stdnum/jp/__init__.py, stdnum/jp/cn.py,
tests/test_jp_cn.doctest: Add Japan Corporate Number
Closes https://github.com/arthurdejong/python-stdnum/pull/157
2019-10-09 Amin Solhizadeh <[email protected]>
* [5441ffa] stdnum/se/personnummer.py,
tests/test_se_personnummer.doctest: Handle - and + sign correctly
in Swedish Personnummer
For people aged 100 and up, the minus/dash in the personnummer is
changed to a plus, on new year's eve the year they turn 100. See
Folkbokföringslagen (1991:481), §18.
This makes the - or + sign part of the number.
Closes https://github.com/arthurdejong/python-stdnum/issues/156
Closes https://github.com/arthurdejong/python-stdnum/pull/160
2019-08-29 Jeffry Jesus De La Rosa <[email protected]>
* [9c18ac5] stdnum/do/ncf.py: Fix broken links to DGII documentation
DGII has changed its page, all the link have been broken, so
they changed some URL.
Closes https://github.com/arthurdejong/python-stdnum/pull/153
2019-10-11 Jeffry Jesus De La Rosa <[email protected]>
* [ac50afa] stdnum/do/ncf.py: Change DGII form parameters
DGII has changed their validation mechanism, so we first exract
the __EVENTVALIDATION and __VIEWSTATE from the form and put them
in the post request for validation.
Closes https://github.com/arthurdejong/python-stdnum/pull/165
2019-10-13 Arthur de Jong <[email protected]>
* [aadf121] .travis.yml: Avoid skipping missing interpreters
on Travis
2019-08-12 Arthur de Jong <[email protected]>
* [8cb71f2] tox.ini: Drop pinning of pydocstyle now flake8-docstrings
has been fixed
Reverts 61c762d
2019-08-02 Arthur de Jong <[email protected]>
* [d9b4818] setup.cfg: Show missing lines in coverage report
2019-08-02 Arthur de Jong <[email protected]>
* [d5bf6e5] .travis.yml: Fix Travis build to use trusty for some
Python versions
Python 2.6 is not available xenial which is the default now. The
coverage also does not seem to work for pypy3.
2019-06-23 Leandro Regueiro <[email protected]>
* [2f38aaf] stdnum/gt/__init__.py, stdnum/gt/nit.py,
tests/test_gt_nit.doctest: Add Guatemalan NIT
Closes https://github.com/arthurdejong/python-stdnum/pull/149
Closes https://github.com/arthurdejong/python-stdnum/issues/132
2019-07-21 Arthur de Jong <[email protected]>
* [db89d38] stdnum/de/handelsregisternummer.py,
tests/test_de_handelsregisternummer.doctest: Fix the
Handelsregisternummer number matching
This ensures that numbers of 1 digit are also accepted and that
trailing characters are not silently discardede in the validation.
This also adds a few test cases for this and makes "Paderborn
früher Höxter" an alias for "Paderborn".
Closes https://github.com/arthurdejong/python-stdnum/issues/143
2019-07-21 Arthur de Jong <[email protected]>
* [e75b1bf] stdnum/de/handelsregisternummer.py,
tests/test_de_handelsregisternummer.py: Lookup German
Handelsregisternummer in OffeneRegister.de
This supports looking up the German Handelsregisternummer using
the online OffeneRegister.de web service.
2019-07-21 Arthur de Jong <[email protected]>
* [fb72550] tox.ini: Do not require Python 2 for building Sphinx docs
This results in tox using Python 3, mostly to work around
https://sourceforge.net/p/docutils/bugs/365/
2019-07-21 Arthur de Jong <[email protected]>
* [61c762d] tox.ini: Avoid newer pydocstyle
Do not install the latest pydocstyle because it currently breaks
flake8-docstring. This pinning should be removed as soon as
https://gitlab.com/pycqa/flake8-docstrings/issues/36 is resolved.
2019-07-14 Arthur de Jong <[email protected]>
* [ad96b15] stdnum/util.py: Support normalising quotes
See https://github.com/arthurdejong/python-stdnum/issues/150
2019-06-23 Leandro Regueiro <[email protected]>
* [4ad2d9c] stdnum/ad/__init__.py, stdnum/ad/nrt.py,
tests/test_ad_nrt.doctest: Add Andorran TIN
Closes https://github.com/arthurdejong/python-stdnum/pull/145
Closes https://github.com/arthurdejong/python-stdnum/issues/119
2019-06-15 Leandro Regueiro <[email protected]>
* [510a46a] stdnum/cr/cr.py, tests/test_cr_cr.doctest: Add Costa
Rica foreigners identification number
Part of https://github.com/arthurdejong/python-stdnum/issues/141
Closes https://github.com/arthurdejong/python-stdnum/pull/140
2019-06-15 Leandro Regueiro <[email protected]>
* [4b10f56] stdnum/cr/cpf.py, tests/test_cr_cpf.doctest: Add Costa
Rica Cédula de Identidad
Closes https://github.com/arthurdejong/python-stdnum/issues/139
2019-06-15 Leandro Regueiro <[email protected]>
* [d0da884] stdnum/cr/__init__.py, stdnum/cr/cpj.py,
tests/test_cr_cpj.doctest: Add Costa Rica TIN number
Closes https://github.com/arthurdejong/python-stdnum/issues/109
2019-06-10 Leandro Regueiro <[email protected]>
* [1e814ce] stdnum/za/__init__.py, stdnum/za/tin.py,
tests/test_za_tin.doctest: Add South Africa TIN number
Closes https://github.com/arthurdejong/python-stdnum/pull/129
Closes https://github.com/arthurdejong/python-stdnum/issues/108
2019-06-09 Leandro Regueiro <[email protected]>
* [8c1015a] stdnum/py/__init__.py, stdnum/py/ruc.py,
tests/test_py_ruc.doctest: Add Paraguay RUC number
This supports RUC number validation of rphysical persons,
non-juridical persons and foreigners.
Closes https://github.com/arthurdejong/python-stdnum/issues/122
Closes https://github.com/arthurdejong/python-stdnum/pull/123
2019-06-14 Jeffry Jesus De La Rosa <[email protected]>
* [e1ea8db] stdnum/do/ncf.py: Update Dominican Republic e-CF
documents types
The document type values are different from the NCF document types
https://dgii.gov.do/contribuyentes/personasFisicas/inicioOperaciones/ComprobantesFiscales/Paginas/comprobantesFiscalesElectronicos.aspx
Closes https://github.com/arthurdejong/python-stdnum/pull/138
2019-06-06 Leandro Regueiro <[email protected]>
* [817c177] stdnum/uy/__init__.py, stdnum/uy/rut.py,
tests/test_uy_rut.doctest: Add Uruguay RUT number
Closes https://github.com/arthurdejong/python-stdnum/pull/121
Closes https://github.com/arthurdejong/python-stdnum/issues/110
2019-06-14 Arthur de Jong <[email protected]>
* [51e00da] stdnum/de/handelsregisternummer.py,
tests/test_de_handelsregisternummer.doctest: Fix
handelsregisternummer to not turn Hamburg into Homburg
This changes the minimisation function that is used for comparison
and canonicalisation to not reduce Hamburg and Homburg to the
same string. This makes the function slightly more strict in
which encoding differences to accept.
This also adds a few aliases to the court names.
Closes https://github.com/arthurdejong/python-stdnum/issues/136
2019-06-10 Jeffry Jesus De La Rosa <[email protected]>
* [5d0f288] stdnum/do/ncf.py, tests/test_do_ncf.doctest: Support
Dominican Republic e-CF within NCF
e-CF is the new way of DGII document, is the same as NCF, but
the difference one to another, is that e-CF has 13 digit and
is electronic invoice, with this change it will validate the
correct NCF and e-CF.
Closes https://github.com/arthurdejong/python-stdnum/pull/135
2019-06-06 Leandro Regueiro <[email protected]>
* [7fb390e] .gitignore: .gitignore: Also exclude some editor
backup files
2019-06-02 Leandro Regueiro <[email protected]>
* [7211ccb] stdnum/nz/ird.py, tests/test_nz_ird.doctest: Add New
Zealand IRD number
Closes https://github.com/arthurdejong/python-stdnum/pull/112
Closes https://github.com/arthurdejong/python-stdnum/issues/104
2019-06-02 Arthur de Jong <[email protected]>
* [c969fc8] stdnum/eu/nace.py: Ignore wrong docstring detection
Fixes 170e599
2019-06-02 Arthur de Jong <[email protected]>
* [170e599] docs/stdnum.eu.nace.rst, stdnum/eu/nace.py: Rename
stdnum.eu.nace.label() to get_label()
To be more consistent with other similar functions. This deprecates
the old function which now is a wrapper around get_label().
2019-06-02 Arthur de Jong <[email protected]>
* [6988d91] stdnum/tr/tckimlik.py, stdnum/tr/vkn.py,
tests/test_tr_vkn.doctest: Add Vergi Kimlik Numarası
Closes https://github.com/arthurdejong/python-stdnum/issues/99
2019-05-23 Sergi Almacellas Abellana <[email protected]>
* [8292779] stdnum/ean.py: Add GTIN (EAN-14) validation
2019-05-12 Arthur de Jong <[email protected]>
* [4ac84c5] stdnum/ve/__init__.py, stdnum/ve/rif.py,
tests/test_ve_rif.doctest: Add Venezuelan RIF (VAT number)
Closes https://github.com/arthurdejong/python-stdnum/issues/97
2019-05-01 Arthur de Jong <[email protected]>
* [a6521e6] tests/test_isbn.doctest, tox.ini: Fix remaining issue
with encoding
This also sets the python 2.6 interpreter explicityly because
sometimes tox seems to get the wrong one.
Fixes 680a95f
2019-04-29 Arthur de Jong <[email protected]>
* [b1af986] tests/test_isbn.doctest: Re-add Python 2.6 support
Fixes 48ff92e
2019-04-28 Arthur de Jong <[email protected]>
* [8307b94] setup.cfg: Don't force "" strings to avoid escaping
quotes
Fixes test failures with recent flake8-quotes.
2019-04-28 Arthur de Jong <[email protected]>
* [c1fb46a] stdnum/util.py, tests/test_util.doctest: Convert
various reasonable unicode digits
This converts many of the "reasonable" unicode digits that are
just variations on ASCII 0-9 to their ASCII counterparts.
2019-04-28 Arthur de Jong <[email protected]>
* [48ff92e] stdnum/ar/cbu.py, stdnum/ar/cuit.py, stdnum/ar/dni.py,
stdnum/at/businessid.py, stdnum/at/postleitzahl.py,
stdnum/at/tin.py, stdnum/at/uid.py, stdnum/at/vnr.py,
stdnum/au/abn.py, stdnum/au/acn.py, stdnum/au/tfn.py,
stdnum/be/vat.py, stdnum/bg/egn.py, stdnum/bg/pnf.py,
stdnum/bg/vat.py, stdnum/br/cnpj.py, stdnum/br/cpf.py,
stdnum/ca/bn.py, stdnum/ca/sin.py, stdnum/casrn.py,
stdnum/ch/uid.py, stdnum/cl/rut.py, stdnum/cn/ric.py,
stdnum/co/nit.py, stdnum/cu/ni.py, stdnum/cy/vat.py,
stdnum/cz/dic.py, stdnum/cz/rc.py, stdnum/de/idnr.py,
stdnum/de/stnr.py, stdnum/de/vat.py, stdnum/dk/cpr.py,
stdnum/dk/cvr.py, stdnum/do/cedula.py, stdnum/do/ncf.py,
stdnum/do/rnc.py, stdnum/ean.py, stdnum/ec/ci.py, stdnum/ec/ruc.py,
stdnum/ee/ik.py, stdnum/ee/kmkr.py, stdnum/ee/registrikood.py,
stdnum/es/ccc.py, stdnum/es/cif.py, stdnum/es/cups.py,
stdnum/es/dni.py, stdnum/es/nie.py, stdnum/es/nif.py,
stdnum/eu/banknote.py, stdnum/eu/nace.py, stdnum/fi/alv.py,
stdnum/fi/associationid.py, stdnum/fi/veronumero.py,
stdnum/figi.py, stdnum/fr/nif.py, stdnum/fr/nir.py,
stdnum/fr/siren.py, stdnum/fr/siret.py, stdnum/fr/tva.py,
stdnum/gb/nhs.py, stdnum/gb/sedol.py, stdnum/gb/upn.py,
stdnum/gb/vat.py, stdnum/gr/amka.py, stdnum/gr/vat.py,
stdnum/hr/oib.py, stdnum/hu/anum.py, stdnum/ie/vat.py,
stdnum/il/idnr.py, stdnum/imei.py, stdnum/imo.py, stdnum/imsi.py,
stdnum/in_/pan.py, stdnum/is_/vsk.py, stdnum/isbn.py,
stdnum/issn.py, stdnum/it/iva.py, stdnum/lt/asmens.py,
stdnum/lt/pvm.py, stdnum/lu/tva.py, stdnum/lv/pvn.py,
stdnum/md/idno.py, stdnum/meid.py, stdnum/mt/vat.py,
stdnum/mu/nid.py, stdnum/my/nric.py, stdnum/nl/bsn.py,
stdnum/nl/btw.py, stdnum/nl/onderwijsnummer.py,
stdnum/no/fodselsnummer.py, stdnum/no/kontonr.py,
stdnum/no/orgnr.py, stdnum/nz/bankaccount.py, stdnum/pe/cui.py,
stdnum/pe/ruc.py, stdnum/pl/nip.py, stdnum/pl/pesel.py,
stdnum/pl/regon.py, stdnum/pt/nif.py, stdnum/ro/cf.py,
stdnum/ro/cnp.py, stdnum/rs/pib.py, stdnum/ru/inn.py,
stdnum/se/orgnr.py, stdnum/se/personnummer.py, stdnum/se/vat.py,
stdnum/si/ddv.py, stdnum/sk/dph.py, stdnum/sm/coe.py,
stdnum/tr/tckimlik.py, stdnum/us/rtn.py, stdnum/util.py,
tests/test_cn_ric.doctest, tests/test_isbn.doctest,
tests/test_robustness.doctest, tests/test_util.doctest: Use an
internal isdigits() function instead of str.isdigit()
The problem with the latter is that it will also accept all kinds
of unicode digits that are not the ASCII 0-9 digits causing all
kinds of problems in check digit calculations.
Some of these unicode characters are also considered digits
by int() but some are not (such as the SUPERSCRIPT TWO unicode
character).
Closes https://github.com/arthurdejong/python-stdnum/issues/96
2019-04-04 Arthur de Jong <[email protected]>
* [3aeec68] stdnum/il/__init__.py, stdnum/il/idnr.py: Add Israeli
identity number
2019-03-24 Arthur de Jong <[email protected]>
* [e07a0e2] stdnum/pe/cui.py, tests/test_pe_cui.doctest: Add
Peruvian CUI (DNI)
2019-03-23 Arthur de Jong <[email protected]>
* [2e87251] stdnum/pe/__init__.py, stdnum/pe/ruc.py,
tests/test_pe_ruc.doctest: Add Peruvian RUC
2019-03-10 Arthur de Jong <[email protected]>
* [72cbfb8] ChangeLog, NEWS, README, docs/changes.rst, docs/conf.py,
docs/index.rst, docs/stdnum.ar.dni.rst, docs/stdnum.at.vnr.rst,
docs/stdnum.cu.ni.rst, docs/stdnum.gr.amka.rst,
docs/stdnum.lt.asmens.rst, docs/stdnum.mac.rst,
docs/stdnum.md.idno.rst, docs/stdnum.mx.curp.rst,
docs/stdnum.no.fodselsnummer.rst, docs/stdnum.nz.bankaccount.rst,
docs/stdnum.se.personnummer.rst, stdnum/__init__.py: Get files
ready for 1.11 release
This also adds the release notes to the generated documentation.
2019-03-10 Arthur de Jong <[email protected]>
* [fdeeb9a] stdnum/at/postleitzahl.dat, stdnum/be/banks.dat,
stdnum/cn/loc.dat, stdnum/eu/nace.dat, stdnum/iban.dat,
stdnum/imsi.dat, stdnum/isbn.dat, stdnum/isil.dat, stdnum/oui.dat:
Update database files
2019-03-10 Arthur de Jong <[email protected]>
* [fbbb550] update/at_postleitzahl.py, update/isil.py,
update/my_bp.py, update/requirements.txt: Switch update scripts
to beautifulsoup4
2019-02-27 Arthur de Jong <[email protected]>
* [61a8a94] stdnum/ee/ik.py: Add documentation
2018-12-27 Arthur de Jong <[email protected]>
* [151e0d8] stdnum/ar/cbu.py: Remove broken link
2019-03-10 Arthur de Jong <[email protected]>
* [3f953f3] stdnum/nz/__init__.py, stdnum/nz/bankaccount.py,
stdnum/nz/banks.dat, tests/test_nz_bankaccount.doctest,
update/nz_banks.py: Add New Zealand bank account number
2019-03-03 Arthur de Jong <[email protected]>
* [4e25e31] stdnum/md/__init__.py, stdnum/md/idno.py,
tests/test_md_idno.doctest: Add Moldavian IDNO
2019-03-03 Arthur de Jong <[email protected]>
* [d5d812b] tests/test_bg_egn.doctest: Add more tests for
Bulgarian EGN
2019-03-03 Arthur de Jong <[email protected]>
* [60cb887] stdnum/mac.py, tests/test_mac.doctest: Rename MAC
check_manufacturer to validate_manufacturer
For consistency with the other validation modules that have
an extra argument to disable or enable certain parts of the
validation.
2019-03-03 Arthur de Jong <[email protected]>
* [39b8ace] stdnum/lt/asmens.py, tests/test_lt_asmens.doctest:
Add Lithuanian Asmens kodas
2019-02-27 Arthur de Jong <[email protected]>
* [ab91d87] stdnum/gr/amka.py, tests/test_gr_amka.doctest: Add
Greek AMKA social security number
2019-02-20 Arthur de Jong <[email protected]>
* [6eadca1] setup.cfg, setup.py, stdnum/__init__.py,
stdnum/bic.py, stdnum/cl/__init__.py, stdnum/co/__init__.py,
stdnum/eu/at_02.py, stdnum/iso6346.py, stdnum/iso9362.py,
stdnum/numdb.py, stdnum/sk/rc.py, stdnum/us/tin.py,
tox.ini, update/at_postleitzahl.py, update/do_whitelists.py,
update/my_bp.py, update/numlist.py: Switch from import-order
to isort
2019-02-17 Arthur de Jong <[email protected]>
* [9daa1b0] stdnum/ar/cbu.py, stdnum/at/uid.py, stdnum/iban.py,
update/iban.py: Fix typos
2019-02-17 Arthur de Jong <[email protected]>
* [cc6ffec] stdnum/de/handelsregisternummer.py, stdnum/de/stnr.py,
stdnum/do/cedula.py, stdnum/numdb.py: Improvements reported
by pylint
2019-02-17 Arthur de Jong <[email protected]>
* [be8e258] stdnum/cu/__init__.py, stdnum/cu/ni.py: Add Cuban
número de identidad
2019-02-11 Andrés R <[email protected]>
* [0fc0c30] stdnum/do/rnc.py: Return only first response from
DGII lookup
This fixes an issue when response for check_dgii() comes with
2 records instead of one for same RNC.
Closes https://github.com/arthurdejong/python-stdnum/pull/95
2019-02-10 Arthur de Jong <[email protected]>
* [b4773ae] .travis.yml, setup.py, tox.ini: Add Python 3.7 tests
2019-02-05 Arthur de Jong <[email protected]>
* [50874a9] stdnum/mx/__init__.py, stdnum/mx/curp.py,
tests/test_mx_curp.doctest: Add Mexican CURP
2019-01-29 Arthur de Jong <[email protected]>
* [4cb44aa] stdnum/bg/egn.py, stdnum/cz/rc.py, stdnum/dk/cpr.py,
stdnum/lv/pvn.py, stdnum/ro/cnp.py: Call compact in
get_birth_date() functions
This ensures that formatting characters are also removed when
formatted numbers are passed to the get_birth_date() functions.
Closes https://github.com/arthurdejong/python-stdnum/issues/94
2018-12-28 Arthur de Jong <[email protected]>
* [3f4a08a] stdnum/mac.py, stdnum/oui.dat, tests/test_mac.doctest,
update/oui.py: Add MAC address
This adds validation of MAC (Ethernet) addresses. It will perform
lookups in the IEEE registry for manufacturer names for universally
administered addresses.
Closes https://github.com/arthurdejong/python-stdnum/issues/93
2018-12-27 Arthur de Jong <[email protected]>
* [d7f7b8e] stdnum/ar/__init__.py, stdnum/ar/dni.py: Add Argentinian
DNI
Closes https://github.com/arthurdejong/python-stdnum/issues/90
2018-12-26 Arthur de Jong <[email protected]>
* [375f63b] stdnum/at/vnr.py: Add Austrian Versicherungsnummer
2018-11-27 Ilya Vihtinsky <[email protected]>
* [b77c9cd] stdnum/se/__init__.py, stdnum/se/personnummer.py,
tests/test_se_personnummer.doctest: Add Swedish Personnummer
Closes https://github.com/arthurdejong/python-stdnum/pull/88
2018-11-27 Ilya Vihtinsky <[email protected]>
* [d11e5c4] stdnum/no/__init__.py, stdnum/no/fodselsnummer.py,
tests/test_no_fodselsnummer.doctest: Add Norwegian Fødselsnummer
Closes https://github.com/arthurdejong/python-stdnum/pull/88
2018-12-07 Mario Puntin <[email protected]>
* [bb24c2f] stdnum/ar/cuit.py: Add format for Argentinian CUIT number
Closes https://github.com/arthurdejong/python-stdnum/pull/89
2018-11-24 Christopher Ormaza <[email protected]>
* [069279a] stdnum/ec/ci.py, stdnum/ec/ruc.py: Support Cedula and
RUC of foreigners
Add the case of Cedulas and RUCs of foreigners in Ecuador,
as Venezuelans and Colombians
Closes https://github.com/arthurdejong/python-stdnum/pull/87
2018-11-12 Gustavo Valverde <[email protected]>
* [e31ff95] stdnum/do/ncf.py, stdnum/do/rnc.py: Use HTTPS for WSDL
as HTTP was deprecated
The regulator changed their site to use HTTPS by default; making
this resource unavailable through HTTP.
Closes https://github.com/arthurdejong/python-stdnum/pull/85
2018-11-11 Arthur de Jong <[email protected]>
* [8677d04] setup.cfg: Make the multi-line operator place explicit
Recent versions of flake8 changed the defaults of the errors
to ignore.
2018-10-14 Arthur de Jong <[email protected]>
* [a68f3ca] ChangeLog, NEWS, README, docs/index.rst,
docs/stdnum.bitcoin.rst, docs/stdnum.iso11649.rst,
docs/stdnum.mu.nid.rst, docs/stdnum.no.iban.rst,
docs/stdnum.no.kontonr.rst, stdnum/__init__.py,
stdnum/at/postleitzahl.dat, stdnum/be/banks.dat, stdnum/cn/loc.dat,
stdnum/eu/nace.dat, stdnum/imsi.dat, stdnum/isbn.dat,
update/my_bp.py: Get files ready for 1.10 release
2018-10-14 Arthur de Jong <[email protected]>
* [6b85f91] stdnum/iban.py, tests/test_iban.doctest: Raise
InvalidComponent on unknown IBAN country
This partially reverts 58ea7b2.
Closes https://github.com/arthurdejong/python-stdnum/issues/82
2018-10-09 Arthur de Jong <[email protected]>
* [58ea7b2] stdnum/iban.py, tests/test_iban.doctest: Fix issue
with minimal IBAN
This ensures that an IBAN with a missing bban part and unknown
country code (while still having a valid MOD 97,10 checksum)
is considered valid.
Closes https://github.com/arthurdejong/python-stdnum/issues/84
2018-09-30 Arthur de Jong <[email protected]>
* [54c3650] stdnum/bitcoin.py, tests/test_bitcoin.doctest:
Bitcoin address
This adds validation of Bitcoin addresses. No check is done that
the addresses actually exist but only that they are syntactically
correct.
Closes https://github.com/arthurdejong/python-stdnum/issues/80
2018-09-21 Levin Rickert <[email protected]>
* [510ee93] stdnum/ru/__init__.py: Add vat alias for Russia
2018-08-30 Gerard Dalmau <[email protected]>
* [e58c09a] tests/test_es_cups.doctest,
tests/test_es_referenciacatastral.doctest: Fix ES test descriptions
2018-08-30 Gerard Dalmau <[email protected]>
* [4a76779] stdnum/es/cif.py, stdnum/es/nif.py,
tests/test_es_nif.doctest: Improve CIF and NIF validation
NIF starting with K, L or M are NIF instead of CIF.
This also adds NIF-DNI-CIF-NIE classification tests.
Closes https://github.com/arthurdejong/python-stdnum/pull/81
2018-08-22 Arthur de Jong <[email protected]>
* [5af712b] stdnum/no/iban.py, stdnum/no/kontonr.py,
tests/test_iban.doctest: Add Norwegian bank account number
This includes validation of Norwegian bank account numbers and
conversion to IBAN.
Closes https://github.com/arthurdejong/python-stdnum/issues/79
2018-08-08 Arthur de Jong <[email protected]>
* [ec39d86] stdnum/mu/__init__.py, stdnum/mu/nid.py,
tests/test_mu_nid.doctest: Add Mauritian national ID number
Thans to Bradley Smith for providing the needed information to
implement this.
See
https://lists.arthurdejong.org/python-stdnum-users/2018/msg00003.html
2018-05-24 Esben Toke Christensen <[email protected]>
* [676d62c] stdnum/iso11649.py, tests/test_iso11649.doctest:
Add iso11649 structured creditor reference
Closes https://github.com/arthurdejong/python-stdnum/pull/72
2018-06-18 PanderMusubi <[email protected]>
* [65b5bfe] README, stdnum/nl/brin.py, stdnum/nl/bsn.py,
stdnum/nl/btw.py, stdnum/nl/onderwijsnummer.py,
stdnum/nl/postcode.py: Improved texts and added links
Closes https://github.com/arthurdejong/python-stdnum/pull/75
2018-05-19 Arthur de Jong <[email protected]>
* [6e776ae] stdnum/do/ncf.py, tests/test_do_ncf.py: Switch the
NCF online check to the new form
This tries to screen-scrape the new DGII form that is used to
validate the new format of NCF numbers.
Closes https://github.com/arthurdejong/python-stdnum/issues/71
2018-05-01 Arthur de Jong <[email protected]>
* [04f78fb] online_check/stdnum.wsgi: Fix encoding issues in
online check
This ensures that all text is unicode internally and encoded to
UTF-8 on response.
2018-05-01 Arthur de Jong <[email protected]>
* [bae6f19] stdnum/mx/rfc.py, tests/test_mx_rfc.doctest: Fix an
issue with format of Mexican tax numbers
Fix an issue where the format accepted a mix of personal and
company numberer in validation causing in a raised ValueError
exception.
2018-05-01 Arthur de Jong <[email protected]>
* [08d1053] stdnum/es/referenciacatastral.py, stdnum/mx/rfc.py,
stdnum/util.py, tests/test_util.doctest: Make unicode conversion
standard
A few modules use non-ASCII characters in numbers. This
introduces a to_unicode() function in util so that it can be
used by multiple modules.
2018-04-14 Arthur de Jong <[email protected]>
* [d9defc8] ChangeLog, NEWS, README, docs/index.rst,
docs/stdnum.at.postleitzahl.rst, docs/stdnum.at.tin.rst,
docs/stdnum.be.iban.rst, docs/stdnum.de.handelsregisternummer.rst,
docs/stdnum.de.stnr.rst, docs/stdnum.figi.rst,
docs/stdnum.me.iban.rst, setup.py, stdnum/__init__.py,
stdnum/at/postleitzahl.dat, stdnum/be/banks.dat, stdnum/cn/loc.dat,
stdnum/eu/nace.dat, stdnum/imsi.dat, stdnum/isbn.dat,
stdnum/isil.dat, stdnum/us/ein.dat, update/isil.py: Get files
ready for 1.9 release
2018-04-12 Arthur de Jong <[email protected]>
* [e200656] stdnum/iban.py, tests/test_be_iban.doctest: Add an
extra test for Belgian IBANs
A Belgian IBAN should not end with 00. This also fixes a docstring
and comment in the IBAN module.
2018-04-10 Arthur de Jong <[email protected]>
* [e6739be] stdnum/imsi.dat, stdnum/imsi.py, tests/test_imsi.doctest,
update/imsi.py: Correctly split IMSI with multi-length MNC
Ensures that imsi.split() will correctly split the IMSI into
an MCC, MNC and MSIN even if not all MNCs within a single MCC
have the same length. This has the downside of not being able
to guess the MNC length in some cases.
This also omits empty information from the data file and updates
the data file from Wikipedia.
Closes https://github.com/arthurdejong/python-stdnum/issues/68
2018-04-09 Arthur de Jong <[email protected]>
* [2541a22] online_check/check.js: Improve online check animation
This speeds up the animation, collapsing the list before
performing the server request and disable the slide animation
on history navigation.
2018-04-09 Arthur de Jong <[email protected]>
* [147b84b] online_check/stdnum.wsgi: Ensure API requests are
cached separately
This ensures that requests that browsers make using XMLHttpRequest
(they set the X-Requested-With header) are cached separately
from normal requests.
2018-04-09 Arthur de Jong <[email protected]>
* [8204ac6] stdnum/do/ncf.py: Support new style of NCF numbers
This adds support for validating Dominican Republic invoice
numbers that should be used since from 2018-05-01.
http://www.dgii.gov.do/contribuyentes/personasFisicas/inicioOperaciones/ComprobantesFiscales/Paginas/SecuenciaDeNCF.aspx
Closes https://github.com/arthurdejong/python-stdnum/issues/69
2018-03-25 Arthur de Jong <[email protected]>
* [918d483] stdnum/figi.py, tests/test_figi.doctest: Add Financial
Instrument Global Identifier
2018-03-23 Arthur de Jong <[email protected]>
* [ceb3c62] stdnum/de/__init__.py,
stdnum/de/handelsregisternummer.py,
tests/test_de_handelsregisternummer.doctest: Add German company
registry numbers
Based on the implementation provided by Markus Törnqvist and
Lari Haataja of Holvi Payment Services.
2018-03-19 Arthur de Jong <[email protected]>
* [fec1685] stdnum/at/tin.py: Also ignore other letters with
possible umlaut
Fixes 98d11a3
Closes https://github.com/arthurdejong/python-stdnum/pull/67
2018-03-18 Arthur de Jong <[email protected]>
* [98d11a3] stdnum/at/fa.dat, stdnum/at/tin.py,
tests/test_at_tin.doctest: Add Austrian Abgabenkontonummer
Based on the implementation provided by Mohammed Salman of Holvi.
Closes https://github.com/arthurdejong/python-stdnum/pull/50
2018-03-17 Arthur de Jong <[email protected]>
* [ab15e20] stdnum/at/__init__.py: Fix import order
Fixes ee263a5
2018-03-17 Arthur de Jong <[email protected]>
* [ee263a5] setup.cfg, stdnum/at/__init__.py,
stdnum/at/postleitzahl.dat, stdnum/at/postleitzahl.py,
stdnum/nl/__init__.py, update/at_postleitzahl.py: Add Austrian
postal code
This also fixes the name of the Dutch postal_code alias and
tunes the tests.
2018-03-17 Arthur de Jong <[email protected]>
* [8c29fbf] stdnum/me/__init__.py, stdnum/me/iban.py,
tests/test_iban.doctest: Add support for Montenegro IBAN format
This adds further checks to the country-specific part of the
IBAN for Montenegro IBANs.
2018-03-11 Arthur de Jong <[email protected]>
* [647dfea] stdnum/de/stnr.py, tests/test_de_stnr.doctest: Add
German Steuernummer
Based on the implementation provided by Mohammed Salman of Holvi.
This is the old tax number that is being replaced by the
Steuerliche Identifikationsnummer. The number has a regional form
(which is used most often) and a national form.
Closes https://github.com/arthurdejong/python-stdnum/pull/49
2018-02-28 Esa Halsti <[email protected]>
* [6e30cf5] stdnum/fi/hetu.py, tests/test_fi_hetu.doctest: Add
validation for "individual" part of hetu
The range between 900 and 999 is reserved for temporary identifiers
and is not given to any real person.
Closes https://github.com/arthurdejong/python-stdnum/pull/66
2018-03-10 Arthur de Jong <[email protected]>
* [70dc091] setup.cfg: Support building a universal wheel
2018-02-19 Arthur de Jong <[email protected]>
* [75138a4] stdnum/do/cedula.py, tests/test_do_cedula.py: Add
check_dgii() to stdnum.do.cedula module
This exposes the stdnum.do.rnc.check_dgii() in the stdnum.do.cedula
module with but rename the rnc result entry to cedula.
Closes https://github.com/arthurdejong/python-stdnum/issues/63
2018-02-19 Arthur de Jong <[email protected]>
* [92d751c] stdnum/do/ncf.py, stdnum/do/rnc.py: Fix PySimpleSOAP
DGII result parsing issue
This strips the wrapper that PySimpleSOAP puts around results
from the DGII PySimpleSOAP SOAP call.
Closes https://github.com/arthurdejong/python-stdnum/issues/64
Closes https://github.com/arthurdejong/python-stdnum/issues/65
2018-02-19 Arthur de Jong <[email protected]>
* [81947a2] docs/index.rst: Improve get_cc_module() documentation
2018-02-14 Arthur de Jong <[email protected]>
* [5cbba25] setup.cfg, stdnum/al/__init__.py, stdnum/ar/__init__.py,
stdnum/at/__init__.py, stdnum/be/__init__.py, stdnum/be/iban.py,
stdnum/cl/__init__.py, stdnum/co/__init__.py,
stdnum/cz/__init__.py, stdnum/dk/__init__.py,
stdnum/do/__init__.py, stdnum/ec/__init__.py,
stdnum/ee/__init__.py, stdnum/es/__init__.py, stdnum/exceptions.py,
stdnum/fi/__init__.py, stdnum/fr/__init__.py,
stdnum/hr/__init__.py, stdnum/hu/__init__.py,
stdnum/is_/__init__.py, stdnum/it/__init__.py,
stdnum/lt/__init__.py, stdnum/lu/__init__.py,
stdnum/lv/__init__.py, stdnum/mc/__init__.py,
stdnum/mx/__init__.py, stdnum/nl/__init__.py,
stdnum/no/__init__.py, stdnum/pl/__init__.py,
stdnum/pt/__init__.py, stdnum/ro/__init__.py,
stdnum/rs/__init__.py, stdnum/si/__init__.py,
stdnum/sk/__init__.py, stdnum/sm/__init__.py, tests/test_do_ncf.py,
tests/test_do_rnc.py, update/be_banks.py, update/numlist.py:
Update the flake8 ignore list
Re-enable the flake8 test for unused imports by explicitly marking
imports for namespace purposes. This allows us to remove a few
unused imports.