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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
|
2013-12-31 Arthur de Jong <arthur@arthurdejong.org>
* [5c1765e] stdnum/iban.dat, stdnum/isbn.dat: Update database files
2013-12-31 Arthur de Jong <arthur@arthurdejong.org>
* [4217c35] stdnum/isan.py, stdnum/meid.py, stdnum/util.py: Add
pragma: no cover for Python 3
Some statements are not covered in Python 3 tests.
2013-12-31 Arthur de Jong <arthur@arthurdejong.org>
* [6c49ca8] getiban.py: Update getiban script
This switches to use the csv module to support multi-line column
values. This also handles some problems in the BBAN structure
column that would contain an IBAN structure.
2013-12-31 Arthur de Jong <arthur@arthurdejong.org>
* [0ee74e5] ChangeLog: Generate Changelog with different formatter
git log --date=short --name-only \ --format="%x0c%ad %aN
<%aE>%n%n%x09* [%h]%x00%s%n%x00%+b%x00" | \
awk 'BEGIN { RS="\f"; FS="\0" } { if ($1) { gsub(/\n*$/,
"", $4); gsub(/^\n*/, "", $4); gsub(/\n/, ", ", $4);
gsub(/\ngit-svn-id.*/, "", $3); gsub(/\n/, "\n\t ", $3); print
$1 " " $4 ": "; print "\t " $2 $3 }}' | \ fmt --width=78 -c
> ChangeLog
2013-12-30 Cédric Krier <ced@b2ck.com>
* [a148835] stdnum/gb/vat.py, tests/test_gb_vat.doctest: Add some
new VAT numbers for GB
Add support for restarting from November 2009 using 9755.
Add support for EU format of health authorities
See: https://github.com/arthurdejong/python-stdnum/pull/4
2013-12-12 eneq123 <koc@loki.glas.net>
* [4609a22] getimsi.py, stdnum/imsi.dat: Update parsing in getimsi
script
This updates the regexes and includes seom optimizations.
See: https://github.com/arthurdejong/python-stdnum/issues/1
2013-12-30 Cédric Krier <ced@b2ck.com>
* [9ec3cb0] stdnum/eu/vat.py: Add support for proxy
2013-12-04 Arthur de Jong <arthur@arthurdejong.org>
* [7f30979] getimsi.py, stdnum/imsi.dat: Update getimsi script
This updates the script due to the Wikipedia article change and
removes the code for getting the data from ITU for now.
See: https://github.com/arthurdejong/python-stdnum/issues/1
2013-11-09 Arthur de Jong <arthur@arthurdejong.org>
* [b0c47d5] stdnum/nl/__init__.py, stdnum/nl/postcode.py: Add a
Dutch postal code module
The Dutch postal code (postcode) consists of four digits followed
by two characters and together with the house number should
uniquely identify any address.
Addresses trac ticket #7.
2013-11-09 Arthur de Jong <arthur@arthurdejong.org>
* [73d05b0] stdnum/nl/brin.py: Add a Dutch Brin number module
The Brin (Basis Registratie Instellingen) is a number to identify
schools and related institutions.
Addresses trac ticket #6.
2013-11-09 Arthur de Jong <arthur@arthurdejong.org>
* [73330a1] stdnum/nl/onderwijsnummer.py: Clarify onderwijsnummer
description
2013-11-09 Arthur de Jong <arthur@arthurdejong.org>
* [188d3ea] : Add various United States Tax number modules
This adds modules for the Individual Taxpayer Identification Number
(ITIN), the Employer Identification Number (EIN), Adoption Taxpayer
Identification Number (ATIN) and Preparer Tax Identification
Number (PTIN) that together with the Social Security Number
(SSN) are valid Taxpayer Identification Numbers (TIN)
2013-10-12 Arthur de Jong <arthur@arthurdejong.org>
* [9530635] stdnum/us/tin.py: Add a United States TIN module
The Taxpayer Identification Number is used used for tax purposes
in the United States. This module uses the SSN, ITIN, EIN,
PTIN and ATIN modules to determine validitiy of the TIN.
2013-10-11 Arthur de Jong <arthur@arthurdejong.org>
* [316e3f2] stdnum/us/ptin.py: Add a United States PTIN module
A Preparer Tax Identification Number (PTIN) is United States
identification number for tax return preparers. It is an
eight-digit number prefixed with a capital P.
2013-10-11 Arthur de Jong <arthur@arthurdejong.org>
* [47ea6ea] stdnum/us/atin.py: Add a United States ATIN module
An Adoption Taxpayer Identification Number (ATIN) is a temporary
nine-digit number issued by the United States IRS for a child for
whom the adopting parents cannot obtain a Social Security Number.
2013-10-11 Arthur de Jong <arthur@arthurdejong.org>
* [b1c9ba5] stdnum/us/ein.dat, stdnum/us/ein.py: Add a United
States EIN module
The Employer Identification Number (EIN), also known as Federal
Employer Identification Number (FEIN), is used to identify a
business entity in the United States. It is issued to anyone
that has to pay withholding taxes on employees.
2013-10-11 Arthur de Jong <arthur@arthurdejong.org>
* [19039f7] stdnum/us/itin.py: Add a United States ITIN module
The ITIN (Individual Taxpayer Identification Number) is issued
by the United States IRS to individuals who are required to
have a taxpayer identification number but who are not eligible
to obtain a Social Security Number.
2013-10-11 Arthur de Jong <arthur@arthurdejong.org>
* [70b974b] stdnum/meid.py: Remove unused import
2013-11-08 Arthur de Jong <arthur@arthurdejong.org>
* [f122c88] stdnum/util.py: Try to replace Unicode characters
with ASCII
This changes the stdnum.util.clean() method that is used by all
modules to replace alternative Unicode dashes, dots, etc. by
their ASCII equivalent so the numbers will be automatically
converted and validated.
Inspiration for this change came from
https://github.com/JNRowe/pyisbn/pull/6
2013-06-14 Arthur de Jong <arthur@arthurdejong.org>
* [c042f02] ChangeLog, NEWS, stdnum/__init__.py: Get files ready
for 0.8.1 release
2013-06-14 Arthur de Jong <arthur@arthurdejong.org>
* [31e5e81] MANIFEST.in, setup.py: Ensure that all used files are
included in the sdist
2013-06-09 Arthur de Jong <arthur@arthurdejong.org>
* [7fa9822] ChangeLog, NEWS, README, docs/index.rst, getnumlist.py,
setup.py, stdnum/__init__.py: Get files ready for 0.8 release
2013-06-09 Arthur de Jong <arthur@arthurdejong.org>
* [9597010] stdnum/iban.dat, stdnum/imsi.dat, stdnum/isbn.dat,
stdnum/isil.dat: Update database files
We manually tweak the Finland IBAN entry. We should probably
change the parsing so that it uses the IBAN structure instead
of the BBAN structure.
2013-06-09 Arthur de Jong <arthur@arthurdejong.org>
* [19cbb3c] stdnum/my/nric.py: Fix NRIC module description
2013-06-08 Arthur de Jong <arthur@arthurdejong.org>
* [46a7996] getmybp.py, stdnum/my/__init__.py, stdnum/my/bp.dat,
stdnum/my/nric.py, tests/test_my_nric.doctest: Add a Malaysian
NRIC No. module
NRIC No. (National Registration Identity Card Number) is the
unique identifier for issued to Malaysian citizens and permanent
residents.
2013-06-08 Arthur de Jong <arthur@arthurdejong.org>
* [999f2c3] : Provide a validate() function in all modules
This provides an additional means of doing number validation that
allows applications calling this library to get more information
about why the validation failed and present more informative
messages to the user.
This introduces a collection of exceptions which will be raised
by the validate() function in each module. All modules have been
updated to provide this new function.
2013-05-22 Arthur de Jong <arthur@arthurdejong.org>
* [cb69921] README, docs/index.rst, docs/stdnum.exceptions.rst:
Document the validate() function and exceptions
2013-05-18 Arthur de Jong <arthur@arthurdejong.org>
* [e00744c] stdnum/util.py: Use validate() in stdnum.util
2013-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [3d3a97d] stdnum/us/ssn.py: Implement validate() for U.S. Social
Security Number
2013-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [4bfce3f] stdnum/eu/vat.py, tests/test_eu_vat.doctest: Implement
validate() for European VAT numbers
2013-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [1aaf902] stdnum/sk/dph.py, stdnum/sk/rc.py: Implement validate()
for Slovak numbers
2013-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [8982d1e] stdnum/si/ddv.py: Implement validate() for Slovenian
VAT numbers
2013-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [522a599] stdnum/se/vat.py: Implement validate() for Swedish
VAT numbers
2013-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [8e7d807] stdnum/pt/nif.py: Implement validate() for Portuguese
VAT numbers
2013-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [7e865db] stdnum/pl/nip.py: Implement validate() for Polish numbers
2013-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [96c5080] stdnum/mt/vat.py: Implement validate() for Maltese
numbers
2013-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [2ff4950] stdnum/lv/pvn.py: Implement validate() for Latvian
numbers
2013-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [9845b0a] stdnum/lu/tva.py: Implement validate() for Luxembourgian
numbers
2013-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [04cfb84] stdnum/lt/pvm.py: Implement validate() for Lithuanian
numbers
2013-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [b1d5a72] stdnum/it/iva.py: Implement validate() for Italian
numbers
2013-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [083993b] stdnum/ie/pps.py, stdnum/ie/vat.py: Implement validate()
for Irish numbers
2013-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [301ba25] stdnum/hu/anum.py: Implement validate() for Hungarian
numbers
2013-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [31f2684] stdnum/hr/oib.py: Implement validate() for Croatian
numbers
2013-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [1932f69] stdnum/gr/vat.py: Implement validate() for Greek numbers
2013-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [10710dc] stdnum/gb/vat.py, tests/test_gb_vat.doctest: Implement
validate() for United Kingdom numbers
2013-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [4753c09] stdnum/fi/alv.py, stdnum/fi/hetu.py,
tests/test_fi_hetu.doctest: Implement validate() for Finnish
numbers
2013-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [2259cbb] stdnum/es/cif.py, stdnum/es/dni.py, stdnum/es/nie.py,
stdnum/es/nif.py: Implement validate() for Spanish numbers
2013-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [07c66e1] stdnum/ee/kmkr.py: Implement validate() for Estonian
numbers
2013-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [8caecc5] stdnum/dk/cpr.py, stdnum/dk/cvr.py: Implement validate()
for Danish numbers
2013-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [360480b] stdnum/de/vat.py: Implement validate() for German numbers
2013-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [fce6196] stdnum/cy/vat.py: Implement validate() for Cypriot
numbers
2013-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [14e382f] stdnum/cz/dic.py, stdnum/cz/rc.py: Implement validate()
for Czech numbers
2013-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [54ce2d7] stdnum/br/cpf.py: Implement validate() for Brazillian
numbers
2013-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [6080907] stdnum/bg/egn.py, stdnum/bg/pnf.py, stdnum/bg/vat.py,
tests/test_bg_vat.doctest: Implement validate() for Bulgarian
numbers
2013-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [33ce4e9] stdnum/be/vat.py: Implement validate() for Belgian
numbers
2013-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [66d6259] stdnum/at/uid.py: Implement validate() for Austrian
numbers
2013-05-11 Arthur de Jong <arthur@arthurdejong.org>
* [05547a4] stdnum/ro/cf.py, stdnum/ro/cnp.py: Implement validate()
for Romanian numbers
2013-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [fc1432c] stdnum/fr/siren.py, stdnum/fr/tva.py: Implement
validate() for French numbers
2013-05-05 Arthur de Jong <arthur@arthurdejong.org>
* [62cafb4] stdnum/nl/bsn.py, stdnum/nl/btw.py,
stdnum/nl/onderwijsnummer.py: Implement validate() for Dutch
numbers
2013-05-04 Arthur de Jong <arthur@arthurdejong.org>
* [cf88e23] stdnum/meid.py, tests/test_meid.doctest: Implement
validate() for MEID
2013-05-04 Arthur de Jong <arthur@arthurdejong.org>
* [c6f41f6] stdnum/issn.py: Implement validate() for ISSN
2013-05-04 Arthur de Jong <arthur@arthurdejong.org>
* [21f07b3] stdnum/ismn.py, tests/test_ismn.doctest: Implement
validate() for ISMN
2013-05-04 Arthur de Jong <arthur@arthurdejong.org>
* [c07609f] stdnum/isil.py: Implement validate() for ISIL
2013-05-04 Arthur de Jong <arthur@arthurdejong.org>
* [a18f1ac] stdnum/isan.py, tests/test_isan.doctest: Implement
validate() for ISAN
2013-05-01 Arthur de Jong <arthur@arthurdejong.org>
* [3ac8164] stdnum/iban.py: Implement validate() for IBAN
2013-05-03 Arthur de Jong <arthur@arthurdejong.org>
* [12bd684] stdnum/grid.py: Implement validate() for GRid numbers
2013-05-04 Arthur de Jong <arthur@arthurdejong.org>
* [9cee495] stdnum/imsi.py: Implement validate() for IMSI
2013-05-04 Arthur de Jong <arthur@arthurdejong.org>
* [6e4bb71] stdnum/imei.py, tests/test_imei.doctest: Implement
validate() for IMEI numbers
2013-05-04 Arthur de Jong <arthur@arthurdejong.org>
* [efa2550] stdnum/iso7064/mod_11_10.py, stdnum/iso7064/mod_11_2.py,
stdnum/iso7064/mod_37_2.py, stdnum/iso7064/mod_37_36.py,
stdnum/iso7064/mod_97_10.py, tests/test_iso7064.doctest: Implement
validate() for ISO 7064 algorithms
2013-05-03 Arthur de Jong <arthur@arthurdejong.org>
* [5c9090b] stdnum/verhoeff.py, tests/test_verhoeff.doctest:
Implement validate() for the Verhoeff checksum
2013-05-03 Arthur de Jong <arthur@arthurdejong.org>
* [9ad5139] stdnum/luhn.py, tests/test_luhn.doctest: Implement
validate() for the Luhn algorithms
2013-05-03 Arthur de Jong <arthur@arthurdejong.org>
* [9580046] stdnum/isbn.py, tests/test_isbn.doctest: Implement
validate() for ISBN
2013-05-03 Arthur de Jong <arthur@arthurdejong.org>
* [fa1864f] stdnum/ean.py, tests/test_ean.doctest: Implement
validate() for EAN
2013-06-07 Arthur de Jong <arthur@arthurdejong.org>
* [8b9ef8f] stdnum/util.py: Raise a proper exception if cleaning
fails
2013-06-07 Arthur de Jong <arthur@arthurdejong.org>
* [1ac5437] setup.cfg, stdnum/exceptions.py: Provide a module with
validation exceptions
This introduces a new module for switching the validation
scheme. Instead of using the is_valid() function that returns
a boolean a validate() function either returns the sanitised
number or raises an exception that should indicate the kind of
validation failure.
This should make it easier for applications calling this library
to present more informative messages to the user.
2013-06-07 Arthur de Jong <arthur@arthurdejong.org>
* [99586c9] stdnum/__init__.py, stdnum/de/vat.py, stdnum/nl/bsn.py,
stdnum/util.py: Revert generating stdnum docstring dynamically
Generating the docstring dynamically results in all stdnum modules
being imported for every import from any stdnum module which is
a performance hit.
So we switch back to a manually generated list, using:
from stdnum.util import get_module_list print
'\n'.join(get_module_list())
This also shortens a few short descriptions to attempt to fit
things on one line.
2013-06-07 Arthur de Jong <arthur@arthurdejong.org>
* [a655e82] docs/conf.py, docs/index.rst: Documentation consistency
improvements
2013-06-07 Arthur de Jong <arthur@arthurdejong.org>
* [37a2afd] tests/test_iso7064.doctest: The robustness test were
moved to the general tests
2013-06-07 Arthur de Jong <arthur@arthurdejong.org>
* [90b7c4a] stdnum/numdb.py: Remove empty line
2013-06-07 Arthur de Jong <arthur@arthurdejong.org>
* [bcb0a0b] stdnum/grid.py: GRid's format() function shouldn't
have add_check_digit parameter
2013-04-26 Arthur de Jong <arthur@arthurdejong.org>
* [2d956eb] stdnum/util.py: Use a cleaner way to get all stdnum
modules
This mechanism should work from Python 2.6 up to and including
Python 3.3.
2013-04-26 Arthur de Jong <arthur@arthurdejong.org>
* [30c832f] stdnum/numdb.py: Fix doctest to not be dependant on
dict ordering
2013-04-26 Arthur de Jong <arthur@arthurdejong.org>
* [51a55be] .gitignore: Add a .gitignore file
2012-09-22 Arthur de Jong <arthur@arthurdejong.org>
* [3f6d52a] stdnum/__init__.py, stdnum/util.py: generate part of
the stdnum docstring based on introspection of the modules
2012-06-16 Arthur de Jong <arthur@arthurdejong.org>
* [af7e837] : set svn:ignore properly
2012-02-26 Arthur de Jong <arthur@arthurdejong.org>
* [8f2e44c] stdnum/bg/egn.py, stdnum/cz/rc.py, stdnum/dk/cpr.py,
stdnum/fi/hetu.py, stdnum/isan.py, stdnum/lv/pvn.py,
stdnum/meid.py, stdnum/ro/cnp.py, tests/test_isan.doctest,
tests/test_ismn.doctest, tests/test_robustness.doctest: re-add
Python3 support
2012-02-26 Arthur de Jong <arthur@arthurdejong.org>
* [3325052] ChangeLog, NEWS, stdnum/__init__.py: get files ready
for 0.7 release
2012-02-26 Arthur de Jong <arthur@arthurdejong.org>
* [a3ba206] stdnum/iban.dat, stdnum/imsi.dat, stdnum/isbn.dat,
stdnum/isil.dat: update data files
2012-02-26 Arthur de Jong <arthur@arthurdejong.org>
* [c240eff] getnumlist.py: also generate a list of modules for
use in the Spinx documentation
2012-02-26 Arthur de Jong <arthur@arthurdejong.org>
* [54b0f47] README, getnumlist.py, stdnum/__init__.py: use a script
to generate the list of number formats in stdnum
2012-02-26 Arthur de Jong <arthur@arthurdejong.org>
* [dada6a4] stdnum/eu/vat.py, stdnum/gb/vat.py, stdnum/gr/vat.py,
stdnum/grid.py, stdnum/hr/oib.py, stdnum/hu/anum.py,
stdnum/iban.py, stdnum/ie/pps.py, stdnum/ie/vat.py,
stdnum/imei.py, stdnum/isan.py, stdnum/iso7064/__init__.py,
stdnum/iso7064/mod_11_10.py, stdnum/iso7064/mod_11_2.py,
stdnum/iso7064/mod_37_2.py, stdnum/iso7064/mod_37_36.py,
stdnum/iso7064/mod_97_10.py, stdnum/lt/pvm.py, stdnum/luhn.py,
stdnum/meid.py, stdnum/verhoeff.py: some more documentation
improvements
2012-02-26 Arthur de Jong <arthur@arthurdejong.org>
* [13218a0] setup.py: make script executable
2012-02-26 Arthur de Jong <arthur@arthurdejong.org>
* [c2f0ea2] stdnum/fr/siren.py: add a to_vta() function to the
stdnum.fr.siren module
2012-02-26 Arthur de Jong <arthur@arthurdejong.org>
* [902a656] stdnum/__init__.py, stdnum/at/uid.py, stdnum/be/vat.py,
stdnum/bg/egn.py, stdnum/bg/pnf.py, stdnum/bg/vat.py,
stdnum/br/cpf.py, stdnum/cy/vat.py, stdnum/cz/dic.py,
stdnum/cz/rc.py, stdnum/de/vat.py, stdnum/dk/cpr.py,
stdnum/dk/cvr.py, stdnum/ean.py, stdnum/ee/kmkr.py,
stdnum/es/cif.py, stdnum/es/dni.py, stdnum/es/nie.py,
stdnum/es/nif.py, stdnum/eu/vat.py, stdnum/fi/alv.py,
stdnum/fi/hetu.py, stdnum/fr/siren.py, stdnum/fr/tva.py,
stdnum/gb/vat.py, stdnum/gr/vat.py, stdnum/grid.py,
stdnum/hr/oib.py, stdnum/hu/anum.py, stdnum/iban.py,
stdnum/ie/pps.py, stdnum/ie/vat.py, stdnum/imei.py, stdnum/imsi.py,
stdnum/isan.py, stdnum/isbn.py, stdnum/isil.py, stdnum/ismn.py,
stdnum/iso7064/__init__.py, stdnum/iso7064/mod_11_10.py,
stdnum/iso7064/mod_11_2.py, stdnum/iso7064/mod_37_2.py,
stdnum/iso7064/mod_37_36.py, stdnum/iso7064/mod_97_10.py,
stdnum/issn.py, stdnum/it/iva.py, stdnum/lt/pvm.py,
stdnum/lu/tva.py, stdnum/luhn.py, stdnum/lv/pvn.py,
stdnum/meid.py, stdnum/mt/vat.py, stdnum/nl/bsn.py,
stdnum/nl/btw.py, stdnum/nl/onderwijsnummer.py, stdnum/numdb.py,
stdnum/pl/nip.py, stdnum/pt/nif.py, stdnum/ro/cf.py,
stdnum/ro/cnp.py, stdnum/se/vat.py, stdnum/si/ddv.py,
stdnum/sk/dph.py, stdnum/sk/rc.py, stdnum/us/ssn.py,
stdnum/util.py, stdnum/verhoeff.py: ensure that the module
docstrings are in a somewhat more usable format
2012-02-25 Arthur de Jong <arthur@arthurdejong.org>
* [907e410] setup.py: add the optional dependency on suds for the
stdnum.eu.vat.check_vies() function
2012-02-24 Arthur de Jong <arthur@arthurdejong.org>
* [ae9268b] stdnum/cz/rc.py: make the get_birth_date() function
publically available
2012-02-24 Arthur de Jong <arthur@arthurdejong.org>
* [4dfc8d7] docs/_templates/autosummary/module.rst, docs/conf.py,
docs/index.rst, docs/stdnum.at.uid.rst, docs/stdnum.be.vat.rst,
docs/stdnum.bg.egn.rst, docs/stdnum.bg.pnf.rst,
docs/stdnum.bg.vat.rst, docs/stdnum.br.cpf.rst,
docs/stdnum.cy.vat.rst, docs/stdnum.cz.dic.rst,
docs/stdnum.cz.rc.rst, docs/stdnum.de.vat.rst,
docs/stdnum.dk.cpr.rst, docs/stdnum.dk.cvr.rst,
docs/stdnum.ean.rst, docs/stdnum.ee.kmkr.rst,
docs/stdnum.es.cif.rst, docs/stdnum.es.dni.rst,
docs/stdnum.es.nie.rst, docs/stdnum.es.nif.rst,
docs/stdnum.eu.vat.rst, docs/stdnum.fi.alv.rst,
docs/stdnum.fi.hetu.rst, docs/stdnum.fr.siren.rst,
docs/stdnum.fr.tva.rst, docs/stdnum.gb.vat.rst,
docs/stdnum.gr.vat.rst, docs/stdnum.grid.rst,
docs/stdnum.hr.oib.rst, docs/stdnum.hu.anum.rst,
docs/stdnum.iban.rst, docs/stdnum.ie.pps.rst,
docs/stdnum.ie.vat.rst, docs/stdnum.imei.rst, docs/stdnum.imsi.rst,
docs/stdnum.isan.rst, docs/stdnum.isbn.rst, docs/stdnum.isil.rst,
docs/stdnum.ismn.rst, docs/stdnum.iso7064.rst,
docs/stdnum.issn.rst, docs/stdnum.it.iva.rst,
docs/stdnum.lt.pvm.rst, docs/stdnum.lu.tva.rst,
docs/stdnum.luhn.rst, docs/stdnum.lv.pvn.rst, docs/stdnum.meid.rst,
docs/stdnum.mt.vat.rst, docs/stdnum.nl.bsn.rst,
docs/stdnum.nl.btw.rst, docs/stdnum.nl.onderwijsnummer.rst,
docs/stdnum.pl.nip.rst, docs/stdnum.pt.nif.rst,
docs/stdnum.ro.cf.rst, docs/stdnum.ro.cnp.rst,
docs/stdnum.se.vat.rst, docs/stdnum.si.ddv.rst,
docs/stdnum.sk.dph.rst, docs/stdnum.sk.rc.rst,
docs/stdnum.us.ssn.rst, docs/stdnum.verhoeff.rst, setup.cfg:
generate documentation using Sphinx
2012-02-23 Arthur de Jong <arthur@arthurdejong.org>
* [093b1a1] README, stdnum/__init__.py, stdnum/dk/cpr.py: add a CPR
(personnummer, the Danish citizen number) module
2012-02-23 Arthur de Jong <arthur@arthurdejong.org>
* [89e4d78] README, stdnum/__init__.py, stdnum/ie/pps.py: add a PPS
No (Personal Public Service Number, Irish personal number) module
2012-02-22 Arthur de Jong <arthur@arthurdejong.org>
* [3a9c407] README, stdnum/__init__.py, stdnum/hr/__init__.py,
stdnum/hr/oib.py: add an OIB (Osobni identifikacijski broj,
Croatian personal identification number) module
2012-02-20 Arthur de Jong <arthur@arthurdejong.org>
* [680b7d1] numdb-test.dat, stdnum/numdb.py, test.dat: rename
numdb test file
2012-02-20 Arthur de Jong <arthur@arthurdejong.org>
* [68f62bf] stdnum/eu/vat.py: add a stdnum.eu.vat.check_vies()
function to do an on-line check of the VAT number
2012-02-19 Arthur de Jong <arthur@arthurdejong.org>
* [e640e3b] stdnum/iban.py, stdnum/numdb.py: add "pragma: no cover"
statements to code that isn't expected to be covered
2012-02-19 Arthur de Jong <arthur@arthurdejong.org>
* [b561d59] README, stdnum/__init__.py, stdnum/eu/__init__.py,
stdnum/eu/vat.py, tests/test_eu_vat.doctest: add a VAT (European
Union VAT number) module
2012-02-19 Arthur de Jong <arthur@arthurdejong.org>
* [61af19d] README, stdnum/__init__.py: make number description
consistent
2012-02-19 Arthur de Jong <arthur@arthurdejong.org>
* [eeb5c61] stdnum/at/__init__.py, stdnum/cz/__init__.py,
stdnum/dk/__init__.py, stdnum/ee/__init__.py,
stdnum/es/__init__.py, stdnum/fi/__init__.py,
stdnum/fr/__init__.py, stdnum/hu/__init__.py,
stdnum/it/__init__.py, stdnum/lt/__init__.py,
stdnum/lu/__init__.py, stdnum/lv/__init__.py,
stdnum/nl/__init__.py, stdnum/pl/__init__.py,
stdnum/pt/__init__.py, stdnum/ro/__init__.py,
stdnum/si/__init__.py, stdnum/sk/__init__.py: for all countries,
provide vat as an alias for the local vat identifier
2012-02-19 Arthur de Jong <arthur@arthurdejong.org>
* [6755b94] stdnum/at/__init__.py, stdnum/be/__init__.py,
stdnum/bg/__init__.py, stdnum/br/__init__.py,
stdnum/cy/__init__.py, stdnum/cz/__init__.py,
stdnum/de/__init__.py, stdnum/dk/__init__.py,
stdnum/ee/__init__.py, stdnum/es/__init__.py,
stdnum/fi/__init__.py, stdnum/fr/__init__.py,
stdnum/gb/__init__.py, stdnum/gr/__init__.py,
stdnum/hu/__init__.py, stdnum/ie/__init__.py,
stdnum/it/__init__.py, stdnum/lt/__init__.py,
stdnum/lu/__init__.py, stdnum/lv/__init__.py,
stdnum/mt/__init__.py, stdnum/nl/__init__.py,
stdnum/pl/__init__.py, stdnum/pt/__init__.py,
stdnum/ro/__init__.py, stdnum/se/__init__.py,
stdnum/si/__init__.py, stdnum/sk/__init__.py,
stdnum/us/__init__.py: give all packages a description
2012-02-19 Arthur de Jong <arthur@arthurdejong.org>
* [6d74fe9] stdnum/nl/vat.py: remove stdnum.nl.vat alias module
2012-02-19 Arthur de Jong <arthur@arthurdejong.org>
* [528901d] stdnum/util.py, tests/test_robustness.doctest: use
introspection to find number modules and test them
2012-02-18 Arthur de Jong <arthur@arthurdejong.org>
* [2d80a24] README, stdnum/__init__.py, stdnum/bg/vat.py,
tests/test_bg_vat.doctest, tests/test_robustness.doctest: add
a VAT (Идентификационен номер по ДДС,
Bulgarian VAT numbers) module
2012-02-18 Arthur de Jong <arthur@arthurdejong.org>
* [1384488] README, stdnum/__init__.py, stdnum/bg/pnf.py,
tests/test_robustness.doctest: add a PNF (ЛНЧ, Личен
номер на чужденец, Bulgarian personal number of
a foreigner) module
2012-02-18 Arthur de Jong <arthur@arthurdejong.org>
* [a24e98e] README, stdnum/__init__.py, stdnum/bg/__init__.py,
stdnum/bg/egn.py, tests/test_robustness.doctest: add an EGN
(ЕГН, Единен граждански номер, Bulgarian
personal identity codes) module
2012-02-18 Arthur de Jong <arthur@arthurdejong.org>
* [4ac3fe7] tests/test_robustness.doctest: explicitly test for False
2012-02-18 Arthur de Jong <arthur@arthurdejong.org>
* [0c78d90] stdnum/lt/pvm.py: explicitly return False if no
rule matches
2012-02-18 Arthur de Jong <arthur@arthurdejong.org>
* [cddb5f9] README, stdnum/__init__.py, stdnum/gb/__init__.py,
stdnum/gb/vat.py, tests/test_gb_vat.doctest,
tests/test_robustness.doctest: add a VAT (United Kingdom (and
Isle of Man) VAT registration number) module
2012-02-18 Arthur de Jong <arthur@arthurdejong.org>
* [6c436ec] tests/test_fi_hetu.doctest: fix typo
2012-02-18 Arthur de Jong <arthur@arthurdejong.org>
* [aa39c92] README, stdnum/__init__.py, stdnum/se/__init__.py,
stdnum/se/vat.py, tests/test_robustness.doctest: add a VAT (Moms,
Mervärdesskatt, Swedish VAT number) module
2012-02-18 Arthur de Jong <arthur@arthurdejong.org>
* [3a7a91c] README, stdnum/__init__.py, stdnum/si/__init__.py,
stdnum/si/ddv.py, tests/test_robustness.doctest: add a ID za DDV
(Davčna številka, Slovenian VAT number) module
2012-02-18 Arthur de Jong <arthur@arthurdejong.org>
* [ebbd1af] README, stdnum/__init__.py, stdnum/pl/__init__.py,
stdnum/pl/nip.py, tests/test_robustness.doctest: add a NIP
(Numer Identyfikacji Podatkowej, Polish VAT number) module
2012-02-18 Arthur de Jong <arthur@arthurdejong.org>
* [c75f072] README, stdnum/__init__.py, stdnum/mt/__init__.py,
stdnum/mt/vat.py, tests/test_robustness.doctest: add a VAT
(Maltese VAT number) module
2012-02-17 Arthur de Jong <arthur@arthurdejong.org>
* [0922f3c] stdnum/it/iva.py: strip a few more separators
2012-02-17 Arthur de Jong <arthur@arthurdejong.org>
* [b708920] README, stdnum/__init__.py, stdnum/fr/tva.py,
tests/test_robustness.doctest: add a TVA (Numéro d'identification
à la taxe sur la valeur ajoutée, French VAT number) module
2012-02-17 Arthur de Jong <arthur@arthurdejong.org>
* [dc8e9a3] README, stdnum/__init__.py, stdnum/lt/__init__.py,
stdnum/lt/pvm.py, tests/test_robustness.doctest: add a PVM
(Pridėtinės vertės mokestis mokėtojo kodas, Lithuanian VAT
number) module
2012-02-17 Arthur de Jong <arthur@arthurdejong.org>
* [20296ef] README, stdnum/__init__.py, stdnum/ee/__init__.py,
stdnum/ee/kmkr.py, tests/test_robustness.doctest: add a KMKR
(Käibemaksukohuslase, Estonian VAT number) module
2012-02-17 Arthur de Jong <arthur@arthurdejong.org>
* [2100c28] README, stdnum/__init__.py, stdnum/ie/__init__.py,
stdnum/ie/vat.py, tests/test_robustness.doctest: add a VAT
(Irish VAT number) module
2012-02-17 Arthur de Jong <arthur@arthurdejong.org>
* [d2f1348] README, stdnum/__init__.py, stdnum/hu/__init__.py,
stdnum/hu/anum.py, tests/test_robustness.doctest: add an ANUM
(Közösségi adószám, Hungarian VAT number) module
2012-02-17 Arthur de Jong <arthur@arthurdejong.org>
* [d803443] README, stdnum/__init__.py, stdnum/cz/dic.py,
tests/test_robustness.doctest: add a DIČ (Daňové identifikační
číslo, Czech VAT number) module
2012-02-17 Arthur de Jong <arthur@arthurdejong.org>
* [0d2e4cc] README, stdnum/__init__.py, stdnum/fi/alv.py,
tests/test_robustness.doctest: add an ALV nro
(Arvonlisäveronumero, Finnish VAT number) module
2012-02-17 Arthur de Jong <arthur@arthurdejong.org>
* [03eccc4] README, stdnum/__init__.py, stdnum/sk/dph.py,
tests/test_robustness.doctest: add IČ DPH (Identifikačné
číslo pre daň z pridanej hodnoty, Slovak VAT number) module
2012-02-16 Arthur de Jong <arthur@arthurdejong.org>
* [389c306] README, stdnum/__init__.py, stdnum/pt/__init__.py,
stdnum/pt/nif.py, tests/test_robustness.doctest: add a NIF
(Número de identificação fiscal, Portuguese VAT number) module
2012-02-13 Arthur de Jong <arthur@arthurdejong.org>
* [cdc7f96] README, stdnum/__init__.py, stdnum/at/__init__.py,
stdnum/at/uid.py, tests/test_robustness.doctest: add a UID
(Umsatzsteuer-Identifikationsnummer, Austrian VAT number) module
2012-02-13 Arthur de Jong <arthur@arthurdejong.org>
* [e0bb4e8] README, stdnum/__init__.py, stdnum/cy/__init__.py,
stdnum/cy/vat.py, tests/test_robustness.doctest: add a
Αριθμός Εγγραφής Φ.Π.Α. (Cypriot VAT number)
module
2012-02-12 Arthur de Jong <arthur@arthurdejong.org>
* [402a0d5] stdnum/es/cif.py, stdnum/it/iva.py, stdnum/util.py:
use the luhn module where possible
2012-02-12 Arthur de Jong <arthur@arthurdejong.org>
* [1c2b4c3] tests/test_robustness.doctest: fix typo in header
2012-02-12 Arthur de Jong <arthur@arthurdejong.org>
* [09ef54d] README, stdnum/__init__.py, stdnum/it/__init__.py,
stdnum/it/iva.py, tests/test_robustness.doctest: add a Partita
IVA (Italian VAT number) module
2012-02-12 Arthur de Jong <arthur@arthurdejong.org>
* [ffc824b] README, stdnum/__init__.py, stdnum/ro/cf.py,
tests/test_robustness.doctest: add a CF (Cod de înregistrare
în scopuri de TVA, Romanian VAT number) module
2012-02-12 Arthur de Jong <arthur@arthurdejong.org>
* [9d65f6a] README, stdnum/__init__.py, stdnum/ro/__init__.py,
stdnum/ro/cnp.py, tests/test_robustness.doctest: add a CNP
(Cod Numeric Personal, Romanian Numerical Personal Code) module
2012-02-12 Arthur de Jong <arthur@arthurdejong.org>
* [60533cd] stdnum/gr/vat.py: also strip : as seen in some numbers
2012-02-11 Arthur de Jong <arthur@arthurdejong.org>
* [74c4c71] README, stdnum/__init__.py, stdnum/lu/__init__.py,
stdnum/lu/tva.py, tests/test_robustness.doctest: add a TVA
(Numéro d'identification à la taxe sur la valeur ajoutée,
Luxembourgian VAT number) module
2012-02-11 Arthur de Jong <arthur@arthurdejong.org>
* [74f4e2a] README, stdnum/__init__.py, stdnum/dk/__init__.py,
stdnum/dk/cvr.py, tests/test_robustness.doctest: add a CVR
(Momsregistreringsnummer, Danish VAT number) module
2012-02-11 Arthur de Jong <arthur@arthurdejong.org>
* [3c64f1e] stdnum/be/vat.py: add missing test
2012-02-11 Arthur de Jong <arthur@arthurdejong.org>
* [b8c3ba6] stdnum/be/vat.py: clean up numbers starting with (0)
2012-02-11 Arthur de Jong <arthur@arthurdejong.org>
* [8a10861] README, stdnum/__init__.py, stdnum/lv/__init__.py,
stdnum/lv/pvn.py, tests/test_robustness.doctest: add a PVN
(Pievienotās vērtības nodokļa, Latvian VAT number) module
2012-02-11 Arthur de Jong <arthur@arthurdejong.org>
* [a3610a3] README, stdnum/__init__.py, stdnum/es/nif.py,
tests/test_robustness.doctest: add a NIF (Número de
Identificación Fiscal, Spanish VAT number) module
2012-02-11 Arthur de Jong <arthur@arthurdejong.org>
* [aa90c4f] README, stdnum/__init__.py, stdnum/es/cif.py,
tests/test_robustness.doctest: add a CIF (Certificado de
Identificación Fiscal, Spanish tax identification number) module
2012-02-11 Arthur de Jong <arthur@arthurdejong.org>
* [a574e6c] stdnum/util.py: implement a digitsum() function to
find the sub of all digits in a number
2012-02-11 Arthur de Jong <arthur@arthurdejong.org>
* [84d1ee7] stdnum/es/nie.py: fix description and remove unnecessary
import
2012-02-10 Arthur de Jong <arthur@arthurdejong.org>
* [fa2d398] README, stdnum/__init__.py, stdnum/es/nie.py,
tests/test_robustness.doctest: add a NIE (Número de
Identificación de Extranjeros, Spanish identification number
for foreigners) module
2012-02-10 Arthur de Jong <arthur@arthurdejong.org>
* [fe3210f] README, stdnum/__init__.py, stdnum/es/__init__.py,
stdnum/es/dni.py, tests/test_robustness.doctest: add a DNI
(Documento nacional de identidad, Spanish personal identity
codes) module
2012-02-10 Arthur de Jong <arthur@arthurdejong.org>
* [4439f47] README, stdnum/__init__.py, stdnum/be/__init__.py,
stdnum/be/vat.py, tests/test_robustness.doctest: add a BTW, TVA,
NWSt (Belgian VAT number) module
2012-02-10 Arthur de Jong <arthur@arthurdejong.org>
* [1ab602c] README, stdnum/__init__.py, stdnum/sk/__init__.py,
stdnum/sk/rc.py: also make the stdnum.cz.rc module available
as stdnum.sk.rc
2012-02-10 Arthur de Jong <arthur@arthurdejong.org>
* [e9e5861] stdnum/nl/vat.py: also make the stdnum.nl.btw module
available as stdnum.nl.vat
2012-02-10 Arthur de Jong <arthur@arthurdejong.org>
* [c795b3c] stdnum/nl/btw.py: fix number in test and ensure that
number is not all zeroes
2012-02-10 Arthur de Jong <arthur@arthurdejong.org>
* [2bb9231] stdnum/cz/rc.py: add some info to description
2012-02-10 Arthur de Jong <arthur@arthurdejong.org>
* [1aeeaf4] README, stdnum/__init__.py, stdnum/de/__init__.py,
stdnum/de/vat.py, tests/test_robustness.doctest: add an Ust ID
Nr. (Umsatzsteur Identifikationnummer, the German VAT number)
module
2012-02-10 Arthur de Jong <arthur@arthurdejong.org>
* [473b3ca] README, stdnum/__init__.py, stdnum/gr/__init__.py,
stdnum/gr/vat.py, tests/test_robustness.doctest: add a FPA,
ΦΠΑ (Foros Prostithemenis Aksias, the Greek VAT number) module
2012-02-05 Arthur de Jong <arthur@arthurdejong.org>
* [9f1d47b] README, stdnum/__init__.py, stdnum/fr/__init__.py,
stdnum/fr/siren.py, tests/test_robustness.doctest: add a SIREN
(Système d'Identification du Répertoire des Entreprises,
a French company identification number) module
2012-02-05 Arthur de Jong <arthur@arthurdejong.org>
* [575fc75] README, stdnum/__init__.py, stdnum/cz/__init__.py,
stdnum/cz/rc.py, tests/test_robustness.doctest: add a RČ
(Rodné číslo, the Czech birth numbers) module
2012-02-04 Arthur de Jong <arthur@arthurdejong.org>
* [41dd815] stdnum/br/cpf.py, stdnum/ean.py, stdnum/grid.py,
stdnum/iban.py, stdnum/imei.py, stdnum/imsi.py, stdnum/isan.py,
stdnum/isbn.py, stdnum/ismn.py, stdnum/issn.py, stdnum/meid.py,
stdnum/nl/bsn.py, stdnum/nl/btw.py, stdnum/nl/onderwijsnummer.py,
stdnum/us/ssn.py, stdnum/util.py: implement a stdnum.util module
for holding utility functions (for now clean())
2012-02-04 Arthur de Jong <arthur@arthurdejong.org>
* [54cc207] tests/test_robustness.doctest: some extra rubustness
checks
2012-02-04 Arthur de Jong <arthur@arthurdejong.org>
* [b43817c] stdnum/nl/bsn.py, stdnum/nl/onderwijsnummer.py: rename
calc_checksum() to checksum() for consistency
2012-02-04 Arthur de Jong <arthur@arthurdejong.org>
* [548f129] stdnum/iso7064/mod_37_36.py: use integer division
2012-02-02 Arthur de Jong <arthur@arthurdejong.org>
* [9efde4f] README, stdnum/__init__.py, stdnum/nl/btw.py,
tests/test_robustness.doctest: add a BTW (the Dutch VAT number)
module
2012-02-02 Arthur de Jong <arthur@arthurdejong.org>
* [086e509] README, stdnum/__init__.py, stdnum/nl/bsn.py,
stdnum/nl/onderwijsnummer.py, tests/test_robustness.doctest:
add an onderwijsnummer (Dutch school number) module
2011-12-31 Arthur de Jong <arthur@arthurdejong.org>
* [587c538] setup.py: revert switching to distutils part of r93,
keep restructuring part
2011-12-31 Arthur de Jong <arthur@arthurdejong.org>
* [6756d79] setup.cfg, setup.py: switch to distutils
2011-11-07 Arthur de Jong <arthur@arthurdejong.org>
* [e6020b9] README, stdnum/__init__.py, stdnum/fi/__init__.py,
stdnum/fi/hetu.py, tests/test_fi_hetu.doctest,
tests/test_robustness.doctest: add a HETU (Finnish personal
identity code) module as provided by Jussi Judin (#5)
2011-09-30 Arthur de Jong <arthur@arthurdejong.org>
* [77ac8d4] setup.py: fix version number use (fix r86)
2011-09-30 Arthur de Jong <arthur@arthurdejong.org>
* [6cdfb6b] ChangeLog, NEWS, stdnum/__init__.py: get files ready
for 0.6 release
2011-09-30 Arthur de Jong <arthur@arthurdejong.org>
* [1451b47] stdnum/imsi.dat, stdnum/isbn.dat, stdnum/isil.dat:
update data files
2011-09-30 Arthur de Jong <arthur@arthurdejong.org>
* [6ec6c7e] setup.py, stdnum/__init__.py: move the version number
definition to the stdnum package
2011-09-25 Arthur de Jong <arthur@arthurdejong.org>
* [ae2013d] stdnum/ismn.py: implement an ismn_type() function
2011-09-23 Arthur de Jong <arthur@arthurdejong.org>
* [14b97f9] : ignore __pycache__ directories
2011-09-23 Arthur de Jong <arthur@arthurdejong.org>
* [cbd114e] README, getimsi.py, stdnum/__init__.py, stdnum/imsi.dat,
stdnum/imsi.py, tests/test_robustness.doctest: add an IMSI
(International Mobile Subscriber Identity) module
2011-09-23 Arthur de Jong <arthur@arthurdejong.org>
* [68c98f0] stdnum/imei.py: implement an imei.split() function
that splits the number into a TAC, serial number and checksum
or software version
2011-09-23 Arthur de Jong <arthur@arthurdejong.org>
* [e6cd768] getiban.py: remove unneeded import
2011-09-20 Arthur de Jong <arthur@arthurdejong.org>
* [4e8d7e4] stdnum/isbn.py, tests/test_isbn.doctest: implement a
conversion function from ISBN13 to ISBN10
2011-09-20 Arthur de Jong <arthur@arthurdejong.org>
* [d6f9ba2] tests/test_imei.doctest, tests/test_isan.doctest,
tests/test_isbn.doctest, tests/test_ismn.doctest: fix space
before inline comments
2011-09-20 Arthur de Jong <arthur@arthurdejong.org>
* [c4ad099] stdnum/isbn.py, tests/test_isbn.doctest: fix a problem
with an ISBN13 with a valid check digit but with an unknown
bookland prefix
2011-09-04 Arthur de Jong <arthur@arthurdejong.org>
* [1c7c198] setup.py: fix homepage URL
2011-08-19 Arthur de Jong <arthur@arthurdejong.org>
* [881e8a6] getiban.py, getisbn.py, getisil.py, setup.py,
stdnum/br/cpf.py, stdnum/ean.py, stdnum/grid.py,
stdnum/iban.py, stdnum/imei.py, stdnum/isan.py, stdnum/isbn.py,
stdnum/isil.py, stdnum/ismn.py, stdnum/iso7064/mod_11_10.py,
stdnum/iso7064/mod_11_2.py, stdnum/iso7064/mod_37_2.py,
stdnum/iso7064/mod_37_36.py, stdnum/iso7064/mod_97_10.py,
stdnum/issn.py, stdnum/luhn.py, stdnum/meid.py, stdnum/nl/bsn.py,
stdnum/numdb.py, stdnum/us/ssn.py, stdnum/verhoeff.py: make
source code layout follow PEP8 more
2011-07-09 Arthur de Jong <arthur@arthurdejong.org>
* [8dbcedd] ChangeLog, NEWS, setup.py: get files ready for 0.5
release
2011-07-09 Arthur de Jong <arthur@arthurdejong.org>
* [596c7a1] stdnum/iban.dat, stdnum/isbn.dat, stdnum/isil.dat:
update data files
2011-06-20 Arthur de Jong <arthur@arthurdejong.org>
* [63b2b0a] stdnum/issn.py: implement a conversion function from
ISSN to EAN
2011-06-20 Arthur de Jong <arthur@arthurdejong.org>
* [d101acf] stdnum/isbn.py, stdnum/ismn.py: use the ean module
for calculating the check digit
2011-06-20 Arthur de Jong <arthur@arthurdejong.org>
* [f5747bc] README, stdnum/__init__.py, stdnum/ean.py,
tests/test_robustness.doctest: add an EAN (International Article
Number) module
2011-03-06 Arthur de Jong <arthur@arthurdejong.org>
* [1b904ba] setup.py, stdnum/numdb.py: also support Python3 with
the same codebase (see #3)
2011-03-06 Arthur de Jong <arthur@arthurdejong.org>
* [a45079f] setup.py: ensure that data files are always included
2011-03-02 Arthur de Jong <arthur@arthurdejong.org>
* [c17920a] stdnum/verhoeff.py: Python 2.5 compatibility improvement
2011-02-06 Arthur de Jong <arthur@arthurdejong.org>
* [e6ba399] ChangeLog, NEWS, setup.py: get files ready for 0.4
release
2011-02-06 Arthur de Jong <arthur@arthurdejong.org>
* [060dfce] stdnum/isbn.dat: include an updated version
2011-02-06 Arthur de Jong <arthur@arthurdejong.org>
* [8806d2a] README, stdnum/__init__.py, stdnum/us/__init__.py,
stdnum/us/ssn.py, tests/test_robustness.doctest: add an SSN
(U.S. Social Security Number) module
2011-02-05 Arthur de Jong <arthur@arthurdejong.org>
* [c260626] README, stdnum/__init__.py: add ISIL to the documentation
2011-02-05 Arthur de Jong <arthur@arthurdejong.org>
* [e517903] getisil.py, stdnum/isil.dat, stdnum/isil.py,
tests/test_robustness.doctest: add an ISIL (International Standard
Identifier for Libraries and Related Organizations) module
2011-02-05 Arthur de Jong <arthur@arthurdejong.org>
* [96f4f7c] stdnum/numdb.py: allow most kind of characters in
number ranges
2011-02-05 Arthur de Jong <arthur@arthurdejong.org>
* [33611d1] stdnum/iban.py: move more validation into try/except
(specifically the _convert() call)
2011-02-05 Arthur de Jong <arthur@arthurdejong.org>
* [62aa496] tests/test_br_cpf.doctest, tests/test_iban.doctest,
tests/test_imei.doctest, tests/test_isan.doctest,
tests/test_isbn.doctest, tests/test_ismn.doctest,
tests/test_issn.doctest, tests/test_luhn.doctest,
tests/test_meid.doctest, tests/test_nl_bsn.doctest,
tests/test_robustness.doctest, tests/test_verhoeff.doctest:
move all robustness tests into one test file
2011-02-05 Arthur de Jong <arthur@arthurdejong.org>
* [9081e90] tests/test_iso7064.doctest: fix imports of
iso7064.mod_*_* modules
2011-02-05 Arthur de Jong <arthur@arthurdejong.org>
* [e5678ca] stdnum/isbn.py: fix typo in r53
2011-02-05 Arthur de Jong <arthur@arthurdejong.org>
* [ea737ff] stdnum/__init__.py: add encoding header
2011-01-31 Arthur de Jong <arthur@arthurdejong.org>
* [cc7a6d8] README, stdnum/__init__.py: get README and package
docstring in sync
2011-01-21 Arthur de Jong <arthur@arthurdejong.org>
* [6724e50] stdnum/isbn.py, tests/test_isbn.doctest: add a convert
parameter to most isbn functions to automatically convert
to ISBN-13
2011-01-17 Arthur de Jong <arthur@arthurdejong.org>
* [411874e] README: add note about CPF and update copyright year
2011-01-16 Arthur de Jong <arthur@arthurdejong.org>
* [db2238c] README, getiban.py, stdnum/iban.dat, stdnum/iban.py,
tests/test_iban.doctest: add an IBAN (International Bank Account
Number) module
2011-01-16 Arthur de Jong <arthur@arthurdejong.org>
* [2b4aff6] setup.py, stdnum/numdb.py: revert r49 because it wasn't
needed after all
2011-01-16 Arthur de Jong <arthur@arthurdejong.org>
* [0bf31c9] setup.py, stdnum/numdb.py: introduce a full parameter
that can be used to only return the part that is in the database
2011-01-16 Arthur de Jong <arthur@arthurdejong.org>
* [4fe17ba] stdnum/grid.py, stdnum/isan.py: fix import of iso7064
modules
2011-01-16 Arthur de Jong <arthur@arthurdejong.org>
* [c1f03c2] stdnum/numdb.py, test.dat: add test for partial match
2011-01-15 Arthur de Jong <arthur@arthurdejong.org>
* [81a99d3] tests/test_nl_bsn.doctest: fix comments to refer to
the new path of the module
2011-01-15 Arthur de Jong <arthur@arthurdejong.org>
* [fda67ac] stdnum/br/__init__.py, stdnum/br/cpf.py,
tests/test_br_cpf.doctest: add a CPF (Cadastro de Pessoas
Físicas) module
2011-01-15 Arthur de Jong <arthur@arthurdejong.org>
* [8d3a92c] stdnum/bsn.py, stdnum/nl/__init__.py, stdnum/nl/bsn.py,
tests/test_bsn.doctest, tests/test_nl_bsn.doctest: move bsn
module inside nl package
2010-11-26 Arthur de Jong <arthur@arthurdejong.org>
* [6ed480c] setup.py, stdnum/__init__.py: move general description
to package __init__.py file
2010-11-24 Arthur de Jong <arthur@arthurdejong.org>
* [124c16d] getisbn.py, stdnum/isbn.dat, stdnum/isbn.py,
stdnum/isbn/__init__.py, stdnum/isbn/ranges.py, stdnum/numdb.py,
test.dat, tests/test_isbn.doctest: implement a new numdb module
to hold information on hierarchically organised numbers and
switch the isbn module to use this format instead
2010-09-11 Arthur de Jong <arthur@arthurdejong.org>
* [72a0b96] ChangeLog, NEWS, README, setup.py: get files ready
for 0.3 release
2010-09-05 Arthur de Jong <arthur@arthurdejong.org>
* [cd844b5] setup.py: have sdist target create a tarball with
reasonable permissions
2010-08-29 Arthur de Jong <arthur@arthurdejong.org>
* [2e64eb8] stdnum/bsn.py, stdnum/isan.py,
stdnum/iso7064/mod_37_2.py, stdnum/iso7064/mod_37_36.py,
stdnum/meid.py, stdnum/verhoeff.py, tests/test_bsn.doctest,
tests/test_ismn.doctest: spelling check
2010-08-28 Arthur de Jong <arthur@arthurdejong.org>
* [2a7afff] README, stdnum/grid.py: add a GRid (Global Release
Identifier) module
2010-08-27 Arthur de Jong <arthur@arthurdejong.org>
* [9970652] README, stdnum/isan.py, tests/test_isan.doctest:
add ISAN (International Standard Audiovisual Number) module
2010-08-27 Arthur de Jong <arthur@arthurdejong.org>
* [fda9552] README, stdnum/iso7064/__init__.py,
stdnum/iso7064/mod_11_10.py, stdnum/iso7064/mod_11_2.py,
stdnum/iso7064/mod_37_2.py, stdnum/iso7064/mod_37_36.py,
stdnum/iso7064/mod_97_10.py, tests/test_iso7064.doctest: implement
some ISO/IEC 7064 check digit schemes
2010-08-26 Arthur de Jong <arthur@arthurdejong.org>
* [4017d83] stdnum/isbn/__init__.py, stdnum/ismn.py, stdnum/issn.py,
stdnum/verhoeff.py: switch to using enumerate() for looping over
numbers where needed
2010-08-21 Arthur de Jong <arthur@arthurdejong.org>
* [8bdb6ef] README, stdnum/ismn.py, tests/test_ismn.doctest:
add an ISMN (International Standard Music Number) module
2010-08-21 Arthur de Jong <arthur@arthurdejong.org>
* [97d5280] tests/test_isbn.doctest: simplify ranges tests a bit
2010-08-21 Arthur de Jong <arthur@arthurdejong.org>
* [f3b025b] stdnum/isbn/ranges.py: update ranges from newly
downloaded file
2010-08-20 Arthur de Jong <arthur@arthurdejong.org>
* [8748830] README, stdnum/meid.py, tests/test_meid.doctest:
add a MEID (Mobile Equipment Identifier) module
2010-08-20 Arthur de Jong <arthur@arthurdejong.org>
* [f125f3e] setup.cfg, tests/test_isbn.doctest,
tests/test_issn.doctest: write some more tests (some of which
are a bit of a hack) to get coverage to 100%
2010-08-20 Arthur de Jong <arthur@arthurdejong.org>
* [d622d92] stdnum/imei.py, tests/test_imei.doctest: add an
add_check_digit option to the format() function to add a check
digit if needed and possible
2010-08-20 Arthur de Jong <arthur@arthurdejong.org>
* [a74a6f7] stdnum/luhn.py: make checksum calculation a little
more readable
2010-08-20 Arthur de Jong <arthur@arthurdejong.org>
* [6bb04af] README, stdnum/imei.py, tests/test_imei.doctest:
add an IMEI (International Mobile Equipment Identity) module
2010-08-20 Arthur de Jong <arthur@arthurdejong.org>
* [ca08995] README, stdnum/luhn.py, tests/test_luhn.doctest:
add functions for handling the Luhn and Luhn mod N algorithms
2010-08-20 Arthur de Jong <arthur@arthurdejong.org>
* [7e800c3] stdnum/issn.py: fix typo
2010-08-20 Arthur de Jong <arthur@arthurdejong.org>
* [571dc83] README, stdnum/verhoeff.py, tests/test_verhoeff.doctest:
add functions for handling the Verhoeff algorithm
2010-08-16 Arthur de Jong <arthur@arthurdejong.org>
* [9ffa9fd] ChangeLog, NEWS, setup.py: get files ready for 0.2
release
2010-08-16 Arthur de Jong <arthur@arthurdejong.org>
* [19b7d2d] debian/changelog, debian/compat, debian/control,
debian/copyright, debian/docs, debian/rules, debian/source/format,
debian/watch: debian package configuration is now available at
http://svn.debian.org/viewsvn/python-modules/packages/python-stdnum/trunk/
2010-08-14 Arthur de Jong <arthur@arthurdejong.org>
* [85e9e3b] setup.cfg, tests/test_bsn.doctest,
tests/test_isbn.doctest: add more doctests that are not part of
the module documentation
2010-07-27 Arthur de Jong <arthur@arthurdejong.org>
* [c536356] README, stdnum/bsn.py, stdnum/isbn/__init__.py,
stdnum/issn.py: rename validate() function to is_valid()
2010-07-27 Arthur de Jong <arthur@arthurdejong.org>
* [85a5fc8] stdnum/isbn/ranges.py: fix typo in output() function
2010-07-27 Arthur de Jong <arthur@arthurdejong.org>
* [1071603] stdnum/isbn/ranges.py: fix range detection to handle
lookup errors more gracefully
2010-07-27 Arthur de Jong <arthur@arthurdejong.org>
* [a86c4cc] stdnum/bsn.py, stdnum/isbn/__init__.py, stdnum/issn.py:
handle wrong types passed to validate() more gracefully
2010-07-26 Arthur de Jong <arthur@arthurdejong.org>
* [9495116] debian/changelog, debian/source/format, debian/watch:
make release 0.1-1
2010-07-25 Arthur de Jong <arthur@arthurdejong.org>
* [55a97d4] ChangeLog: get files ready for 0.1 release
2010-07-25 Arthur de Jong <arthur@arthurdejong.org>
* [1e02d5a] debian/changelog, debian/compat, debian/control,
debian/copyright, debian/docs, debian/rules, debian/source/format:
add Debian packaging
2010-07-25 Arthur de Jong <arthur@arthurdejong.org>
* [14bd2fe] COPYING, ChangeLog, MANIFEST.in, NEWS: include some
more files in the source distribution
2010-07-25 Arthur de Jong <arthur@arthurdejong.org>
* [9940cf3] setup.cfg: use nose for testing and ignore generated
files and directories
2010-07-25 Arthur de Jong <arthur@arthurdejong.org>
* [967f2ae] setup.py: add a setup.py script for use of setuptools
2010-07-25 Arthur de Jong <arthur@arthurdejong.org>
* [ca5f850] README: add documentation to the README
2010-07-25 Arthur de Jong <arthur@arthurdejong.org>
* [40aff16] stdnum/bsn.py, stdnum/isbn/__init__.py,
stdnum/isbn/ranges.py, stdnum/issn.py: spelling check an extra
doctest and a simplification
2010-07-23 Arthur de Jong <arthur@arthurdejong.org>
* [6eabbc3] stdnum/bsn.py: add BSN (Burgerservicenummer, the Ducth
national identification number) module
2010-07-23 Arthur de Jong <arthur@arthurdejong.org>
* [92e18aa] stdnum/issn.py: add an ISSN (International Standard
Serial Number) module
2010-07-23 Arthur de Jong <arthur@arthurdejong.org>
* [31ce783] stdnum/isbn/__init__.py: fix example and fix ISBN13
conversion
2010-07-23 Arthur de Jong <arthur@arthurdejong.org>
* [4b8c10e] stdnum/isbn/__init__.py: get rid of remainders of old
code that used exceptions
2010-07-23 Arthur de Jong <arthur@arthurdejong.org>
* [7d2f15a] README, stdnum/__init__.py, stdnum/isbn/__init__.py,
stdnum/isbn/ranges.py: make a initial repository layout with an
implementation of the isbn module
|