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 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047
|
2026-01-04 Arthur de Jong <arthur@arthurdejong.org>
* [e7e900a] .github/workflows/test.yml, setup.py, tox.ini: Add
support for Python 3.14
2026-01-04 Arthur de Jong <arthur@arthurdejong.org>
* [97d8cae] stdnum/sn/ninea.py: URL escape the underscore because
it confuses Sphinx
2026-01-04 Arthur de Jong <arthur@arthurdejong.org>
* [6070c60] stdnum/at/postleitzahl.dat, stdnum/be/banks.dat,
stdnum/cn/loc.dat, stdnum/cz/banks.dat, stdnum/gs1_ai.dat,
stdnum/iban.dat, stdnum/imsi.dat, stdnum/isbn.dat, stdnum/isil.dat,
stdnum/nz/banks.dat, stdnum/oui.dat: Update database files
2026-01-04 Arthur de Jong <arthur@arthurdejong.org>
* [a7fd300] update/at_postleitzahl.py, update/be_banks.py,
update/cfi.py, update/cn_loc.py, update/cz_banks.py,
update/do_whitelists.py, update/gs1_ai.py, update/iban.py,
update/imsi.py, update/isbn.py, update/isil.py, update/nz_banks.py:
Consistently pass a user agent for update scripts
The scourge of AI bots is forcing more and more sites to block
bots that don't set particular user agents.
2026-01-04 Arthur de Jong <arthur@arthurdejong.org>
* [e7afc61] update/be_banks.py: Update download URL of Belgian
bank numbers
This also changes the handling to prefer the English name over
other names and handles another variant of not-applicable values.
2026-01-04 Arthur de Jong <arthur@arthurdejong.org>
* [d332ee1] stdnum/sn/ninea.py, tests/test_sn_ninea.doctest:
Add check digit validation to Senegal NINEA
2023-02-12 Leandro Regueiro <leandro.regueiro@gmail.com>
* [dd22123] stdnum/sn/__init__.py, stdnum/sn/ninea.py,
tests/test_sn_ninea.doctest: Add support for Senegal TIN
Closes https://github.com/arthurdejong/python-stdnum/pull/395
Closes https://github.com/arthurdejong/python-stdnum/issues/357
2026-01-03 Arthur de Jong <arthur@arthurdejong.org>
* [d3ec3bd] stdnum/br/cnpj.py: Support new format for Brazilian CNPJ
The new format allows letters as well as numbers to identify
companies.
Closes https://github.com/arthurdejong/python-stdnum/issues/484
2025-02-27 dotbit1 <68584562+dotbit1@users.noreply.github.com>
* [cd94bf1] stdnum/ro/onrc.py, tests/test_ro_onrc.doctest: Support
the new Romanian ONRC format
Closes https://github.com/arthurdejong/python-stdnum/pull/465
2026-01-03 Arthur de Jong <arthur@arthurdejong.org>
* [293136b] stdnum/lv/pvn.py: Support Latvian personal codes issued
after 2017
These numbers no longer embed a birth date in the format.
Closes https://github.com/arthurdejong/python-stdnum/issues/486
2023-12-08 Cédric Krier <ced@b2ck.com>
* [a906a1e] stdnum/eu/excise.py, stdnum/fr/__init__.py,
stdnum/fr/accise.py, tests/test_fr_accise.doctest: Add accise -
the French number for excise
Closes https://github.com/arthurdejong/python-stdnum/pull/424
2023-12-08 Cédric Krier <ced@b2ck.com>
* [1a254d9] stdnum/eu/excise.py, tests/test_eu_excise.doctest:
Add European Excise Number
Closes https://github.com/arthurdejong/python-stdnum/pull/424
2025-09-28 Cédric Krier <ced@b2ck.com>
* [d534b3c] stdnum/be/ogm_vcs.py: Add Belgian OGM-VCS
Closes https://github.com/arthurdejong/python-stdnum/pull/487
2025-10-14 KathrinM <k.mallot@right-basedonscience.de>
* [2cf475c] stdnum/eu/nace.py, stdnum/eu/nace20.dat,
stdnum/eu/nace21.dat, tests/test_eu_nace.doctest: Add support
for nace revision 2.1
This makes revision 2.1 the default but still allows validating
against version 2.0 using the revision argument.
Closes https://github.com/arthurdejong/python-stdnum/pull/490
2025-12-19 Tuukka Tolvanen <ttolvanen@holvi.com>
* [acda255] stdnum/de/leitweg.py, tests/test_de_leitweg.doctest:
Add DE Leitweg-ID
Closes https://github.com/arthurdejong/python-stdnum/pull/491
2025-12-16 Arthur de Jong <arthur@arthurdejong.org>
* [c7a7fd1] .github/workflows/test.yml: Run flake8 with Python 3.13
Python version 3.14 no longer works.
2025-10-26 Arthur de Jong <arthur@arthurdejong.org>
* [7a9b852] stdnum/ro/cnp.py: Mark more Romanian CNP county codes
as valid
According to
https://ro.wikipedia.org/wiki/Carte_de_identitate_rom%C3%A2neasc%C4%83#Seriile_c%C4%83r%C8%9Bilor_de_identitate_(%C3%AEn_modelele_emise_%C3%AEnainte_de_2021)
70 is used to represent any registration, regardless of county
but while multiple documents claim 80-83 are also valid it is
unclear what they represent.
Closes https://github.com/arthurdejong/python-stdnum/issues/489
2025-10-26 Arthur de Jong <arthur@arthurdejong.org>
* [7ca9b6c] stdnum/be/vat.py, tests/test_be_vat.doctest: Validate
first digit of Belgian VAT number
Thanks to antonio-ginestar find pointing this out.
Closes https://github.com/arthurdejong/python-stdnum/issues/488
2022-09-17 Leandro Regueiro <leandro.regueiro@gmail.com>
* [a1fdd5d] stdnum/az/__init__.py, stdnum/az/voen.py,
tests/test_az_voen.doctest: Add support for Azerbaijan TIN
Thanks to Adam Handke for finding the weights for the check
digit algorithm.
Closes https://github.com/arthurdejong/python-stdnum/issues/200
CLoses https://github.com/arthurdejong/python-stdnum/pull/329
2025-08-08 Fabien MICHEL <fmichel@adista.fr>
* [e741318] stdnum/fr/rcs.py, tests/test_fr_rcs.doctest: Add French
RCS number
Closes https://github.com/arthurdejong/python-stdnum/pull/481
2025-08-08 Fabien MICHEL <fmichel@adista.fr>
* [ca80cc4] stdnum/fr/siren.py: Add fr.siren.format() function
2025-08-08 Fabien MICHEL <fmichel@adista.fr>
* [b3a42a1] stdnum/fr/tva.py, tests/test_fr_tva.doctest: Add
fr.tva.to_siren() function
The function can convert a French VAT number to a SIREN.
Closes https://github.com/arthurdejong/python-stdnum/pull/480
2025-08-14 Arthur de Jong <arthur@arthurdejong.org>
* [843bbec] stdnum/bic.py, tests/test_bic.doctest: Add validation
of country code in BIC
Closes https://github.com/arthurdejong/python-stdnum/issues/482
2025-06-05 Joni Saarinen <joni.saarinen@onebyte.fi>
* [deb0db1] stdnum/ee/__init__.py: Add personal id and business
id alias for Estonia
Closes https://github.com/arthurdejong/python-stdnum/pull/476
2025-05-10 Luca <luca.sicu02@gmail.com>
* [1773a91] stdnum/mz/__init__.py, stdnum/mz/nuit.py,
tests/test_mz_nuit.doctest: Add support for Mozambique TIN
Closes https://github.com/arthurdejong/python-stdnum/issues/360
Closes https://github.com/arthurdejong/python-stdnum/pull/392
Closes https://github.com/arthurdejong/python-stdnum/pull/473
2025-06-01 Arthur de Jong <arthur@arthurdejong.org>
* [5ef6ade] stdnum/numdb.py: Use broader type ignore for
pkg_resources import
Apparently mypy changed for classifying the problem from
import-untyped to import-not-found.
2025-05-25 Arthur de Jong <arthur@arthurdejong.org>
* [0e64cf6] stdnum/cn/loc.dat, stdnum/cn/ric.py,
tests/test_cn_ric.doctest, update/cn_loc.py: Download Chinise
location codes from Wikipedia
The list on GitHub is missing historical information and also
appears to no longer be updated. This changes the birth place
lookup to take the birth year into account to determine whether
a county was assigned at the time.
Closes https://github.com/arthurdejong/python-stdnum/issues/442
2025-05-18 Arthur de Jong <arthur@arthurdejong.org>
* [210b9ce] stdnum/gs1_128.py, stdnum/gs1_ai.dat,
tests/test_gs1_128.doctest, update/gs1_ai.py: Fix handling of
decimals in Application Identifiers
This fixes the handling of GS1-128 Application Identifiers with
decimal types. Previously, with some 4 digit decimal application
identifiers the number of decimals were incorrectly considered
part of the value instead of the application identifier.
For example (310)5033333 is not correct but it should be evaluated
as (3105)033333 (application identifier 3105 and value 0.33333).
Closes https://github.com/arthurdejong/python-stdnum/issues/471
2025-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [d66998e] ChangeLog, NEWS, stdnum/__init__.py: Get files ready
for 2.1 release
2025-05-17 Arthur de Jong <arthur@arthurdejong.org>
* [a753ebf] stdnum/at/postleitzahl.dat, stdnum/cn/loc.dat,
stdnum/gs1_ai.dat, stdnum/imsi.dat, stdnum/isbn.dat,
stdnum/my/bp.dat, stdnum/nz/banks.dat, stdnum/oui.dat,
update/my_bp.py: Update database files
This also updates the URLs for the National Registration Department
of Malaysia.
2025-05-14 Cédric Krier <ced@b2ck.com>
* [972b42d] setup.py: Define minimal Python version in setup.py
Closes https://github.com/arthurdejong/python-stdnum/issues/474
Closes https://github.com/arthurdejong/python-stdnum/pull/475
Fixes 3542c06
2025-05-05 Luca <luca.sicu02@gmail.com>
* [8b78f78] stdnum/jp/in_.py: Remove superfluous modulus operation
Closes https://github.com/arthurdejong/python-stdnum/pull/470
2025-05-05 Arthur de Jong <arthur@arthurdejong.org>
* [ad4af91] ChangeLog, NEWS, README.md, docs/conf.py,
docs/index.rst, docs/stdnum.be.eid.rst, docs/stdnum.be.ssn.rst,
docs/stdnum.es.cae.rst, docs/stdnum.id.nik.rst,
docs/stdnum.isni.rst, docs/stdnum.jp.in_.rst,
docs/stdnum.nl.identiteitskaartnummer.rst, docs/stdnum.ru.ogrn.rst,
stdnum/__init__.py: Get files ready for 2.0 release
2025-05-05 Arthur de Jong <arthur@arthurdejong.org>
* [f2967d3] stdnum/at/postleitzahl.dat, stdnum/be/banks.dat,
stdnum/cfi.dat, stdnum/cn/loc.dat, stdnum/cz/banks.dat,
stdnum/gs1_ai.dat, stdnum/iban.dat, stdnum/imsi.dat,
stdnum/isbn.dat, stdnum/isil.dat, stdnum/my/bp.dat,
stdnum/nz/banks.dat, stdnum/oui.dat, tests/test_gs1_128.doctest,
tox.ini: Update database files
This also updates the GS1-128 tests because a previously unused
AI is now in use. This also adds the updating of the Czech bank
numbers to tox.
2025-05-05 Arthur de Jong <arthur@arthurdejong.org>
* [c118723] update/at_postleitzahl.py: Remove duplicate Austrian
post offices
2025-05-05 Arthur de Jong <arthur@arthurdejong.org>
* [1a87baf] update/my_bp.crt, update/my_bp.py: Drop custom
certificates for www.jpn.gov.my
The certificate chain for www.jpn.gov.my seems to have been fixed.
2025-05-05 Arthur de Jong <arthur@arthurdejong.org>
* [44575a1] update/iban.py: Allow reading IBAN registry from the
command line
It seems that the Swift website currently uses TLS fingerprinting
to block downloads of the IBAN registry except in certain browsers.
It also fixes an idiosyncrasy in the IBAN registry iteself where
the Norwegian BBAN format string was not correct.
2025-05-05 Arthur de Jong <arthur@arthurdejong.org>
* [44c2355] update/gs1_ai.py: Fix the downloading of GS1 application
identifiers
The URL changed and the embedded JSON also slightly changed.
2025-05-05 Arthur de Jong <arthur@arthurdejong.org>
* [01e87f9] update/cn_loc.py, update/gs1_ai.py: Fix datetime
related deprecation warnings in update scripts
2025-05-05 Arthur de Jong <arthur@arthurdejong.org>
* [37320ea] update/be_banks.py, update/requirements.txt: Fix the
downloading of Belgian bank identifiers
The site switched from XLS to XLSX files.
2025-05-05 Arthur de Jong <arthur@arthurdejong.org>
* [98b4fa0] stdnum/util.py, update/cfi.py, update/isil.py,
update/my_bp.py: Always pass regex flags as keyword argument
In particular with re.sub() it got confused with the count
positional argument.
Fixes a9039c1
2025-05-05 Arthur de Jong <arthur@arthurdejong.org>
* [6e8c783] stdnum/cr/cpj.py, stdnum/fr/nir.py, stdnum/si/maticna.py:
Switch some URLs to HTTPS
2022-09-04 Leandro Regueiro <leandro.regueiro@gmail.com>
* [497bb11] stdnum/th/__init__.py: Add VAT alias for Thailand
TIN number
Based on
https://github.com/arthurdejong/python-stdnum/issues/118#issuecomment-920521305
Closes https://github.com/arthurdejong/python-stdnum/pull/314
2025-05-05 Arthur de Jong <arthur@arthurdejong.org>
* [bfac07b] stdnum/ua/edrpou.py: Fix typo
Fixes b7b2af8
2025-04-04 Luca Sicurello <luca.sicu02@gmail.com>
* [fca47b0] stdnum/jp/in_.py: Add Japanese Individual Number
2025-03-13 David Salvisberg <david.salvisberg@seantis.ch>
* [0e857fb] .github/workflows/test.yml, .gitignore, docs/index.rst,
setup.cfg, setup.py, stdnum/__init__.py, stdnum/ad/__init__.py,
stdnum/ad/nrt.py, stdnum/al/__init__.py, stdnum/al/nipt.py,
stdnum/ar/__init__.py, stdnum/ar/cbu.py, stdnum/ar/cuit.py,
stdnum/ar/dni.py, stdnum/at/__init__.py, stdnum/at/businessid.py,
stdnum/at/postleitzahl.py, stdnum/at/tin.py, stdnum/at/uid.py,
stdnum/at/vnr.py, stdnum/au/__init__.py, stdnum/au/abn.py,
stdnum/au/acn.py, stdnum/au/tfn.py, stdnum/be/__init__.py,
stdnum/be/bis.py, stdnum/be/eid.py, stdnum/be/iban.py,
stdnum/be/nn.py, stdnum/be/ssn.py, stdnum/be/vat.py,
stdnum/bg/egn.py, stdnum/bg/pnf.py, stdnum/bg/vat.py,
stdnum/bic.py, stdnum/bitcoin.py, stdnum/br/__init__.py,
stdnum/br/cnpj.py, stdnum/br/cpf.py, stdnum/by/__init__.py,
stdnum/by/unp.py, stdnum/ca/__init__.py, stdnum/ca/bc_phn.py,
stdnum/ca/bn.py, stdnum/ca/sin.py, stdnum/casrn.py, stdnum/cfi.py,
stdnum/ch/esr.py, stdnum/ch/ssn.py, stdnum/ch/uid.py,
stdnum/ch/vat.py, stdnum/cl/__init__.py, stdnum/cl/rut.py,
stdnum/cn/__init__.py, stdnum/cn/ric.py, stdnum/cn/uscc.py,
stdnum/co/__init__.py, stdnum/co/nit.py, stdnum/cr/__init__.py,
stdnum/cr/cpf.py, stdnum/cr/cpj.py, stdnum/cr/cr.py,
stdnum/cu/ni.py, stdnum/cusip.py, stdnum/cy/vat.py,
stdnum/cz/__init__.py, stdnum/cz/bankaccount.py,
stdnum/cz/dic.py, stdnum/cz/rc.py, stdnum/damm.py,
stdnum/de/__init__.py, stdnum/de/handelsregisternummer.py,
stdnum/de/idnr.py, stdnum/de/stnr.py, stdnum/de/vat.py,
stdnum/de/wkn.py, stdnum/dk/__init__.py, stdnum/dk/cpr.py,
stdnum/dk/cvr.py, stdnum/do/__init__.py, stdnum/do/cedula.py,
stdnum/do/ncf.py, stdnum/do/rnc.py, stdnum/dz/__init__.py,
stdnum/dz/nif.py, stdnum/ean.py, stdnum/ec/__init__.py,
stdnum/ec/ci.py, stdnum/ec/ruc.py, stdnum/ee/__init__.py,
stdnum/ee/ik.py, stdnum/ee/kmkr.py, stdnum/ee/registrikood.py,
stdnum/eg/__init__.py, stdnum/eg/tn.py, stdnum/es/__init__.py,
stdnum/es/cae.py, stdnum/es/ccc.py, stdnum/es/cif.py,
stdnum/es/cups.py, stdnum/es/dni.py, stdnum/es/iban.py,
stdnum/es/nie.py, stdnum/es/nif.py, stdnum/es/postal_code.py,
stdnum/es/referenciacatastral.py, stdnum/eu/at_02.py,
stdnum/eu/banknote.py, stdnum/eu/ecnumber.py, stdnum/eu/eic.py,
stdnum/eu/nace.py, stdnum/eu/oss.py, stdnum/eu/vat.py,
stdnum/exceptions.py, stdnum/fi/__init__.py, stdnum/fi/alv.py,
stdnum/fi/associationid.py, stdnum/fi/hetu.py,
stdnum/fi/veronumero.py, stdnum/fi/ytunnus.py,
stdnum/figi.py, stdnum/fo/__init__.py, stdnum/fo/vn.py,
stdnum/fr/__init__.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/utr.py, stdnum/gb/vat.py, stdnum/gh/__init__.py,
stdnum/gh/tin.py, stdnum/gn/__init__.py, stdnum/gn/nifp.py,
stdnum/gr/amka.py, stdnum/gr/vat.py, stdnum/grid.py,
stdnum/gs1_128.py, stdnum/gt/__init__.py, stdnum/gt/nit.py,
stdnum/hr/__init__.py, stdnum/hr/oib.py, stdnum/hu/__init__.py,
stdnum/hu/anum.py, stdnum/iban.py, stdnum/id/__init__.py,
stdnum/id/nik.py, stdnum/id/npwp.py, stdnum/ie/pps.py,
stdnum/ie/vat.py, stdnum/il/__init__.py, stdnum/il/hp.py,
stdnum/il/idnr.py, stdnum/imei.py, stdnum/imo.py, stdnum/imsi.py,
stdnum/in_/__init__.py, stdnum/in_/aadhaar.py, stdnum/in_/epic.py,
stdnum/in_/gstin.py, stdnum/in_/pan.py, stdnum/in_/vid.py,
stdnum/is_/__init__.py, stdnum/is_/kennitala.py, stdnum/is_/vsk.py,
stdnum/isan.py, stdnum/isbn.py, stdnum/isil.py, stdnum/isin.py,
stdnum/ismn.py, stdnum/isni.py, stdnum/iso11649.py,
stdnum/iso6346.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/isrc.py, stdnum/issn.py, stdnum/it/__init__.py,
stdnum/it/aic.py, stdnum/it/codicefiscale.py, stdnum/it/iva.py,
stdnum/jp/__init__.py, stdnum/jp/cn.py, stdnum/ke/__init__.py,
stdnum/ke/pin.py, stdnum/kr/__init__.py, stdnum/kr/brn.py,
stdnum/kr/rrn.py, stdnum/lei.py, stdnum/li/peid.py,
stdnum/lt/__init__.py, stdnum/lt/asmens.py,
stdnum/lt/pvm.py, stdnum/lu/__init__.py, stdnum/lu/tva.py,
stdnum/luhn.py, stdnum/lv/__init__.py, stdnum/lv/pvn.py,
stdnum/ma/__init__.py, stdnum/ma/ice.py, stdnum/mac.py,
stdnum/mc/__init__.py, stdnum/mc/tva.py, stdnum/md/idno.py,
stdnum/me/__init__.py, stdnum/me/iban.py, stdnum/me/pib.py,
stdnum/meid.py, stdnum/mk/__init__.py, stdnum/mk/edb.py,
stdnum/mt/vat.py, stdnum/mu/nid.py, stdnum/mx/__init__.py,
stdnum/mx/curp.py, stdnum/mx/rfc.py, stdnum/my/nric.py,
stdnum/nl/__init__.py, stdnum/nl/brin.py, stdnum/nl/bsn.py,
stdnum/nl/btw.py, stdnum/nl/identiteitskaartnummer.py,
stdnum/nl/onderwijsnummer.py, stdnum/nl/postcode.py,
stdnum/no/__init__.py, stdnum/no/fodselsnummer.py,
stdnum/no/iban.py, stdnum/no/kontonr.py, stdnum/no/mva.py,
stdnum/no/orgnr.py, stdnum/numdb.py, stdnum/nz/__init__.py,
stdnum/nz/bankaccount.py, stdnum/nz/ird.py, stdnum/pe/__init__.py,
stdnum/pe/cui.py, stdnum/pe/ruc.py, stdnum/pk/cnic.py,
stdnum/pl/__init__.py, stdnum/pl/nip.py, stdnum/pl/pesel.py,
stdnum/pl/regon.py, stdnum/pt/__init__.py, stdnum/pt/cc.py,
stdnum/pt/nif.py, stdnum/py.typed, stdnum/py/__init__.py,
stdnum/py/ruc.py, stdnum/ro/__init__.py, stdnum/ro/cf.py,
stdnum/ro/cnp.py, stdnum/ro/cui.py, stdnum/ro/onrc.py,
stdnum/rs/__init__.py, stdnum/rs/pib.py, stdnum/ru/__init__.py,
stdnum/ru/inn.py, stdnum/ru/ogrn.py, stdnum/se/__init__.py,
stdnum/se/orgnr.py, stdnum/se/personnummer.py,
stdnum/se/postnummer.py, stdnum/se/vat.py,
stdnum/sg/__init__.py, stdnum/sg/uen.py, stdnum/si/__init__.py,
stdnum/si/ddv.py, stdnum/si/emso.py, stdnum/si/maticna.py,
stdnum/sk/__init__.py, stdnum/sk/dph.py, stdnum/sk/rc.py,
stdnum/sm/__init__.py, stdnum/sm/coe.py, stdnum/sv/__init__.py,
stdnum/sv/nit.py, stdnum/th/moa.py, stdnum/th/pin.py,
stdnum/th/tin.py, stdnum/tn/__init__.py, stdnum/tn/mf.py,
stdnum/tr/__init__.py, stdnum/tr/tckimlik.py, stdnum/tr/vkn.py,
stdnum/tw/__init__.py, stdnum/tw/ubn.py, stdnum/ua/edrpou.py,
stdnum/ua/rntrc.py, stdnum/us/atin.py, stdnum/us/ein.py,
stdnum/us/itin.py, stdnum/us/ptin.py, stdnum/us/rtn.py,
stdnum/us/ssn.py, stdnum/us/tin.py, stdnum/util.py,
stdnum/uy/__init__.py, stdnum/uy/rut.py, stdnum/vatin.py,
stdnum/ve/__init__.py, stdnum/ve/rif.py, stdnum/verhoeff.py,
stdnum/vn/__init__.py, stdnum/vn/mst.py, stdnum/za/idnr.py,
stdnum/za/tin.py, tests/test_by_unp.py, tests/test_ch_uid.py,
tests/test_de_handelsregisternummer.py, tests/test_do_cedula.py,
tests/test_do_ncf.py, tests/test_do_rnc.py, tests/test_eu_vat.py,
tox.ini: Add type hints
Closes https://github.com/arthurdejong/python-stdnum/pull/467
Closes https://github.com/arthurdejong/python-stdnum/issues/433
2025-04-21 Arthur de Jong <arthur@arthurdejong.org>
* [bc689fd] stdnum/do/cedula.py: Add missing verify argument to
Cedula check_dgii()
2025-03-13 David Salvisberg <david.salvisberg@seantis.ch>
* [8283dbb] stdnum/be/bis.py, stdnum/be/nn.py, stdnum/be/ssn.py,
stdnum/de/handelsregisternummer.py, stdnum/do/ncf.py,
stdnum/do/rnc.py, stdnum/eu/vat.py, stdnum/pk/cnic.py,
stdnum/util.py: Explicity return None
As per PEP 8.
See https://peps.python.org/pep-0008/
2025-03-13 David Salvisberg <david.salvisberg@seantis.ch>
* [6b9bbe2] stdnum/be/iban.py, stdnum/be/nn.py,
stdnum/cz/bankaccount.py, stdnum/es/cups.py, stdnum/gs1_128.py,
stdnum/pk/cnic.py, stdnum/vatin.py, stdnum/verhoeff.py,
tests/test_be_iban.doctest: Small code cleanups
2025-04-21 Arthur de Jong <arthur@arthurdejong.org>
* [3542c06] .github/workflows/test.yml, setup.py, tox.ini: Drop
support for Python 3.6 and 3.7
Sadly GitHub has dropped the ability to run tests with these
versions of Python.
2025-03-27 Arthur de Jong <arthur@arthurdejong.org>
* [ae0d86c] tests/test_do_cedula.py, tests/test_do_rnc.py: Ignore
test failures from www.dgii.gov.do
There was a change in the SOAP service and there is a new
URL. However, the API has changed and seems to require
authentication.
We ignore test failures for now but unless a solution is found
the DGII validation will be removed.
See: https://github.com/arthurdejong/python-stdnum/pull/462 See:
https://github.com/arthurdejong/python-stdnum/issues/461
2025-03-27 Arthur de Jong <arthur@arthurdejong.org>
* [dcd7fa6] tests/test_do_rnc.py: Drop more Python 2.7 compatibility
code
2025-03-27 Arthur de Jong <arthur@arthurdejong.org>
* [852515c] stdnum/cz/rc.py, tests/test_cz_rc.doctest: Fix Czech
Rodné číslo check digit validation
It seems that a small minority of numbers assigned
with a checksum of 10 are still valid and expected
to have a check digit value of 0. According to
https://www.domzo13.cz/sw/evok/help/born_numbers.html this
practice even happended (but less frequently) after 1985.
Closes https://github.com/arthurdejong/python-stdnum/issues/468
2025-02-16 Arthur de Jong <arthur@arthurdejong.org>
* [fc766bc] .github/workflows/test.yml, setup.py, tox.ini: Add
support for Python 3.13
2024-12-10 nvmbrasserie <ivan@opensanctions.org>
* [1386f67] stdnum/ru/ogrn.py, tests/test_ru_ogrn.doctest: Add
Russian ОГРН
Closes https://github.com/arthurdejong/python-stdnum/pull/459
2024-07-04 Quique Porta <me@quiqueporta.com>
* [8519221] stdnum/es/cae.py, tests/test_es_cae.doctest: Add
Spanish CAE Number
Closes https://github.com/arthurdejong/python-stdnum/pull/446
2025-02-15 Arthur de Jong <arthur@arthurdejong.org>
* [0f94ca6] stdnum/ec/ruc.py, tests/test_ec_ruc.doctest: Support
Ecuador public RUC with juridical format
It seems that numbers with a format used for juridical RUCs have
been issued to companies.
Closes https://github.com/arthurdejong/python-stdnum/issues/457
2025-02-15 Arthur de Jong <arthur@arthurdejong.org>
* [928a09d] stdnum/isni.py: Add International Standard Name
Identifier
Closes https://github.com/arthurdejong/python-stdnum/issues/463
2025-01-11 Arthur de Jong <arthur@arthurdejong.org>
* [2b92075] .github/workflows/test.yml, README.md,
online_check/stdnum.wsgi, setup.cfg, setup.py, stdnum/by/unp.py,
stdnum/de/handelsregisternummer.py, stdnum/do/ncf.py,
stdnum/eg/tn.py, stdnum/es/referenciacatastral.py,
stdnum/eu/nace.py, stdnum/imsi.py,
stdnum/mac.py, stdnum/meid.py, stdnum/mk/edb.py,
stdnum/mx/curp.py, stdnum/mx/rfc.py, stdnum/util.py,
tests/test_by_unp.doctest, tests/test_cn_ric.doctest,
tests/test_de_handelsregisternummer.doctest,
tests/test_de_stnr.doctest, tests/test_eg_tn.doctest,
tests/test_es_referenciacatastral.doctest, tests/test_isan.doctest,
tests/test_mac.doctest, tests/test_mk_edb.doctest,
tests/test_my_nric.doctest, tests/test_robustness.doctest,
tests/test_util.doctest, tox.ini: Drop Python 2 support
This deprecates the stdnum.util.to_unicode() function because
we no longer have to deal with bytestrings.
2024-11-17 Arthur de Jong <arthur@arthurdejong.org>
* [0218601] stdnum/uy/rut.py, tests/test_uy_rut.doctest: Allow
Uruguay RUT number starting with 22
2024-09-30 Victor Sordoillet <victor@groover.co>
* [bcd5018] stdnum/isrc.py, tests/test_isrc.doctest: Add missing
music industry ISRC country codes
Closes https://github.com/arthurdejong/python-stdnum/pull/455
Closes https://github.com/arthurdejong/python-stdnum/issues/454
2024-10-11 Arthur de Jong <arthur@arthurdejong.org>
* [020f1df] .github/workflows/test.yml: Use older Github runner
for Python 3.7 tests
2024-10-11 Arthur de Jong <arthur@arthurdejong.org>
* [051e63f] tests/test_verhoeff.doctest: Add more tests for
Verhoeff implementation
See https://github.com/arthurdejong/python-stdnum/issues/456
2024-09-21 Arthur de Jong <arthur@arthurdejong.org>
* [dc850d6] tox.ini: Ignore deprecation warnings in flake8 target
This silences a ton of ast deprecation warnings that we can't
fix in python-stdnum anyway.
2024-09-15 Arthur de Jong <arthur@arthurdejong.org>
* [0ceb2b9] stdnum/util.py: Ensure get_soap_client() caches
with verify
This fixes the get_soap_client() function to cache SOAP clients
taking the verify argument into account.
Fixes 3fcebb2
2024-07-25 Jeff Horemans <jeff.horemans@vortex-financials.be>
* [6c2873c] stdnum/be/eid.py: Add Belgian eID card number
Closes https://github.com/arthurdejong/python-stdnum/pull/448
2024-07-25 Jeff Horemans <jeff.horemans@vortex-financials.be>
* [56036d0] stdnum/nl/identiteitskaartnummer.py: Add Dutch
identiteitskaartnummer
Closes https://github.com/arthurdejong/python-stdnum/pull/449
2024-09-14 Arthur de Jong <arthur@arthurdejong.org>
* [3fcebb2] setup.py, stdnum/by/unp.py, stdnum/ch/uid.py,
stdnum/de/handelsregisternummer.py, stdnum/do/ncf.py,
stdnum/do/rnc.py, stdnum/eu/vat.py, stdnum/tr/tckimlik.py,
stdnum/util.py: Customise certificate validation for web services
This adds a `verify` argument to all functions that use network
services for lookups. The option is used to configure how
certificate validation works, the same as in the requests library.
For SOAP requests this is implemented properly when using the
Zeep library. The implementations using Suds and PySimpleSOAP
have been updated on a best-effort basis but their use has been
deprecated because they do not seem to work in practice in a
lot of cases already.
Related to https://github.com/arthurdejong/python-stdnum/issues/452
Related to https://github.com/arthurdejong/python-stdnum/pull/453
2024-07-04 Joris Makauskis <jmak@odoo.com>
* [6cbb9bc] stdnum/util.py: Fix zeep client timeout parameter
The timeout parameter of the zeep transport class is not
responsable for POST/GET timeouts. The operational_timeout
parameter should be used for that.
See https://github.com/mvantellingen/python-zeep/issues/140
Closes https://github.com/arthurdejong/python-stdnum/issues/444
Closes https://github.com/arthurdejong/python-stdnum/pull/445
2023-07-04 Jeff Horemans <jeff.horemans@vortex-financials.be>
* [af3a728] stdnum/be/ssn.py, tests/test_be_ssn.doctest: Add
Belgian SSN number
Closes https://github.com/arthurdejong/python-stdnum/pull/438
2024-07-15 Arthur de Jong <arthur@arthurdejong.org>
* [0da257c] online_check/stdnum.wsgi: Replace use of deprecated
inspect.getargspec()
Use the inspect.signature() function instead. The
inspect.getargspec() function was removed in Python 3.11.
2024-06-23 Arthur de Jong <arthur@arthurdejong.org>
* [e951dac] stdnum/id/npwp.py, tests/test_id_npwp.doctest: Support
16 digit Indonesian NPWP numbers
The Indonesian NPWP is being switched from 15 to 16 digits. The
number is now the NIK for Indonesian citizens and the old format
with a leading 0 for others (organisations and non-citizens).
See
https://www.grantthornton.co.id/insights/global-insights1/updates-regarding-the-format-of-indonesian-tax-id-numbers/
Closes https://github.com/arthurdejong/python-stdnum/issues/432
2024-05-17 Jeff Horemans <jeff.horemans@vortex-financials.be>
* [1da003f] stdnum/ch/uid.py: Adjust Swiss uid module to accept
numbers without CHE prefix
Closes https://github.com/arthurdejong/python-stdnum/pull/437
Closes https://github.com/arthurdejong/python-stdnum/issues/423
2024-05-21 petr.prikryl <petr.prikryl@olc.cz>
* [91959bd] stdnum/cz/banks.dat: Update Czech database files
Closes https://github.com/arthurdejong/python-stdnum/pull/439
Closes https://github.com/arthurdejong/python-stdnum/pull/435
2024-05-31 Olly Middleton <olly@wegotpop.com>
* [58ecb03] stdnum/ie/pps.py, tests/test_ie_pps.doctest: Update
Irish PPS validator to support new numbers
See https://www.charteredaccountants.ie/News/b-range-pps-numbers
Closes https://github.com/arthurdejong/python-stdnum/issues/440
Closes https://github.com/arthurdejong/python-stdnum/pull/441
2024-06-13 vanderkoort <vanderkoort@gmail.com>
* [fb4d792] NEWS: Fix a typo
Closes https://github.com/arthurdejong/python-stdnum/pull/443
2024-05-19 Arthur de Jong <arthur@arthurdejong.org>
* [5aeaeff] stdnum/id/loc.dat, stdnum/id/nik.py: Add support for
Indonesian NIK
2024-05-19 Arthur de Jong <arthur@arthurdejong.org>
* [0690996] .github/workflows/test.yml, setup.py, tox.ini: Drop
support for Python 3.5
We don't have an easy way to test with Python 3.5 any more.
2024-03-17 Arthur de Jong <arthur@arthurdejong.org>
* [201d4d1] ChangeLog, NEWS, README.md, docs/conf.py, docs/index.rst,
docs/stdnum.ca.bc_phn.rst, docs/stdnum.eu.ecnumber.rst,
docs/stdnum.in_.vid.rst, stdnum/__init__.py: Get files ready
for 1.20 release
2024-03-17 Arthur de Jong <arthur@arthurdejong.org>
* [b454d3a] stdnum/at/postleitzahl.dat, stdnum/be/banks.dat,
stdnum/cn/loc.dat, stdnum/gs1_128.py, stdnum/gs1_ai.dat,
stdnum/iban.dat, stdnum/imsi.dat, stdnum/isbn.dat, stdnum/isil.dat,
stdnum/nz/banks.dat, stdnum/oui.dat, tests/test_be_iban.doctest,
update/gs1_ai.py: Update database files
The Belgian bpost bank no longer has a registration and a few
bank account numbers in the tests that used that bank were removed.
Also updates the update/gs1_ai.py script to handle the new format
of the data published by GS1. Also update the GS1-128 module to
handle some different date formats.
The Pakistan entry was kept in the stdnum/iban.dat file because
the PDF version of the IBAN Registry still contains the country.
fix db
2024-03-17 Arthur de Jong <arthur@arthurdejong.org>
* [97dbced] tox.ini: Add update-dat tox target for convenient data
file updating
2024-03-17 Arthur de Jong <arthur@arthurdejong.org>
* [26fd25b] setup.cfg, update/cfi.py, update/nz_banks.py,
update/requirements.txt: Switch to using openpyxl for parsing
XLSX files
The xlrd has dropped support for parsing XLSX files. We still
use xlrd for update/be_banks.py because they use the classic
XLS format and openpyxl does not support that format.
2024-03-17 Arthur de Jong <arthur@arthurdejong.org>
* [9230604] stdnum/za/idnr.py: Use HTTPS in URLs where possible
2024-02-27 Atul Deolekar <atul.deolekar@gmail.com>
* [7cba469] stdnum/in_/vid.py: Add Indian virtual identity number
Closes https://github.com/arthurdejong/python-stdnum/pull/428
2024-03-17 Arthur de Jong <arthur@arthurdejong.org>
* [bb20121] stdnum/ua/edrpou.py, tests/test_ua_edrpou.doctest:
Fix Ukrainian EDRPOU check digit calculation
This fixes the case where the weighted sum woud be 10 which
should result in a check digit of 0.
Closes https://github.com/arthurdejong/python-stdnum/issues/429
2023-12-15 Kevin Dagostino <kevin@tonkworks.com>
* [9c7c669] stdnum/fr/nif.py: Imporve French NIF validation
(checksum)
The last 3 digits are a checksum. % 511
https://ec.europa.eu/taxation_customs/tin/specs/FS-TIN%20Algorithms-Public.docx
Closes https://github.com/arthurdejong/python-stdnum/pull/426
2024-02-03 Arthur de Jong <arthur@arthurdejong.org>
* [1e412ee] stdnum/vatin.py, tests/test_vatin.doctest: Fix vatin
number compacting for "EU" VAT numbers
Thanks Davide Walder for finding this.
Closes https://github.com/arthurdejong/python-stdnum/issues/427
2023-11-19 Daniel Weber <weberdk01@gmail.com>
* [2535bbf] stdnum/eu/ecnumber.py, tests/test_eu_ecnumber.doctest:
Add European Community (EC) Number
Closes https://github.com/arthurdejong/python-stdnum/pull/422
2023-10-20 Ömer Boratav <omerboratav@gmail.com>
* [2478483] stdnum/ca/bc_phn.py: Add British Columbia PHN
Closes https://github.com/arthurdejong/python-stdnum/pull/421
2023-11-12 Arthur de Jong <arthur@arthurdejong.org>
* [58d6283] stdnum/ro/cf.py, tests/test_eu_vat.doctest: Ensure EU
VAT numbers don't accept duplicate country codes
2023-11-12 Arthur de Jong <arthur@arthurdejong.org>
* [1a5db1f] stdnum/de/vat.py: Fix typo (thanks Александр
Кизеев)
2023-10-02 Arthur de Jong <arthur@arthurdejong.org>
* [352bbcb] .github/workflows/test.yml, setup.py, tox.ini: Add
support for Python 3.12
2023-08-20 Arthur de Jong <arthur@arthurdejong.org>
* [fa455fc] ChangeLog, NEWS, README.md, docs/index.rst,
docs/stdnum.be.bis.rst, docs/stdnum.eg.tn.rst,
docs/stdnum.es.postal_code.rst, docs/stdnum.eu.oss.rst,
docs/stdnum.gn.nifp.rst, docs/stdnum.si.maticna.rst,
stdnum/__init__.py: Get files ready for 1.19 release
2023-08-20 Arthur de Jong <arthur@arthurdejong.org>
* [3191b4c] MANIFEST.in: Ensure all files are included in source
archive
Fixes b1dc313 Fixes 90044e2
2023-08-20 Arthur de Jong <arthur@arthurdejong.org>
* [3947a54] stdnum/by/portal.nalog.gov.by.crt, stdnum/by/unp.py:
Remove obsolete intermediate certificate
The portal.nalog.gov.by web no longer has an incomplete
certificate chain.
2023-08-20 Arthur de Jong <arthur@arthurdejong.org>
* [7761e42] stdnum/numdb.py: Use importlib.resource in place of
deprecated pkg_resources
Closes https://github.com/arthurdejong/python-stdnum/issues/412
Closes https://github.com/arthurdejong/python-stdnum/pull/413
2023-08-20 Arthur de Jong <arthur@arthurdejong.org>
* [f6edcc5] tests/test_do_rnc.py: Avoid the deprecated
assertRegexpMatches function
2023-08-20 Arthur de Jong <arthur@arthurdejong.org>
* [895f092] setup.cfg: Rename license_file option in setup.cfg
It seems the old option wasn't working with all versions of
setuptools anyway.
See
https://setuptools.pypa.io/en/latest/userguide/declarative_config.html
2023-08-20 Arthur de Jong <arthur@arthurdejong.org>
* [3126f96] stdnum/by/unp.py, tests/test_by_unp.py: Update Belarusian
UNP online check
The API for the online check for Belarusian UNP numbers at
https://www.portal.nalog.gov.by/grp/getData has changed some
small details of the API.
2023-08-20 Arthur de Jong <arthur@arthurdejong.org>
* [88d1dca] tests/test_de_handelsregisternummer.py: Replace test
number for German company registry
The number seems to be no longer valid breaking the online tests.
2023-08-20 Arthur de Jong <arthur@arthurdejong.org>
* [6e56f3c] stdnum/at/postleitzahl.dat, stdnum/be/banks.dat,
stdnum/cn/loc.dat, stdnum/gs1_ai.dat, stdnum/iban.dat,
stdnum/imsi.dat, stdnum/isbn.dat, stdnum/isil.dat,
stdnum/nz/banks.dat, stdnum/oui.dat, tests/test_be_iban.doctest,
update/oui.py: Update database files
This also modifies the OUI update script because the website
has changed to HTTPS and is sometimes very slow.
The Belgian Commerzbank no longer has a registration and a bank
account number in the tests used that bank.
2023-08-20 Arthur de Jong <arthur@arthurdejong.org>
* [0aa0b85] update/eu_nace.py: Remove EU NACE update script
The website that publishes the NACE catalogue has changed and
a complete re-write of the script would be necessary. The data
file hasn't changed since 2017 so is also unlikely to change
until it is going to be replaced by NACE rev. 2.1 in 2025.
See https://ec.europa.eu/eurostat/web/nace
The NACE rev 2 specification can now be found here:
https://showvoc.op.europa.eu/#/datasets/ESTAT_Statistical_Classification_of_Economic_Activities_in_the_European_Community_Rev._2/data
The NACE rev 2.1 specification can now be found here:
https://showvoc.op.europa.eu/#/datasets/ESTAT_Statistical_Classification_of_Economic_Activities_in_the_European_Community_Rev._2.1._%28NACE_2.1%29/data
In both cases a ZIP file with RDF metadata can be downloaded
(but the web applciation also exposes some simpler JSON APIs).
2023-08-13 Arthur de Jong <arthur@arthurdejong.org>
* [f58e08d] stdnum/eu/oss.py, stdnum/eu/vat.py,
tests/test_eu_oss.doctest, tests/test_eu_vat.doctest: Validate
European VAT numbers with EU or IM prefix
Closes https://github.com/arthurdejong/python-stdnum/pull/417
2023-06-30 Blaž Bregar <blaz@vexo.systems>
* [d0f4c1a] stdnum/si/__init__.py, stdnum/si/maticna.py,
tests/test_si_maticna.doctest: Add Slovenian Corporate Registration
Number
Closes https://github.com/arthurdejong/python-stdnum/pull/414
2023-08-06 Arthur de Jong <arthur@arthurdejong.org>
* [b8ee830] .github/workflows/test.yml, scripts/check_headers.py,
tox.ini: Extend license check to file header check
This also checks that the file name referenced in the file header
is correct.
2023-08-06 Arthur de Jong <arthur@arthurdejong.org>
* [ef49f49] stdnum/be/bis.py, stdnum/be/nn.py,
stdnum/de/stnr.py, stdnum/dz/nif.py, stdnum/fi/alv.py,
stdnum/gb/utr.py, stdnum/hr/oib.py, stdnum/md/idno.py,
stdnum/pl/regon.py, stdnum/py/ruc.py, stdnum/sk/dph.py,
stdnum/tn/mf.py, stdnum/ua/edrpou.py, stdnum/ua/rntrc.py,
stdnum/vn/mst.py, stdnum/za/idnr.py, tests/test_al_nipt.doctest,
tests/test_gb_sedol.doctest, tests/test_iso6346.doctest,
tests/test_iso7064.doctest, tests/test_th_moa.doctest,
tests/test_tn_mf.doctest, tests/test_ve_rif.doctest: Fix file
headers
This improves consistency across files and fixes some files that
had an incorrect file name reference.
2023-07-30 Arthur de Jong <arthur@arthurdejong.org>
* [3848318] stdnum/ca/sin.py: Validate first digit of Canadian SIN
See
http://www.straightlineinternational.com/docs/vaildating_canadian_sin.pdf
See
https://lists.arthurdejong.org/python-stdnum-users/2023/msg00000.html
2023-06-20 Jeff Horemans <jeff.horemans@vortex-financials.be>
* [be33a80] stdnum/be/bis.py, stdnum/be/nn.py,
tests/test_be_bis.doctest, tests/test_be_nn.doctest: Add Belgian
BIS Number
Closes https://github.com/arthurdejong/python-stdnum/pull/418
2023-06-19 Arthur de Jong <arthur@arthurdejong.org>
* [8ce4a47] .github/workflows/test.yml: Run Python 2.7 tests in
a container for GitHub Actions
See https://github.com/actions/setup-python/issues/672
2023-06-13 Jeff Horemans <jeff.horemans@vortex-financials.be>
* [311fd56] stdnum/be/nn.py, tests/test_be_nn.doctest: Handle
(partially) unknown birthdate of Belgian National Number
This adds documentation for the special cases regarding birth
dates embedded in the number, allows for date parts to be unknown
and adds functions for getting the year and month.
Closes https://github.com/arthurdejong/python-stdnum/pull/416
2023-06-01 Chales Horn <charles.horn@gmail.com>
* [7d3ddab] stdnum/isbn.py, stdnum/issn.py: Minor ISSN and ISBN
documentation fixes
Fix a comment that claimed incorrect ISSN length and use slightly
more consistent terminology around check digits in ISSN and ISBN.
Closes https://github.com/arthurdejong/python-stdnum/pull/415
2023-05-12 Arthur de Jong <arthur@arthurdejong.org>
* [90044e2] .github/workflows/test.yml,
scripts/check_license_headers.py, tox.ini: Add automated checking
for correct license header
2023-01-28 Leandro Regueiro <leandro.regueiro@gmail.com>
* [62d15e9] stdnum/gn/__init__.py, stdnum/gn/nifp.py,
tests/test_gn_nifp.doctest: Add support for Guinea TIN
Closes https://github.com/arthurdejong/python-stdnum/issues/384
Closes https://github.com/arthurdejong/python-stdnum/pull/386
2023-02-24 Victor <victor@calidae.com>
* [96abcfe] stdnum/es/postal_code.py: Add Spanish postcode validator
Closes https://github.com/arthurdejong/python-stdnum/pull/401
2023-02-13 mjturt <maks.turtiainen@gmail.com>
* [36858cc] stdnum/fi/hetu.py, tests/test_fi_hetu.doctest: Add
support for Finland HETU new century indicating signs
More information at
https://dvv.fi/en/reform-of-personal-identity-code
Cloess https://github.com/arthurdejong/python-stdnum/pull/396
2023-01-05 Jeff Horemans <jeff.horemans@vortex-financials.be>
* [42d2792] stdnum/be/nn.py, tests/test_be_nn.doctest: Add
functionality to get gender from Belgian National Number
This also extends the documentation for the number.
Closes https://github.com/arthurdejong/python-stdnum/pull/347/files
2023-03-06 RaduBorzea <101399404+RaduBorzea@users.noreply.github.com>
* [cf14a9f] stdnum/ro/cnp.py: Add get_county() function to
Romanian CNP
This also validates the county part of the number.
Closes https://github.com/arthurdejong/python-stdnum/pull/407
2023-03-19 Arthur de Jong <arthur@arthurdejong.org>
* [a8b6573] docs/conf.py, setup.cfg, tox.ini: Ensure flake8 is
run on all Python files
This also fixes code style fixes in the Sphinx configuration file.
2023-03-18 Arthur de Jong <arthur@arthurdejong.org>
* [7af50b7] .github/workflows/test.yml, setup.py, tox.ini: Add
support for Python 3.11
2023-03-18 Arthur de Jong <arthur@arthurdejong.org>
* [8498b37] stdnum/gs1_128.py: Fix date formatting on PyPy 2.7
The original way of calling strftime was likely an artifact of
Python 2.6 support.
Fixes 7e84c05
2023-03-18 Arthur de Jong <arthur@arthurdejong.org>
* [7e84c05] stdnum/gs1_128.py, stdnum/gs1_ai.dat,
tests/test_gs1_128.doctest, update/gs1_ai.py: Extend date parsing
in GS1-128
Some new AIs have new date formats or have changed the way
optional components of formats are defined.
2023-03-09 Dimitri Papadopoulos
<3234522+DimitriPapadopoulos@users.noreply.github.com>
* [bf1bdfe] stdnum/iban.dat: Update IBAN database file
Closes https://github.com/arthurdejong/python-stdnum/pull/409
2023-03-18 Arthur de Jong <arthur@arthurdejong.org>
* [a09a7ce] stdnum/al/nipt.py, tests/test_al_nipt.doctest: Fix
Albanian tax number validation
This extends the description of the Albanian NIPT (NUIS) number
with information on the structure of the number. The first
character was previously limited between J and L but this letter
indicates a decade and the number is also used for individuals
to where it indicates a birth date.
Thanks Julien Launois for pointing this out.
Source:
https://www.oecd.org/tax/automatic-exchange/crs-implementation-and-assistance/tax-identification-numbers/Albania-TIN.pdf
Fixes 3db826c Closes
https://github.com/arthurdejong/python-stdnum/pull/402
2023-03-13 Ali-Akber Saifee <ali@indydevs.org>
* [031a249] stdnum/sg/uen.py: Fix typo in UEN docstring
2023-01-02 Arthur de Jong <arthur@arthurdejong.org>
* [cf22705] online_check/stdnum.wsgi, tox.ini: Extend number
properties to show in online check
This also ensures that flake8 is run on the WSGI script.
2022-10-09 Leandro Regueiro <leandro.regueiro@gmail.com>
* [6d366e3] stdnum/eg/__init__.py, stdnum/eg/tn.py,
tests/test_eg_tn.doctest: Add support for Egypt TIN
This also convertis Arabic digits to ASCII digits.
Closes https://github.com/arthurdejong/python-stdnum/issues/225
Closes https://github.com/arthurdejong/python-stdnum/pull/334
2022-12-30 Arthur de Jong <arthur@arthurdejong.org>
* [b1dc313] CONTRIBUTING.md, docs/contributing.rst, docs/index.rst:
Add initial CONTRIBUTING.md file
Initial description of the information needed for adding new
number formats and some coding and testing guidelines.
2022-12-05 Dimitri Papadopoulos
<3234522+DimitriPapadopoulos@users.noreply.github.com>
* [df894c3] stdnum/ch/uid.py, stdnum/gh/tin.py: Fix typos found
by codespell
Closes https://github.com/arthurdejong/python-stdnum/pull/344
2022-12-12 Arthur de Jong <arthur@arthurdejong.org>
* [4f8155c] .github/workflows/test.yml: Run Python 3.5 and 3.6
GitHub tests on older Ubuntu
The ubuntu-latest now points to ubuntu-22.04 instead of
ubuntu-20.04 before.
This also switches the PyPy version to test with to 3.9.
2022-11-29 valeriko <valerij.koort@gmail.com>
* [74d854f] stdnum/ee/ik.py: Fix a typo
Clocses https://github.com/arthurdejong/python-stdnum/pull/341
2022-11-28 Arthur de Jong <arthur@arthurdejong.org>
* [7a91a98] tox.ini: Avoid newer flake8
The new 6.0.0 contains a number of backwards incompatible changes
for which plugins need to be updated and configuration needs to
be updated.
Sadly the maintainer no longer accepts contributions or discussion
See https://github.com/PyCQA/flake8/issues/1760
2022-11-13 Arthur de Jong <arthur@arthurdejong.org>
* [60a90ed] ChangeLog, NEWS, README.md, docs/index.rst,
docs/stdnum.be.nn.rst, docs/stdnum.cfi.rst,
docs/stdnum.cz.bankaccount.rst, docs/stdnum.dz.nif.rst,
docs/stdnum.fo.vn.rst, docs/stdnum.gh.tin.rst,
docs/stdnum.ke.pin.rst, docs/stdnum.ma.ice.rst,
docs/stdnum.me.pib.rst, docs/stdnum.mk.edb.rst,
docs/stdnum.pk.cnic.rst, docs/stdnum.si.emso.rst,
docs/stdnum.tn.mf.rst, stdnum/__init__.py, stdnum/gh/tin.py,
tox.ini: Get files ready for 1.18 release
2022-11-13 Arthur de Jong <arthur@arthurdejong.org>
* [31b2694] stdnum/at/postleitzahl.dat, stdnum/be/banks.dat,
stdnum/cn/loc.dat, stdnum/eu/nace.dat, stdnum/gs1_ai.dat,
stdnum/imsi.dat, stdnum/isbn.dat, stdnum/nz/banks.dat,
stdnum/oui.dat: Update database files
2022-11-13 Arthur de Jong <arthur@arthurdejong.org>
* [f691bf7] stdnum/de/handelsregisternummer.py,
tests/test_de_handelsregisternummer.py: Update German
OffeneRegister lookup data format
It appears that the data structure at OffeneRegister has changed
which requires a different query. Data is returned in a different
structure.
2022-11-13 Arthur de Jong <arthur@arthurdejong.org>
* [5cdef0d] update/cn_loc.py: Increase timeout for CN Open Data
download
It seems that raw.githubusercontent.com can be extremely slow.
2022-11-13 Arthur de Jong <arthur@arthurdejong.org>
* [580d6e0] update/my_bp.py: Pick up custom certificate from
script path
This ensures that the script can be run from any directory.
Fixes c4ad714
2022-09-06 Leandro Regueiro <leandro.regueiro@gmail.com>
* [7348c7a] tests/test_vatin.doctest: vatin: Add a few more tests
for is_valid
See https://github.com/arthurdejong/python-stdnum/pull/316
2022-11-13 Arthur de Jong <arthur@arthurdejong.org>
* [fa62ea3] stdnum/pk/__init__.py, stdnum/pk/cnic.py,
tests/test_pk_cnic.doctest: Add Pakistani ID card number
Based on the implementation provided by Quantum Novice (Syed
Haseeb Shah).
Closes https://github.com/arthurdejong/python-stdnum/pull/306
Closes https://github.com/arthurdejong/python-stdnum/issues/304
2022-10-16 Blaž Bregar <blaz@aklaro.si>
* [feccaff] stdnum/si/__init__.py, stdnum/si/emso.py,
tests/test_si_emso.doctest: Add support for Slovenian EMŠO
(Unique Master Citizen Number)
Closes https://github.com/arthurdejong/python-stdnum/pull/338
2022-11-12 Arthur de Jong <arthur@arthurdejong.org>
* [74cc981] stdnum/cz/bankaccount.py, stdnum/nz/bankaccount.py,
tox.ini, update/iban.py: Ensure we always run flake8-bugbear
This assumes that we no longer use Python 2.7 for running the
flake8 tests any more.
2022-11-12 Arthur de Jong <arthur@arthurdejong.org>
* [a03ac04] stdnum/cz/bankaccount.py,
stdnum/es/referenciacatastral.py, stdnum/lei.py, stdnum/nl/bsn.py:
Use HTTPS in URLs where possible
2022-10-23 Leandro Regueiro <leandro.regueiro@gmail.com>
* [8e76cd2] stdnum/cr/cpf.py: Pad with zeroes in a more readable
manner
Closes https://github.com/arthurdejong/python-stdnum/pull/340
2022-11-12 Arthur de Jong <arthur@arthurdejong.org>
* [45f098b] stdnum/exceptions.py: Make all exceptions inherit
from ValueError
All the validation exceptions (subclasses of ValidationError)
are raised when a number is provided with an inappropriate value.
2022-11-12 Arthur de Jong <arthur@arthurdejong.org>
* [a218032] stdnum/ch/uid.py, tests/test_ch_uid.py: Add a check_uid()
function to the stdnum.ch.uid module
This function can be used to performa a lookup of organisation
information by the Swiss Federal Statistical Office web service.
Related to https://github.com/arthurdejong/python-stdnum/issues/336
2022-11-12 Arthur de Jong <arthur@arthurdejong.org>
* [1364e19] stdnum/cusip.py, tests/test_cusip.doctest: Support
"I" and "O" in CUSIP number
It is unclear why these letters were considered invalid at the
time of the implementation.
This also reduces the test set a bit while still covering
most cases.
Closes https://github.com/arthurdejong/python-stdnum/issues/337
2022-10-23 Arthur de Jong <arthur@arthurdejong.org>
* [f972894] online_check/stdnum.wsgi: Switch to escape() from html
The function was removed from the cgi module in Python 3.8.
2022-10-23 Arthur de Jong <arthur@arthurdejong.org>
* [c5d3bf4] online_check/stdnum.wsgi: Switch to parse_qs() from
urllib.parse
The function was removed from the cgi module in Python 3.8.
2022-10-19 Arthur de Jong <arthur@arthurdejong.org>
* [8b5b07a] stdnum/casrn.py: Remove unused import
Fixes 09d595b
2022-10-19 Arthur de Jong <arthur@arthurdejong.org>
* [09d595b] stdnum/casrn.py: Improve validation of CAS Registry
Number
This ensures that a leading 0 is treated as invalid.
2022-10-19 Arthur de Jong <arthur@arthurdejong.org>
* [7c2153e] stdnum/cas.py: Remove duplicate CAS Registry Number
The recently added stdnum.cas module was already available as
teh stdnum.casrn module.
Reverts acb6934
2022-10-19 Arthur de Jong <arthur@arthurdejong.org>
* [1003033] tests/test_no_fodselsnummer.doctest: Update
Fødselsnummer test case for date in future
The future was now. This problem was pushed forwards to October
2039.
2022-10-15 Arthur de Jong <arthur@arthurdejong.org>
* [1636045] tox.ini: Support running tests with PyPy 2.7
This also applies the fix from cfc80c8 from Python 2.7 to PyPy.
2022-09-11 Leandro Regueiro <leandro.regueiro@gmail.com>
* [7be2291] stdnum/gh/__init__.py, stdnum/gh/tin.py,
tests/test_gh_tin.doctest: Add support for Ghana TIN
Closes https://github.com/arthurdejong/python-stdnum/pull/326
Closes https://github.com/arthurdejong/python-stdnum/issues/262
2022-10-15 Arthur de Jong <arthur@arthurdejong.org>
* [acb6934] stdnum/cas.py: Add CAS Registry Number
2022-09-18 Leandro Regueiro <leandro.regueiro@gmail.com>
* [2b6e087] stdnum/me/__init__.py, stdnum/me/pib.py,
tests/test_me_pib.doctest: Add support for Montenegro TIN
Closes https://github.com/arthurdejong/python-stdnum/pull/331
Closes https://github.com/arthurdejong/python-stdnum/issues/223
2022-09-10 Leandro Regueiro <leandro.regueiro@gmail.com>
* [fbe094c] stdnum/fo/__init__.py, stdnum/fo/vn.py,
tests/test_fo_vn.doctest: Add Faroe Islands V-number
Closes https://github.com/arthurdejong/python-stdnum/pull/323
Closes https://github.com/arthurdejong/python-stdnum/issues/219
2022-09-17 Leandro Regueiro <leandro.regueiro@gmail.com>
* [a261a93] stdnum/mk/__init__.py, stdnum/mk/edb.py,
tests/test_mk_edb.doctest: Add North Macedonian ЕДБ
Note that this is implementation is mostly based
on unofficial sources describing the format,
which match the hundreds of examples found online.
https://forum.it.mk/threads/modularna-kontrola-na-embg-edb-dbs-itn.15663/?__cf_chl_tk=Op2PaEIauip6Z.ZjvhP897O8gRVAwe5CDAVTpjx1sEo-1663498930-0-gaNycGzNCRE#post-187048
Also note that the algorithm for the check digit was tested on
all found examples, and it doesn't work for all of them, despite
those failing examples don't seem to be valid according to the
official online search.
Closes https://github.com/arthurdejong/python-stdnum/pull/330
Closes https://github.com/arthurdejong/python-stdnum/issues/222
2022-09-23 Dimitri Papadopoulos
<3234522+DimitriPapadopoulos@users.noreply.github.com>
* [eff3f52] stdnum/cn/ric.py, stdnum/ma/ice.py: Fix a couple typos
found by codespell
Closes https://github.com/arthurdejong/python-stdnum/pull/333
2022-09-04 Leandro Regueiro <leandro.regueiro@gmail.com>
* [31709fc] stdnum/dz/__init__.py, stdnum/dz/nif.py,
tests/test_dz_nif.doctest: Add Algerian NIF number
This currently only checks the length and whether it only
contains digits because little could be found on the structure
of the number of whether there are any check digits.
Closes https://github.com/arthurdejong/python-stdnum/pull/313
Closes https://github.com/arthurdejong/python-stdnum/issues/307
2022-09-03 Leandro Regueiro <leandro.regueiro@gmail.com>
* [2907676] stdnum/ma/__init__.py, stdnum/ma/ice.py,
tests/test_ma_ice.doctest: Add support for Morocco TIN
Closes https://github.com/arthurdejong/python-stdnum/issues/226
Closes https://github.com/arthurdejong/python-stdnum/pull/312
2022-08-08 Leandro Regueiro <leandro.regueiro@gmail.com>
* [d70549a] stdnum/ke/__init__.py, stdnum/ke/pin.py,
tests/test_ke_pin.doctest: Add Kenyan TIN
Closes https://github.com/arthurdejong/python-stdnum/issues/300
Closes https://github.com/arthurdejong/python-stdnum/pull/310
2022-09-06 Leandro Regueiro <leandro.regueiro@gmail.com>
* [dd70cd5] stdnum/tn/__init__.py, stdnum/tn/mf.py,
tests/test_tn_mf.doctest: Add support for Tunisia TIN
Closes https://github.com/arthurdejong/python-stdnum/pull/317
Closes https://github.com/arthurdejong/python-stdnum/issues/309
2022-08-15 Arthur de Jong <arthur@arthurdejong.org>
* [e40c827] tests/test_eu_vat.py: Update EU VAT Vies test with
new number
The number used before was apparently no longer valid.
2022-08-15 Arthur de Jong <arthur@arthurdejong.org>
* [5bcc460] stdnum/de/handelsregisternummer.py: Fix German
OffeneRegister company registry URL
2022-08-15 Arthur de Jong <arthur@arthurdejong.org>
* [ee9dfdf] stdnum/at/postleitzahl.dat, stdnum/be/banks.dat,
stdnum/cfi.dat, stdnum/cn/loc.dat, stdnum/eu/nace.dat,
stdnum/gs1_ai.dat, stdnum/iban.dat, stdnum/imsi.dat,
stdnum/isbn.dat, stdnum/isil.dat, stdnum/my/bp.dat,
stdnum/nz/banks.dat, stdnum/oui.dat: Update database files
2022-08-15 Arthur de Jong <arthur@arthurdejong.org>
* [6b39c3d] update/nz_banks.py: Do not print trailing space
2022-08-15 Arthur de Jong <arthur@arthurdejong.org>
* [e901ac7] update/my_bp.py: Ignore invalid downloaded country codes
The page currently lists a country without a country code (is
listed as "-"). This also ensures that lists of country codes
are handled consistently.
2022-08-15 Arthur de Jong <arthur@arthurdejong.org>
* [2cf78c2] update/imsi.py: Update names of Wikipedia pages with
IMSI codes
2022-08-15 Arthur de Jong <arthur@arthurdejong.org>
* [975d508] update/at_postleitzahl.py, update/be_banks.py,
update/cfi.py, update/cn_loc.py, update/cz_banks.py,
update/do_whitelists.py, update/eu_nace.py, update/gs1_ai.py,
update/iban.py, update/imsi.py, update/isbn.py, update/isil.py,
update/my_bp.py, update/nz_banks.py, update/oui.py: Provide a
timeout to all download scripts
2022-08-15 Arthur de Jong <arthur@arthurdejong.org>
* [ed37a6a] stdnum/isil.py, update/isil.py: Update ISIL download URL
2022-08-13 Christian Clauss <cclauss@me.com>
* [8aa6b5e] .github/workflows/test.yml: Remove redundant steps
with tox_job
This also switches the other Tox jobs to use the latest Python
3.x interpreter.
Closes https://github.com/arthurdejong/python-stdnum/pull/305
2022-08-03 Romuald R <romualdr@users.noreply.github.com>
* [ce9322c] stdnum/de/handelsregisternummer.py,
tests/test_de_handelsregisternummer.doctest: Add extra court
alias for german Handelsregisternummer
Charlottenburg (Berlin) is a valid court representation for Berlin
(Charlottenburg).
See
https://www.northdata.com/VRB+Service+GmbH,+Berlin/Amtsgericht+Charlottenburg+%28Berlin%29+HRB+103587+B
Closes https://github.com/arthurdejong/python-stdnum/pull/298
2022-08-15 Arthur de Jong <arthur@arthurdejong.org>
* [eae1dd2] stdnum/ch/esr.py, stdnum/il/idnr.py, stdnum/isin.py,
stdnum/nl/bsn.py, stdnum/no/kontonr.py, stdnum/nz/ird.py,
stdnum/ro/cui.py: Use str.zfill() for padding leading zeros
2022-06-08 petr.prikryl <petr.prikryl@olc.cz>
* [c5595c7] stdnum/cz/bankaccount.py, stdnum/cz/banks.dat,
tests/test_cz_bankaccount.doctest, update/cz_banks.py: Add Czech
bank account numbers
Closes https://github.com/arthurdejong/python-stdnum/issues/295
Closes https://github.com/arthurdejong/python-stdnum/pull/296
2022-08-06 vovavili <64227274+vovavili@users.noreply.github.com>
* [4d4a0b3] stdnum/isin.py: Fix small typo
Improper inflection of plurals.
Closes https://github.com/arthurdejong/python-stdnum/pull/299
2022-08-13 Arthur de Jong <arthur@arthurdejong.org>
* [7ee0563] setup.cfg, stdnum/ad/nrt.py, stdnum/cr/cpj.py,
stdnum/eu/nace.py, stdnum/id/npwp.py, stdnum/il/hp.py,
stdnum/it/aic.py, stdnum/li/peid.py, stdnum/nz/ird.py,
stdnum/sg/uen.py, stdnum/sv/nit.py, stdnum/za/tin.py,
update/eu_nace.py: Put long line flake8 ignores in files instead
of globally
We have some long URLs in the code (mostly in docstrings) and
wrapping them does not improve readability (and is difficult
in docstrings) so the E501 ignore is now put inside each file
instead of globally.
Closes https://github.com/arthurdejong/python-stdnum/pull/302
2022-08-13 Arthur de Jong <arthur@arthurdejong.org>
* [351be74] .github/workflows/test.yml, setup.py, tox.ini: Add
support for Python 3.10
2022-08-08 Christian Clauss <cclauss@me.com>
* [b36c0d6] .github/workflows/test.yml: Upgrade GitHub Actions
Update checkout to v3 (no relevant changes) and setup-python to v4
(changes the names for pypy versions).
2022-08-12 Arthur de Jong <arthur@arthurdejong.org>
* [9f79691] stdnum/it/iva.py, update/iban.py: Fix flake8 error
This stops using not as a function and hopefully also makes the
logic clearer.
2022-07-04 Arthur de Jong <arthur@arthurdejong.org>
* [a280d53] .github/workflows/test.yml: Upgrade to CodeQL Action v2
https://github.blog/changelog/2022-04-27-code-scanning-deprecation-of-codeql-action-v1/
2022-04-09 Arthur de Jong <arthur@arthurdejong.org>
* [8a28e38] setup.cfg, tox.ini: Switch from nose to pytest
Nose hasn't seen a release since 2015 and sadly doesn't work
with Python 3.10.
See https://github.com/nose-devs/nose/issues/1099
2022-05-09 Arthur de Jong <arthur@arthurdejong.org>
* [e831d07] setup.cfg: Ignore flake8 complaining about print
statements
It seems that flake8 now uses T201 instead of T001 for this check.
2022-04-08 Alexis de Lattre <alexis.delattre@akretion.com>
* [7d81eac] stdnum/gs1_128.py, tests/test_gs1_128.doctest: Support
parsing dates without a day in GS1-128
Date such as '(17)260400' is now properly interpreted as April
30th 2026.
Closes https://github.com/arthurdejong/python-stdnum/pull/294
2022-02-05 Cédric Krier <ced@b2ck.com>
* [bda2a9c] stdnum/be/nn.py, tests/test_be_nn.doctest: Compute
birth date from Belgian National Number
Closes https://github.com/arthurdejong/python-stdnum/pull/288
2022-03-21 Arthur de Jong <arthur@arthurdejong.org>
* [e2a2774] stdnum/iso7064/mod_97_10.py, tests/test_iso7064.doctest:
Return check digits in 02-98 range for ISO 7064 Mod 97, 10
There are some valid ranges for check digits within ISO 7064
Mod 97, 10 that all result in a valid checksum. This changes the
calculated check digits to be in the range from 02 to 98 as is
specified for use in IBAN.
See
https://en.wikipedia.org/wiki/International_Bank_Account_Number#Generating_IBAN_check_digits
Closes https://github.com/arthurdejong/python-stdnum/pull/289
2022-03-07 Cédric Krier <ced@b2ck.com>
* [73f5e3a] stdnum/fr/siret.py, tests/test_fr_siret.doctest:
Support special validation of La Post SIRET
See
https://fr.wikipedia.org/wiki/Système_d'identification_du_répertoire_des_établissements#Exceptions_pour_le_groupe_La_Poste
Closes https://github.com/arthurdejong/python-stdnum/pull/293
Closes https://github.com/arthurdejong/python-stdnum/issues/291
2022-02-14 Arthur de Jong <arthur@arthurdejong.org>
* [27c7c74] stdnum/cfi.py, tests/test_cfi.doctest: Fix Python 2.7
compatibility of the tests
Fixes a9039c1
2022-02-14 Arthur de Jong <arthur@arthurdejong.org>
* [cfc80c8] tox.ini: Support running tests with Python 2.7
When using recent versions of virtualenv this ensures that
older versions of pip and setuptools will be used inside the
virtualenvs that are created by tox.
2022-02-13 Arthur de Jong <arthur@arthurdejong.org>
* [a9039c1] stdnum/cfi.dat, stdnum/cfi.py, tests/test_cfi.doctest,
update/cfi.py: Add Classification of Financial Instruments
This implements parsing of ISO 10962 CFI codes based on the
published description of the structure of these numbers.
Closes https://github.com/arthurdejong/python-stdnum/issues/283
2022-02-13 Arthur de Jong <arthur@arthurdejong.org>
* [219ff54] stdnum/numdb.py, tests/numdb-test.dat: Fix problem in
numdb with missing sub-properties
If a numdb data file line contains multiple values or ranges
the sub-ranges were only applied to the last value in the range.
2022-02-13 Arthur de Jong <arthur@arthurdejong.org>
* [fd32e61] setup.py: Also ensure that embedded certificates
are shipped
2022-01-09 Arthur de Jong <arthur@arthurdejong.org>
* [02dec52] stdnum/mx/curp.py: Fix disabling check digit validation
of Mexican CURP
The validation functions supported an optional parameter to
disable check digit validation in the number that didn't actually
affect validation and was most likely accidentally copied from
the RFC module.
Fixes 50874a9 Closes
https://github.com/arthurdejong/python-stdnum/issues/285
2021-11-29 Cédric Krier <ced@b2ck.com>
* [dcf4730] stdnum/be/__init__.py, stdnum/be/nn.py: Add Belgian
National Number
Closes https://github.com/arthurdejong/python-stdnum/pull/284
2021-10-03 Arthur de Jong <arthur@arthurdejong.org>
* [50650a9] ChangeLog, NEWS, README.md, docs/index.rst,
docs/stdnum.in_.epic.rst, docs/stdnum.in_.gstin.rst,
docs/stdnum.isrc.rst, docs/stdnum.pt.cc.rst,
docs/stdnum.se.postnummer.rst, docs/stdnum.th.moa.rst,
docs/stdnum.th.pin.rst, docs/stdnum.th.tin.rst, stdnum/__init__.py:
Get files ready for 1.17 release
2021-10-03 Arthur de Jong <arthur@arthurdejong.org>
* [0779d6a] stdnum/kr/brn.py, tests/test_kr_brn.py: Remove South
Korean BRN online check
The Korea Fair Trade Commission website now requires solving
a CAPTCHA before submitting the request so this is no longer
possible.
2021-10-03 Arthur de Jong <arthur@arthurdejong.org>
* [61ebc9c] stdnum/no/orgnr.py: Add documentation for Norwegian
Organisasjonsnummer
2021-10-03 Arthur de Jong <arthur@arthurdejong.org>
* [9da63a4] tests/test_do_cedula.py: Update Cedula online test value
Apparently the previously whitelisted value is no longer recognised
as a valid value by the DGII service.
2021-10-03 Arthur de Jong <arthur@arthurdejong.org>
* [25c30d7] stdnum/by/portal.nalog.gov.by.crt: Update Let's Encrypt
R3 intermediate certificate
The portal.nalog.gov.by web site serves an incomplete certificate
chain and the certificate chain was changed.
2021-10-03 Arthur de Jong <arthur@arthurdejong.org>
* [3406c24] MANIFEST.in, README.md, docs/index.rst, setup.py,
update/numlist.py: Rename README to README.md
Mostly to please GitHub.
See https://github.com/arthurdejong/python-stdnum/issues/280
2021-10-03 Arthur de Jong <arthur@arthurdejong.org>
* [d5cba0a] stdnum/at/postleitzahl.dat, stdnum/be/banks.dat,
stdnum/cn/loc.dat, stdnum/eu/nace.dat, stdnum/gs1_ai.dat,
stdnum/iban.dat, stdnum/imsi.dat, stdnum/isbn.dat, stdnum/isil.dat,
stdnum/nz/banks.dat, stdnum/oui.dat, update/gs1_ai.py: Update
database files
2021-09-30 Gaurav Chauhan <71322586+vairag22@users.noreply.github.com>
* [26a7e7b] stdnum/in_/__init__.py, stdnum/in_/gstin.py: Add Indian
GSTIN (VAT number)
Closes https://github.com/arthurdejong/python-stdnum/pull/279
2021-09-30 Gaurav Chauhan <71322586+vairag22@users.noreply.github.com>
* [ca560cd] stdnum/in_/epic.py: Add Indian EPIC number (Voter
ID number)
Closes https://github.com/arthurdejong/python-stdnum/pull/279
2021-09-30 Gaurav Chauhan <71322586+vairag22@users.noreply.github.com>
* [fc56388] stdnum/in_/aadhaar.py, stdnum/in_/pan.py: Improve
validation and docstrings of Indian numbers
This ensures that an Aadhaar cannot be a palindrome and checks the
serial part of the PAN to not be all zeros. It also updates some
descriptions of PAN holder types and renames the card_holder_type
to just holder_type.
Closes https://github.com/arthurdejong/python-stdnum/pull/279
2021-09-19 Arthur de Jong <arthur@arthurdejong.org>
* [1a0e613] stdnum/ec/ruc.py, tests/test_ec_ruc.doctest: Fix
detection of natural RUC values
A natural RUC is the CI plus an establishment number. Both the
natural RUC and the public RUC can have a third digit with the
value 6.
Closes https://github.com/arthurdejong/python-stdnum/issues/267
2021-08-20 michele <michele.ciccozzi@medpeople.se>
* [8071444] stdnum/se/__init__.py, stdnum/se/postnummer.py,
tests/test_se_postnummer.doctest: Add swedish postcode validator
Closes https://github.com/arthurdejong/python-stdnum/pull/271
2021-02-21 Piruin Panichphol <piruin.p@gmail.com>
* [424e408] stdnum/th/__init__.py, stdnum/th/moa.py,
stdnum/th/pin.py, stdnum/th/tin.py, tests/test_th_moa.doctest,
tests/test_th_pin.doctest, tests/test_th_tin.doctest: Add support
for Thai Numbers
- TIN Taxpayer Identification Number - PIN Personal Identification
Number - MOA Memorandum of Association Number
Closes https://github.com/arthurdejong/python-stdnum/issues/118
Closes https://github.com/arthurdejong/python-stdnum/pull/255
2021-03-10 Nuno André <mail@nunoand.re>
* [36d723c] stdnum/isrc.py, tests/test_isrc.doctest: Add ISRC
(International Standard Recording Code)
Closes https://github.com/arthurdejong/python-stdnum/pull/261
2021-08-07 Dimitri Papadopoulos
<3234522+DimitriPapadopoulos@users.noreply.github.com>
* [48bfd84] stdnum/ad/nrt.py, stdnum/bitcoin.py, stdnum/do/ncf.py,
stdnum/isbn.py, stdnum/util.py, stdnum/vn/mst.py,
tests/test_cusip.doctest, tests/test_de_idnr.doctest,
update/be_banks.py, update/imsi.py, update/isil.py,
update/numlist.py: Fix typos found by codespell
Closes https://github.com/arthurdejong/python-stdnum/pull/269
2021-08-07 Dimitri Papadopoulos
<3234522+DimitriPapadopoulos@users.noreply.github.com>
* [dcdb5c9] stdnum/exceptions.py: Explicilty define exported
exceptions
LGTM alert: Import pollutes the enclosing namespace
See: https://lgtm.com/rules/3980091/ Closes
https://github.com/arthurdejong/python-stdnum/pull/270
2021-08-07 Dimitri Papadopoulos
<3234522+DimitriPapadopoulos@users.noreply.github.com>
* [abda037] stdnum/no/fodselsnummer.py: Simplify range checking
in Norwegian birth numbers
LGTM alert: Test is always true See: https://lgtm.com/rules/900073/
Closes https://github.com/arthurdejong/python-stdnum/pull/270
2021-08-07 Dimitri Papadopoulos
<3234522+DimitriPapadopoulos@users.noreply.github.com>
* [c69b4f6] update/be_banks.py: Fix handling of empty worksheet
in Belgian bank download
LGTM alert: Call to next() in a generator
See: https://lgtm.com/rules/11000086/ Closes
https://github.com/arthurdejong/python-stdnum/pull/270
2021-06-09 David Vaz <davidmgvaz@gmail.com>
* [4516748] stdnum/pt/cc.py, tests/test_pt_cc.doctest: Add CC
(Número de Cartão de Cidadão, Portuguese Identity number)
Closes https://github.com/arthurdejong/python-stdnum/pull/265
2021-06-10 FRANK ROBERTO CHAVEZ SOSA <1085268@est.intec.edu.do>
* [4c51860] stdnum/do/ncf.py: Add new e-CF types to Dominican
Republic NCF
2021-01-18 Andres Rodriguez <androdriguez14@gmail.com>
* [48e6502] stdnum/do/ncf.py: Fix parsing of empty fields in
DGII checking
2020-12-11 Cristopher Ortega <ortega.cpp@gmail.com>
* [2b452b6] stdnum/do/ncf.py, tests/test_do_ncf.py: Add ENCF
validation support for Dominican Republic NCF
Closes https://github.com/arthurdejong/python-stdnum/pull/248
2021-06-09 Dimitri Papadopoulos
<3234522+DimitriPapadopoulos@users.noreply.github.com>
* [eeaf665] stdnum/fr/nif.py: Improve French NIF validation
Closes https://github.com/arthurdejong/python-stdnum/pull/266
2021-07-12 Arthur de Jong <arthur@arthurdejong.org>
* [e2a95fc] .github/workflows/test.yml: Configure CodeQL code
scanning
2021-07-18 Arthur de Jong <arthur@arthurdejong.org>
* [175b1e5] stdnum/exceptions.py: Ignore N818 because our exceptions
are not named error
2021-04-11 Arthur de Jong <arthur@arthurdejong.org>
* [38c368d] stdnum/numdb.py, tests/numdb-test.dat: Only process
the shortest matches in the numdb module
This ensures that matching numbers is done consistently when
the numdb database file has conflicting information about the
length of numbers.
This also refactors the _find() function to be simpler and
reduces the number of recursive calls that have to be done.
The tests have been re-formatted to use pprint to make it easier
to spot differences if any of the tests fail (instead of just
saying expected True, got False).
Closes https://github.com/arthurdejong/python-stdnum/issues/257
2021-04-11 Arthur de Jong <arthur@arthurdejong.org>
* [b7901d6] update/imsi.py: Stop non-operational MNCs from confusing
IMSI dataset
This only includes data from non-operational (status "Not
operational" according to Wikipedia) Mobile Network Code operators
in the generated data file if they would not confuse the lookup
of operational numbers.
This avoid problems when the "030" to "039" non-operational ranges
conflicting with the "03" operational range. This ensures that
only the "03" value is kept. For historical completeness we keep
the other non-operational values.
Closes https://github.com/arthurdejong/python-stdnum/issues/257
2021-03-03 Jakub Wilk <jwilk@jwilk.net>
* [7e69090] docs/index.rst: Fix typo
Closes https://github.com/arthurdejong/python-stdnum/pull/258
2021-03-21 Arthur de Jong <arthur@arthurdejong.org>
* [5785afb] .github/workflows/test.yml, .travis.yml: Replace Travis
with GitHub actions
2021-03-21 Arthur de Jong <arthur@arthurdejong.org>
* [7c0bb84] .travis.yml, setup.py, tox.ini: Drop support for Python
2.6 and 3.4
It is increasingly difficult to test with these versions of
Python and everybody should have upgraded to a more recent
version long ago.
2021-02-06 Arthur de Jong <arthur@arthurdejong.org>
* [075d85e] ChangeLog, NEWS, stdnum/__init__.py: Get files ready
for 1.16 release
2021-02-06 Arthur de Jong <arthur@arthurdejong.org>
* [fad3064] stdnum/by/portal.nalog.gov.by.crt: Add Let's Encrypt
R3 intermediate certificate
The portal.nalog.gov.by web site serves an incomplete certificate
chain and the intermediate certificate was changed.
2021-02-06 Arthur de Jong <arthur@arthurdejong.org>
* [8c4ec55] stdnum/be/banks.dat, stdnum/cn/loc.dat,
stdnum/eu/nace.dat, stdnum/gs1_ai.dat, stdnum/imsi.dat,
stdnum/isbn.dat, stdnum/nz/banks.dat, stdnum/oui.dat: Update
database files
2021-02-06 Arthur de Jong <arthur@arthurdejong.org>
* [fe34e15] stdnum/kr/rrn.py, stdnum/pe/ruc.py, stdnum/ua/edrpou.py:
Use HTTPS in URLs where possible
2021-01-24 Arthur de Jong <arthur@arthurdejong.org>
* [407a02f] stdnum/at/postleitzahl.dat, update/at_postleitzahl.py:
Switch postal code download to Austrian open-data portal
This simplifies the process of downloading Austrian
postal codes by downloading a JSON blob instead from
https://www.data.gv.at/katalog/dataset/f76ed887-00d6-450f-a158-9f8b1cbbeebf
This filters the list to only use addressable (adressierbar)
postal codes because it matches the previous list.
Thanks Bernd Schlapsi for providing the pointer.
Closes https://github.com/arthurdejong/python-stdnum/issues/235
2021-01-21 Alexis de Lattre <alexis.delattre@akretion.com>
* [53f13b4] stdnum/vatin.py, tests/test_vatin.doctest: Add support
for XI VAT numbers in vatin
Closes https://github.com/arthurdejong/python-stdnum/pull/251
2021-01-21 Arthur de Jong <arthur@arthurdejong.org>
* [b93d695] stdnum/eu/vat.py, stdnum/gb/vat.py,
tests/test_eu_vat.doctest: Support xi country code for Northern
Ireland
While Great Brittain is no longer an EU member state some GB VAT
numbers are still valid if the company meets certain requirements.
See
https://www.gov.uk/government/publications/accounting-for-vat-on-goods-moving-between-great-britain-and-northern-ireland-from-1-january-2021/check-when-you-are-trading-under-the-northern-ireland-protocol-if-you-are-vat-registered-business
Closes https://github.com/arthurdejong/python-stdnum/issues/250
2021-01-11 Arthur de Jong <arthur@arthurdejong.org>
* [6b7f209] ChangeLog, NEWS, README, docs/conf.py, docs/index.rst,
docs/stdnum.li.peid.rst, docs/stdnum.ro.cui.rst,
docs/stdnum.ua.edrpou.rst, docs/stdnum.ua.rntrc.rst,
stdnum/__init__.py, tox.ini: Get files ready for 1.15 release
2021-01-11 Arthur de Jong <arthur@arthurdejong.org>
* [755eee7] .travis.yml: Simplify Travis matrix
This also ensures that supported Python interpreters are output
in order.
2021-01-10 Arthur de Jong <arthur@arthurdejong.org>
* [a0c62ee] stdnum/at/postleitzahl.dat, stdnum/be/banks.dat,
stdnum/cn/loc.dat, stdnum/eu/nace.dat, stdnum/gs1_ai.dat,
stdnum/iban.dat, stdnum/imsi.dat, stdnum/isbn.dat,
stdnum/my/bp.dat, stdnum/nz/banks.dat, stdnum/oui.dat,
update/at_postleitzahl.py, update/my_bp.py, update/nz_banks.py:
Update database files
2021-01-10 Arthur de Jong <arthur@arthurdejong.org>
* [df0623b] stdnum/by/unp.py, stdnum/do/ncf.py, stdnum/imsi.py,
stdnum/isbn.py, stdnum/meid.py, tox.ini: Drop pinning of isort
now flake8-isort has been fixed
This changes a few inline imports in the code to pass with the
new isort.
Reverts 291b831
2021-01-10 Arthur de Jong <arthur@arthurdejong.org>
* [b202eee] stdnum/my/nric.py: Fix typo
2021-01-10 Arthur de Jong <arthur@arthurdejong.org>
* [7e86331] setup.py: Add project URLs for PyPI
2020-10-25 Leandro Regueiro <leandro.regueiro@gmail.com>
* [126496c] stdnum/ua/rntrc.py, tests/test_ua_rntrc.doctest:
Add support for Ukraine РНОКПП number
Closes https://github.com/arthurdejong/python-stdnum/pull/242
Closes https://github.com/arthurdejong/python-stdnum/issues/117
2020-10-25 Leandro Regueiro <leandro.regueiro@gmail.com>
* [b7b2af8] stdnum/ua/__init__.py, stdnum/ua/edrpou.py,
tests/test_ua_edrpou.doctest: Add support for Ukraine ЄДРПОУ
number
Closes https://github.com/arthurdejong/python-stdnum/pull/242
Closes https://github.com/arthurdejong/python-stdnum/issues/117
2021-01-04 Viggo de Vries <viggo@uwkm.nl>
* [0427b01] stdnum/eu/vat.py, tests/test_eu_vat.doctest,
tests/test_gb_vat.doctest: Remove GB from EU member states
Closes https://github.com/arthurdejong/python-stdnum/pull/246
2021-01-10 Arthur de Jong <arthur@arthurdejong.org>
* [2f2c742] .travis.yml, setup.py, tox.ini: Add support for
Python 3.9
This switches Travis tests to bionic by default.
2021-01-10 Arthur de Jong <arthur@arthurdejong.org>
* [2046f51] stdnum/damm.py, stdnum/eu/at_02.py, stdnum/gs1_128.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/luhn.py, stdnum/util.py,
stdnum/verhoeff.py: Fix flake8 blind except Exception error
2021-01-04 Viggo de Vries <viggo@uwkm.nl>
* [cc3a970] stdnum/au/__init__.py: Use ABN as Australian VAT number
See https://www.ato.gov.au/Business/GST/Tax-invoices/
Closes https://github.com/arthurdejong/python-stdnum/pull/246
2021-01-02 Arthur de Jong <arthur@arthurdejong.org>
* [c74e322] stdnum/vatin.py, tests/test_vatin.doctest: Support
VAT numbers that are only valid with country prefix
The Swish VAT number has the CH prefix embedded as a required
part of the number. This ensures that the international VAT
number module also supports that.
Closes https://github.com/arthurdejong/python-stdnum/issues/245
Fixes ff188bd
2020-10-27 Matthias Schmid, M.Sc <ramsondon@gmail.com>
* [5082af4] stdnum/li/__init__.py, stdnum/li/peid.py,
tests/test_li_peid.doctest: Add Liechtenstein
Personenidentifikationsnummer
Closes https://github.com/arthurdejong/python-stdnum/pull/241
Closes https://github.com/arthurdejong/python-stdnum/issues/125
2020-10-02 Jonas Geuens <jonasgeuens@gmail.com>
* [3a592e4] stdnum/be/vat.py, tests/test_be_vat.doctest: Expanded
validation for BE VAT numbers
Specifically invalidated all-zero numbers
Closes https://github.com/arthurdejong/python-stdnum/pull/240
2020-11-01 Arthur de Jong <arthur@arthurdejong.org>
* [c5eb2d8] stdnum/eu/vat.py, stdnum/ro/cf.py,
tests/test_eu_vat.doctest: Retain RO prefix in Romanian VAT numbers
This does not strip the RO prefix from Romanian VAT numbers to be
able to keep the distinction between a CUI/CIF that is registered
for VAT (which commonly has the RO prefix) and those that don't.
Closes https://github.com/arthurdejong/python-stdnum/issues/231
2020-11-01 Arthur de Jong <arthur@arthurdejong.org>
* [1f6c77f] stdnum/ro/cnp.py, stdnum/ro/onrc.py: Minor updates
2020-11-01 Arthur de Jong <arthur@arthurdejong.org>
* [e0417f6] stdnum/ro/cf.py, stdnum/ro/cui.py: Add Romanian
CUI/CIF number
This module separates the validation of numbers assigned to
companies (CUI or CIF) of those assigned to natural persons (CNP).
2020-09-19 Arthur de Jong <arthur@arthurdejong.org>
* [19d3f70] stdnum/eu/vat.py: Make list of EU member states list
of public API
This provides stdnum.eu.vat.MEMBER_STATES. Note that Greece is
listed with a country code of "gr" while the prefix used in VAT
numbers is "el".
Closes https://github.com/arthurdejong/python-stdnum/issues/238
2020-09-04 Arthur de Jong <arthur@arthurdejong.org>
* [992dc20] online_check/check.js,
online_check/jquery-1.7.1.js, online_check/jquery-1.7.1.min.js,
online_check/jquery-3.5.1.js, online_check/jquery-3.5.1.min.js,
online_check/jquery-3.5.1.min.map, online_check/template.html:
Upgrade jQuery to 3.5.1
This also runs eslint over check.js and fixes an issue from
the upgrade.
2020-08-09 Arthur de Jong <arthur@arthurdejong.org>
* [3373938] ChangeLog, NEWS, README, docs/index.rst,
docs/stdnum.by.unp.rst, docs/stdnum.cn.uscc.rst,
docs/stdnum.gb.utr.rst, docs/stdnum.gs1_128.rst,
docs/stdnum.id.npwp.rst, docs/stdnum.il.hp.rst,
docs/stdnum.it.aic.rst, docs/stdnum.kr.brn.rst,
docs/stdnum.ro.onrc.rst, docs/stdnum.sg.uen.rst,
docs/stdnum.sv.nit.rst, docs/stdnum.tw.ubn.rst,
docs/stdnum.vatin.rst, docs/stdnum.vn.mst.rst,
docs/stdnum.za.idnr.rst, stdnum/__init__.py: Get files ready
for 1.14 release
2020-08-09 Arthur de Jong <arthur@arthurdejong.org>
* [40fcc24] stdnum/be/banks.dat, stdnum/cn/loc.dat,
stdnum/eu/nace.dat, stdnum/gs1_ai.dat, stdnum/iban.dat,
stdnum/imsi.dat, stdnum/isbn.dat, stdnum/nz/banks.dat,
stdnum/oui.dat, update/imsi.py, update/nz_banks.py: Update
database files
2020-03-08 Leandro Regueiro <leandro.regueiro@gmail.com>
* [ff188bd] stdnum/vatin.py, tests/test_vatin.doctest: Add module
to check any VAT number
This effectively mimics vatnumber's `check_vat` function, so people
can easily replace the outdated vatnumber library with stdnum.
Closes https://github.com/arthurdejong/python-stdnum/pull/199
2020-08-08 Arthur de Jong <arthur@arthurdejong.org>
* [b6e43cd] update/gs1_ai.py: Fix Python 3.6 issue in update script
Fixes 180788a
2020-08-08 Arthur de Jong <arthur@arthurdejong.org>
* [180788a] stdnum/gs1_128.py, stdnum/gs1_ai.dat,
tests/test_gs1_128.doctest, update/gs1_ai.py: Add GS1-128 format
This adds validation, parsing and encoding functions for
GS1-128. It is based on the lists of formats as published by
the GS1 organisation.
Based on the implementation provided by Sergi Almacellas Abellana
<sergi@koolpi.com>.
Closes https://github.com/arthurdejong/python-stdnum/pull/144
2020-08-02 Arthur de Jong <arthur@arthurdejong.org>
* [c2284f3] stdnum/ro/onrc.py, tests/test_ro_onrc.doctest: Add
Romanian Trade Register identifier
Closes https://github.com/arthurdejong/python-stdnum/issues/229
Closes https://github.com/arthurdejong/python-stdnum/pull/234
2020-06-02 Mohammed Salman <mohammed@holvi.com>
* [94e2c63] stdnum/gb/utr.py, tests/test_gb_utr.doctest: Add
English Unique Tax Reference
Closes https://github.com/arthurdejong/python-stdnum/pull/227
2020-08-02 Arthur de Jong <arthur@arthurdejong.org>
* [505521e] stdnum/ro/cnp.py: Support foreign residents for
Romanian CNP
This supports 7 or 8 as first digits in the CNP which are
apparently used to identify foreign residents.
This also changes the exception for an incorrect first digit
from InvalidFormat to InvalidComponent which is a little clearer.
Closes https://github.com/arthurdejong/python-stdnum/issues/230
2020-08-02 Arthur de Jong <arthur@arthurdejong.org>
* [51a122d] stdnum/kr/GPKIRootCA1.crt, stdnum/kr/brn.py: Remove
custom CA certificate for www.ftc.go.kr
This certificate is not needed any more because the site now
uses a different certificate that is signed by a known CA.
2020-07-31 evaldez89 <evaldez89@gmail.com>
* [feca1fe] stdnum/do/rnc.py, tests/test_do_rnc.py: Scape new
line character
Closes https://github.com/arthurdejong/python-stdnum/pull/233
Closes https://github.com/arthurdejong/python-stdnum/issues/232
2020-04-05 Leandro Regueiro <leandro.regueiro@gmail.com>
* [dab926c] stdnum/tw/__init__.py, stdnum/tw/ubn.py,
tests/test_tw_ubn.doctest: Add support for Taiwan TIN number
Closes https://github.com/arthurdejong/python-stdnum/pull/214
Closes https://github.com/arthurdejong/python-stdnum/issues/209
2020-07-05 Arthur de Jong <arthur@arthurdejong.org>
* [291b831] tox.ini: Avoid newer isort for flake8 tests
Do not install the latest isort because it currently breaks
flake8-isort. This pinning should be removed as soon as
https://github.com/gforcada/flake8-isort/issues/88 is resolved.
2020-03-08 Leandro Regueiro <leandro.regueiro@gmail.com>
* [7112874] stdnum/id/__init__.py, stdnum/id/npwp.py,
tests/test_id_npwp.doctest: Add support for Indonesian NPWP
Closes https://github.com/arthurdejong/python-stdnum/issues/106
Closes https://github.com/arthurdejong/python-stdnum/pull/198
2020-04-18 Leandro Regueiro <leandro.regueiro@gmail.com>
* [a34a76d] stdnum/vn/__init__.py, stdnum/vn/mst.py,
tests/test_vn_mst.doctest: Add support for Vietnam TIN number
Closes https://github.com/arthurdejong/python-stdnum/issues/217
Closes https://github.com/arthurdejong/python-stdnum/pull/218
2020-05-16 Arthur de Jong <arthur@arthurdejong.org>
* [1b7e985] stdnum/kr/GPKIRootCA1.crt, stdnum/kr/brn.py,
tests/test_kr_brn.py: Add an online check for the South Korean BRN
2020-03-07 Leandro Regueiro <leandro.regueiro@gmail.com>
* [b3891f1] stdnum/kr/__init__.py, stdnum/kr/brn.py,
tests/test_kr_brn.doctest: Add support for South Korea Business
Registration Number
Closes https://github.com/arthurdejong/python-stdnum/pull/197
Closes https://github.com/arthurdejong/python-stdnum/issues/101
2020-06-06 Christopher Ormaza <chris.ormaza@gmail.com>
* [127fff1] stdnum/ec/ci.py: Support 6 as third digit for foreign
people in Ecuador
Closes https://github.com/arthurdejong/python-stdnum/pull/228
2020-03-18 Leandro Regueiro <leandro.regueiro@gmail.com>
* [0d5b8b1] stdnum/sg/__init__.py, stdnum/sg/uen.py,
tests/test_sg_uen.doctest: Add support for Singapore Unique
Entity Number
Closes https://github.com/arthurdejong/python-stdnum/issues/111
Closes https://github.com/arthurdejong/python-stdnum/pull/203
2020-03-18 Leandro Regueiro <leandro.regueiro@gmail.com>
* [4eda3f3] stdnum/nz/__init__.py: Add missing vat alias for
New Zealand
Closes https://github.com/arthurdejong/python-stdnum/pull/202
2020-04-04 Leandro Regueiro <leandro.regueiro@gmail.com>
* [f3ce70c] stdnum/cn/__init__.py, stdnum/cn/uscc.py,
tests/test_cn_uscc.doctest: Add support for Chinese TIN number
Closes https://github.com/arthurdejong/python-stdnum/issues/207
Closes https://github.com/arthurdejong/python-stdnum/pull/210
2020-04-10 Leandro Regueiro <leandro.regueiro@gmail.com>
* [54e2e8f] stdnum/sv/__init__.py, stdnum/sv/nit.py,
tests/test_sv_nit.doctest: Add support for El Salvador TIN number
Closes https://github.com/arthurdejong/python-stdnum/issues/133
Closes https://github.com/arthurdejong/python-stdnum/pull/215
2020-03-31 Leandro Regueiro <leandro.regueiro@gmail.com>
* [356a729] stdnum/il/__init__.py, stdnum/il/hp.py,
tests/test_il_hp.doctest: Add Israeli TIN number
Closes https://github.com/arthurdejong/python-stdnum/pull/208
Closes https://github.com/arthurdejong/python-stdnum/issues/107
2020-04-25 Arthur de Jong <arthur@arthurdejong.org>
* [e49e0e9] docs/index.rst: Document function return behaviour
2020-04-19 Arthur de Jong <arthur@arthurdejong.org>
* [417b500] setup.cfg, setup.py, tox.ini: Flake 8 fixes
2020-04-18 Arthur de Jong <arthur@arthurdejong.org>
* [ff86618] .travis.yml: Resolve Travis configuration warnings
2020-04-18 Arthur de Jong <arthur@arthurdejong.org>
* [982322a] tox.ini: Avoid newest Sphinx
Newer versions of Sphinx treat underscores differently when
used in arguments to automodule causing problems in generating
documentation for the stdnum.in_.aadhaar, stdnum.in_.pan,
stdnum.is_.kennitala and stdnum.is_.vsk modules.
2020-03-20 Arthur de Jong <arthur@arthurdejong.org>
* [91ca4da] stdnum/cu/ni.py, stdnum/do/ncf.py, stdnum/do/rnc.py,
stdnum/es/ccc.py, stdnum/es/referenciacatastral.py,
stdnum/eu/eic.py, stdnum/eu/nace.py, stdnum/fi/hetu.py,
stdnum/fr/nir.py, stdnum/gb/nhs.py, stdnum/gr/amka.py,
stdnum/isil.py, stdnum/issn.py, stdnum/kr/rrn.py, stdnum/mu/nid.py,
stdnum/mx/curp.py, stdnum/mx/rfc.py, stdnum/pl/regon.py: Use
HTTPS in URLs where possible
2020-03-19 grzekru <grzegorzgk1@gmail.com>
* [273dd54] stdnum/eu/vat.py: Use HTTPS instead of HTTP fox
VIES lookups
Closes https://github.com/arthurdejong/python-stdnum/issues/204
Closes https://github.com/arthurdejong/python-stdnum/pull/205
2020-03-03 FabrizioMontanari <ffabrizio.montanari@gmail.com>
* [8433821] stdnum/it/aic.py, tests/test_it_aic.doctest: Add
Italian AIC codes
Closes https://github.com/arthurdejong/python-stdnum/pull/193
2020-03-09 Arthur de Jong <arthur@arthurdejong.org>
* [f7b968c] stdnum/by/unp.py: Fix typo
Thanks @unho
2020-03-08 Arthur de Jong <arthur@arthurdejong.org>
* [d09ed52] stdnum/lv/pvn.py, stdnum/ru/inn.py: Use zip() for
applying weights in check algorithms
2020-03-07 Arthur de Jong <arthur@arthurdejong.org>
* [60139a8] stdnum/by/__init__.py, stdnum/by/portal.nalog.gov.by.crt,
stdnum/by/unp.py, tests/test_by_unp.doctest, tests/test_by_unp.py:
Add Bellarus УНП number
This also adds a function to do an online lookup of the number.
Closes https://github.com/arthurdejong/python-stdnum/issues/196
2020-03-07 Leandro Regueiro <leandro.regueiro@gmail.com>
* [ebe7e10] stdnum/jp/__init__.py: Add missing vat alias for Japan
2020-03-07 Leandro Regueiro <leandro.regueiro@gmail.com>
* [6429080] stdnum/ca/__init__.py: Add missing vat alias for Canada
2020-03-07 Leandro Regueiro <leandro.regueiro@gmail.com>
* [84ee720] stdnum/tr/__init__.py: Add missing vat alias for Turkey
2020-03-07 Leandro Regueiro <leandro.regueiro@gmail.com>
* [fcbe159] stdnum/pe/__init__.py: Add missing vat alias for Peru
2020-03-07 Leandro Regueiro <leandro.regueiro@gmail.com>
* [9be7dee] stdnum/cr/__init__.py: Add missing vat alias for
Costa Rica
2020-03-07 Leandro Regueiro <leandro.regueiro@gmail.com>
* [69d22e9] stdnum/br/__init__.py: Add missing vat alias for Brazil
2020-01-31 Leon Sandøy <leon.haland@gmail.com>
* [df9f922] stdnum/no/fodselsnummer.py,
tests/test_no_fodselsnummer.doctest: Implement get_birth_date()
for no.fodselsnummer
This adds a function that allows you to determine a persons
birth date from a Norwegian fødselsnummer.
This also accounts for D-numbers, H-numbers, and FH-numbers,
which contain special exceptions and modifications to the
birthdate portion of the number.
Most of the information this is based on was found here:
https://no.wikipedia.org/wiki/F%C3%B8dselsnummer#H-nummer
It also updates the list of valid fødselsnummer in the tests,
since this list contained many numbers that are not valid by
this new validation that now accounts for dates.
Additionally, this updates all tests that were failing under the
new validation, and adds a few new tests to bring the coverage
to 100%.
Closes https://github.com/arthurdejong/python-stdnum/pull/187
2020-01-31 Leon Sandøy <leon.haland@gmail.com>
* [4500881] stdnum/dk/cpr.py: Improve birth date validation
for dk.cpr
This adds a check to validate that the birth date information
in a personnummer is not set in the future, resolving a TODO
from this file.
It also improves exception messages for certain validation
fail conditions.
2020-01-31 Leon Sandøy <leon.haland@gmail.com>
* [f5e0456] stdnum/se/personnummer.py: Fix misleading docstring
in se.personnummer get_birth_date()
The docstring for get_birth_date() in the Swedish personnummer.py
warned that the datetime might be 100 years off because of the
lack of precision in the personnummer.
This was accurate when the docstring was written, but this is
no longer accurate after the - and + signs were correctly handled.
Fixes 5441ffa
2020-03-01 Arthur de Jong <arthur@arthurdejong.org>
* [8437b8e] .travis.yml: Use bionic for pypy3 tests on Travis
This switches the pypy3 tests to bionic which has Python
3.6.9. There were installation issues with 3.5.3 on trusty and
coverage issues with 3.6.1 of xenial (now the default on Travis).
2020-02-24 Aleksi Hoffman <aleksi@hoffman.fi>
* [353db92] stdnum/fi/hetu.py, tests/test_fi_hetu.doctest: Support
validating temporary Finnish personal identity codes
This adds an optional allow_temporary parameter, which defaults
to False, to the validate() function.
Closes https://github.com/arthurdejong/python-stdnum/pull/191
2020-02-18 Gustavo Valverde <gustavo@iterativo.do>
* [efa70f1] stdnum/do/ncf.py: Change DGII endpoint to new one
The old endpoint has been deprecated.
Closes https://github.com/arthurdejong/python-stdnum/pull/190
2020-02-12 Arthur de Jong <arthur@arthurdejong.org>
* [e513888] stdnum/se/personnummer.py,
tests/test_se_personnummer.doctest: Fix issue with extra plus
or minus in se.personnummer
Fixes 5441ffa Closes
https://github.com/arthurdejong/python-stdnum/issues/188
2020-01-22 Gustavo Valverde <gustavo@iterativo.do>
* [77a77ba] stdnum/do/ncf.py: Add missing NCF document types
for validation
These document types are in the official
documentation, but were not being validated:
https://dgii.gov.do/cicloContribuyente/facturacion/comprobantesFiscales/Paginas/tiposComprobantes.aspx
Closes https://github.com/arthurdejong/python-stdnum/pull/186
2020-01-19 Arthur de Jong <arthur@arthurdejong.org>
* [d5666b8] ChangeLog, NEWS, README, docs/index.rst,
docs/stdnum.ch.esr.rst, setup.py, stdnum/__init__.py: Get files
ready for 1.13 release
2020-01-19 Arthur de Jong <arthur@arthurdejong.org>
* [334e907] online_check/stdnum.wsgi: Fix online check to be Python
3 compatible
2020-01-18 Arthur de Jong <arthur@arthurdejong.org>
* [53d9934] 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/nz/banks.dat, stdnum/oui.dat, update/iban.py: Update
database files
2020-01-18 Arthur de Jong <arthur@arthurdejong.org>
* [f23c549] stdnum/za/idnr.py, tests/test_za_idnr.doctest: Add
South African Identity Document number
Closes https://github.com/arthurdejong/python-stdnum/issues/126
2020-01-12 Arthur de Jong <arthur@arthurdejong.org>
* [42e096e] stdnum/isin.py, tests/test_isin.doctest: Add temporary
and internal ISIN country codes
This adds a few temporary and internal country codes that are
used by various agencies so that they can also be validated. This
does not mean that all these numbers are globally valid.
Closes https://github.com/arthurdejong/python-stdnum/issues/158
2019-12-06 anwarbaroudi <m.a.baroudi96@gmail.com>
* [87c195f] stdnum/isin.py, tests/test_isin.doctest: Add three
country codes to ISIN
This adds three missing country codes: 'AN' for 'Netherlands
Antilles', 'CS' for 'Serbia and Montenegro' and 'XK' for 'Kosovo'.
Closes https://github.com/arthurdejong/python-stdnum/issues/173
Closes https://github.com/arthurdejong/python-stdnum/pull/174
Closes https://github.com/arthurdejong/python-stdnum/pull/176
2020-01-09 Emmanuel Arias <eamanu@yaerobi.com>
* [0b30c4b] stdnum/ar/cuit.py, tests/test_ar_cuit.doctest: Test
Argentinian CUIT type
The first two digits of the CUIT indicate the type of CUIT
(personal, company or international) and can only have certain
values.
Closes https://github.com/arthurdejong/python-stdnum/issues/179
Closes https://github.com/arthurdejong/python-stdnum/pull/181
2020-01-09 Arthur de Jong <arthur@arthurdejong.org>
* [a9b3e90] stdnum/nl/btw.py, tests/test_eu_vat.doctest: Support
new btw-identificatienummer
The btw-identificatienummer has been introduced on January 1st
2020 in the Netherlands as an alternative to the btw-nummer that
contains the BSN personal identifier. The number has the same
structure and function but does not contain a BSN and uses a
different check digit algorithm.
Thanks to Cas Vissers, Jeroen van Heiningen, Jerome Hanke, Nicolas
Martinelli, Ronald Portier and Tim Muller for contributing to
the fix.
More information:
*
http://kleineondernemer.nl/index.php/nieuw-btw-identificatienummer-vanaf-1-januari-2020-voor-eenmanszaken
* https://nl.wikipedia.org/wiki/Btw-nummer_(Nederland) *
https://www.belastingdienst.nl/wps/wcm/connect/bldcontenten/belastingdienst/business/vat/new-vat-id/
*
https://www.belastingdienst.nl/wps/wcm/connect/bldcontentnl/belastingdienst/zakelijk/btw/administratie_bijhouden/btw_nummers_controleren/uw_btw_nummer
Closes https://github.com/arthurdejong/python-stdnum/issues/182
Closes https://github.com/arthurdejong/python-stdnum/pull/183
Closes https://github.com/arthurdejong/python-stdnum/pull/184
Closes https://github.com/arthurdejong/python-stdnum/pull/185
2020-01-04 Arthur de Jong <arthur@arthurdejong.org>
* [9605dbe] stdnum/it/codicefiscale.py,
tests/test_it_codicefiscale.doctest: The Italian IVA is also a
Codice Fiscale
Closes https://github.com/arthurdejong/python-stdnum/issues/180
2019-12-18 Sergi Almacellas Abellana <sergi@koolpi.com>
* [087c668] .travis.yml, setup.py, tox.ini: Add support for
Python 3.8
Closes https://github.com/arthurdejong/python-stdnum/pull/177
2019-12-27 Arthur de Jong <arthur@arthurdejong.org>
* [922505a] stdnum/eu/nace.py: Broaden noqa docstring exclusion
Nowadays flake8 seems to report this as D401 (First line should
be in imperative mood) while before it was D402 (First line
should not be the function’s signature).
2019-12-27 Arthur de Jong <arthur@arthurdejong.org>
* [de50109] stdnum/do/ncf.py: Switch to using lxml for HTML parsing
This avoids an extra dependency on BeautifulSoup and makes the
code more consistent.
2019-11-12 Jakub Wilk <jwilk@jwilk.net>
* [831c669] NEWS, README, stdnum/br/__init__.py, stdnum/br/cnpj.py,
stdnum/br/cpf.py: Fix typos
Closes https://github.com/arthurdejong/python-stdnum/pull/172
2019-11-04 Kurt Keller <Kurt@pinboard.jp>
* [388bac9] stdnum/iso11649.py: Add format to iso11649
Closes https://github.com/arthurdejong/python-stdnum/pull/171
2019-11-02 Kurt Keller <Kurt@pinboard.jp>
* [a45d4f7] stdnum/ch/esr.py, tests/test_ch_esr.doctest: Add Swiss
ESR/ISR/QR-reference
Closes https://github.com/arthurdejong/python-stdnum/pull/170
2019-10-27 Arthur de Jong <arthur@arthurdejong.org>
* [41b9c94] ChangeLog, NEWS, README, docs/index.rst,
docs/stdnum.ad.nrt.rst, docs/stdnum.cr.cpf.rst,
docs/stdnum.cr.cpj.rst, docs/stdnum.cr.cr.rst,
docs/stdnum.gt.nit.rst, docs/stdnum.il.idnr.rst,
docs/stdnum.jp.cn.rst, docs/stdnum.kr.rrn.rst,
docs/stdnum.nz.ird.rst, docs/stdnum.pe.cui.rst,
docs/stdnum.pe.ruc.rst, docs/stdnum.py.ruc.rst,
docs/stdnum.tr.vkn.rst, docs/stdnum.uy.rut.rst,
docs/stdnum.ve.rif.rst, docs/stdnum.za.tin.rst, stdnum/__init__.py:
Get files ready for 1.12 release
2019-10-27 Arthur de Jong <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [5b835bb] update/imsi.py: Parse multiple Wikipedia pages for
full MCC/MNC list
2019-10-27 Arthur de Jong <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <gddalmau@gmail.com>
* [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 <arthur@arthurdejong.org>
* [54218b1] stdnum/kr/rrn.py: Fix rrn documentation
This also fixes Python 2.6 compatibility.
Fixes 790a052
2019-10-14 Dimitri Papadopoulos
<3234522+DimitriPapadopoulos@users.noreply.github.com>
* [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 <andreas.haber@puzzel.com>
* [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 <andreas.haber@puzzel.com>
* [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 <arthur@arthurdejong.org>
* [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 <andreas.haber@puzzel.com>
* [d43ad77] stdnum/is_/__init__.py: IS: Provide personalid as an
alias from kennitala
2019-09-27 Andreas Häber <andreas.haber@puzzel.com>
* [e5d7d9f] stdnum/dk/__init__.py: DK: Provide personalid as an
alias from cpr
2019-09-18 Alan Hettinger <ahettinger@gmail.com>
* [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 <amin.solhizadeh@oneflow.com>
* [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 <jeffryjesus@gmail.com>
* [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 <jeffryjesus@gmail.com>
* [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 <arthur@arthurdejong.org>
* [aadf121] .travis.yml: Avoid skipping missing interpreters
on Travis
2019-08-12 Arthur de Jong <arthur@arthurdejong.org>
* [8cb71f2] tox.ini: Drop pinning of pydocstyle now flake8-docstrings
has been fixed
Reverts 61c762d
2019-08-02 Arthur de Jong <arthur@arthurdejong.org>
* [d9b4818] setup.cfg: Show missing lines in coverage report
2019-08-02 Arthur de Jong <arthur@arthurdejong.org>
* [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 <leandro.regueiro@gmail.com>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [ad96b15] stdnum/util.py: Support normalising quotes
See https://github.com/arthurdejong/python-stdnum/issues/150
2019-06-23 Leandro Regueiro <leandro.regueiro@gmail.com>
* [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 <leandro.regueiro@gmail.com>
* [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 <leandro.regueiro@gmail.com>
* [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 <leandro.regueiro@gmail.com>
* [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 <leandro.regueiro@gmail.com>
* [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 <leandro.regueiro@gmail.com>
* [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 <jeffryjesus@gmail.com>
* [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 <leandro.regueiro@gmail.com>
* [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 <arthur@arthurdejong.org>
* [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 <jeffryjesus@gmail.com>
* [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 <leandro.regueiro@gmail.com>
* [7fb390e] .gitignore: .gitignore: Also exclude some editor
backup files
2019-06-02 Leandro Regueiro <leandro.regueiro@gmail.com>
* [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 <arthur@arthurdejong.org>
* [c969fc8] stdnum/eu/nace.py: Ignore wrong docstring detection
Fixes 170e599
2019-06-02 Arthur de Jong <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <sergi@koolpi.com>
* [8292779] stdnum/ean.py: Add GTIN (EAN-14) validation
2019-05-12 Arthur de Jong <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [b1af986] tests/test_isbn.doctest: Re-add Python 2.6 support
Fixes 48ff92e
2019-04-28 Arthur de Jong <arthur@arthurdejong.org>
* [8307b94] setup.cfg: Don't force "" strings to avoid escaping
quotes
Fixes test failures with recent flake8-quotes.
2019-04-28 Arthur de Jong <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [3aeec68] stdnum/il/__init__.py, stdnum/il/idnr.py: Add Israeli
identity number
2019-03-24 Arthur de Jong <arthur@arthurdejong.org>
* [e07a0e2] stdnum/pe/cui.py, tests/test_pe_cui.doctest: Add
Peruvian CUI (DNI)
2019-03-23 Arthur de Jong <arthur@arthurdejong.org>
* [2e87251] stdnum/pe/__init__.py, stdnum/pe/ruc.py,
tests/test_pe_ruc.doctest: Add Peruvian RUC
2019-03-10 Arthur de Jong <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [61a8a94] stdnum/ee/ik.py: Add documentation
2018-12-27 Arthur de Jong <arthur@arthurdejong.org>
* [151e0d8] stdnum/ar/cbu.py: Remove broken link
2019-03-10 Arthur de Jong <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [4e25e31] stdnum/md/__init__.py, stdnum/md/idno.py,
tests/test_md_idno.doctest: Add Moldavian IDNO
2019-03-03 Arthur de Jong <arthur@arthurdejong.org>
* [d5d812b] tests/test_bg_egn.doctest: Add more tests for
Bulgarian EGN
2019-03-03 Arthur de Jong <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [39b8ace] stdnum/lt/asmens.py, tests/test_lt_asmens.doctest:
Add Lithuanian Asmens kodas
2019-02-27 Arthur de Jong <arthur@arthurdejong.org>
* [ab91d87] stdnum/gr/amka.py, tests/test_gr_amka.doctest: Add
Greek AMKA social security number
2019-02-20 Arthur de Jong <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [9daa1b0] stdnum/ar/cbu.py, stdnum/at/uid.py, stdnum/iban.py,
update/iban.py: Fix typos
2019-02-17 Arthur de Jong <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [be8e258] stdnum/cu/__init__.py, stdnum/cu/ni.py: Add Cuban
número de identidad
2019-02-11 Andrés R <androdriguez14@gmail.com>
* [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 <arthur@arthurdejong.org>
* [b4773ae] .travis.yml, setup.py, tox.ini: Add Python 3.7 tests
2019-02-05 Arthur de Jong <arthur@arthurdejong.org>
* [50874a9] stdnum/mx/__init__.py, stdnum/mx/curp.py,
tests/test_mx_curp.doctest: Add Mexican CURP
2019-01-29 Arthur de Jong <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [375f63b] stdnum/at/vnr.py: Add Austrian Versicherungsnummer
2018-11-27 Ilya Vihtinsky <iliaviht@gmail.com>
* [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 <iliaviht@gmail.com>
* [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 <mario@silix.com.ar>
* [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 <chris.ormaza@gmail.com>
* [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 <gustavo@iterativo.do>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <me@levrik.io>
* [510ee93] stdnum/ru/__init__.py: Add vat alias for Russia
2018-08-30 Gerard Dalmau <gdalmau@gisce.net>
* [e58c09a] tests/test_es_cups.doctest,
tests/test_es_referenciacatastral.doctest: Fix ES test descriptions
2018-08-30 Gerard Dalmau <gdalmau@gisce.net>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <esben.christensen@visma.com>
* [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 <pander@users.sourceforge.net>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [918d483] stdnum/figi.py, tests/test_figi.doctest: Add Financial
Instrument Global Identifier
2018-03-23 Arthur de Jong <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [ab15e20] stdnum/at/__init__.py: Fix import order
Fixes ee263a5
2018-03-17 Arthur de Jong <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <esa.halsti@taitoa.fi>
* [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 <arthur@arthurdejong.org>
* [70dc091] setup.cfg: Support building a universal wheel
2018-02-19 Arthur de Jong <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [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 <arthur@arthurdejong.org>
* [81947a2] docs/index.rst: Improve get_cc_module() documentation
2018-02-14 Arthur de Jong <arthur@arthurdejong.org>
* [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.
A few more cleanups that allow us to reduce the number of
ignored flake8 ignored tests. The remaining ignored tests are
now documented.
Ignore a flake8 warning about print statements because we use
print in the update scripts.
2018-02-11 Arthur de Jong <arthur@arthurdejong.org>
* [201960c] stdnum/be/iban.py, stdnum/bic.py, stdnum/iban.py,
tests/test_be_iban.doctest: Add test for Belgian IBANs
This adds a test for IBANs that were found online together with
a BIC code to test the IBAN to swift code mapping.
This also supports some extra separators in IBAN and BIC numbers
and fixes a check digit calculation issue in the Belgian account
number check digits.
2018-02-10 Arthur de Jong <arthur@arthurdejong.org>
* [56002fa] stdnum/be/banks.dat, stdnum/be/iban.py,
tests/test_iban.doctest, update/be_banks.py,
update/requirements.txt: Add support for Belgian IBAN format
This adds further checks to the country-specific part of the
IBAN for Belgian IBANs.
Closes https://github.com/arthurdejong/python-stdnum/issues/62
2018-02-10 Arthur de Jong <arthur@arthurdejong.org>
* [c611b27] stdnum/bic.py: Support spaces in BIC codes
BIC codes are sometimes written in a space-separated form this
correctly cleans the spaces for compact representation.
2018-02-06 Arthur de Jong <arthur@arthurdejong.org>
* [5fd1ae0] stdnum/do/ncf.py, stdnum/do/rnc.py, stdnum/eu/vat.py,
stdnum/tr/tckimlik.py, stdnum/util.py: Allow configuring SOAP
request timeout
This adds a timeout parameter to all checks that use a SOAP web
service to reduce the blocking time. The default timeout for
all checks is 30 seconds.
2018-01-07 Chris Lamb <chris@chris-lamb.co.uk>
* [c113613] stdnum/eu/vat.py: Exclude EU country codes from
documentation
Whilst working on the Reproducible Builds effort [0], we noticed
that python-stdnum could not be built reproducibly as it relies
on a stable set ordering when generating the documentation.
This has been filed in Debian as #88652
[0] https://reproducible-builds.org/ [1]
https://bugs.debian.org/886522
Closes: https://github.com/arthurdejong/python-stdnum/pull/61
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
2018-01-06 Arthur de Jong <arthur@arthurdejong.org>
* [9841bae] ChangeLog, NEWS, stdnum/__init__.py: Get files ready
for 1.8.1 release
2018-01-06 Arthur de Jong <arthur@arthurdejong.org>
* [820c233] README: Fix feedback section in README to be valid RST
2018-01-06 Arthur de Jong <arthur@arthurdejong.org>
* [ab8a871] setup.py: Update long description in compatible way
This ensures that the README is read correctly on all supported
Python interpreters.
Fixes 1304122
2018-01-05 5j9 <5j9@users.noreply.github.com>
* [1304122] setup.py: setup.py: Open README with utf-8 encoding
Fixes #59
2018-01-03 Arthur de Jong <arthur@arthurdejong.org>
* [ae89e82] ChangeLog, MANIFEST.in, NEWS, README, docs/conf.py,
docs/index.rst, docs/stdnum.casrn.rst, docs/stdnum.do.ncf.rst,
docs/stdnum.eu.banknote.rst, docs/stdnum.in_.aadhaar.rst,
docs/stdnum.in_.pan.rst, setup.cfg, stdnum/__init__.py,
update/numlist.py: Get files ready for 1.8 release
2018-01-03 Arthur de Jong <arthur@arthurdejong.org>
* [db9b278] tox.ini: Fix Sphinx dependency name
2018-01-03 Arthur de Jong <arthur@arthurdejong.org>
* [fbb9d24] docs/index.rst, stdnum/__init__.py: Move get_cc_module()
function to package for public use
2018-01-03 Arthur de Jong <arthur@arthurdejong.org>
* [7bb0e5f] setup.py, stdnum/util.py: Try the non-caching zeep
client on older versions
This uses the "normal" Client class from zeep if CachingClient
is not available (this is the case on older zeep versions).
This also records (and documents) the dependencies for SOAP
libraries in setup.py.
2018-01-01 Arthur de Jong <arthur@arthurdejong.org>
* [6d7ba46] .travis.yml: Add a Travis configuration file
2018-01-01 Arthur de Jong <arthur@arthurdejong.org>
* [db7be06] stdnum/do/ncf.py, stdnum/do/rnc.py, tox.ini: Fix Python
2.6 compatibility
2018-01-01 Arthur de Jong <arthur@arthurdejong.org>
* [8107f08] stdnum/cn/loc.dat, stdnum/eu/nace.dat, stdnum/imsi.dat,
stdnum/isbn.dat, stdnum/us/ein.dat: Update database files
Note that the Swift IBAN Registry in txt format is currently
unavailable so hasn't been updated.
2018-01-01 Arthur de Jong <arthur@arthurdejong.org>
* [e781eee] MANIFEST.in, tox.ini, update/README, 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/my_bp.py,
update/numlist.py, update/requirements.txt: Move update scripts
to own directory
This moves all the update scripts to their own directory so they
don't clutter the toplevel directory.
This also ensures that the scripts are passed through flake8
and makes some adjustments for that alongside a few other cleanups.
2017-12-01 srikanthlogic <srik.lak@gmail.com>
* [442aa82] stdnum/in_/pan.py, tests/test_in_pan.doctest: Add
Indian PAN
Closes https://github.com/arthurdejong/python-stdnum/pull/57
2017-12-31 Arthur de Jong <arthur@arthurdejong.org>
* [8a34b4e] stdnum/util.py: Correctly quote regular expression
Fixes a6ae1d0.
2017-12-31 Arthur de Jong <arthur@arthurdejong.org>
* [271b9e4] docs/stdnum.is_.kennitala.rst, docs/stdnum.is_.vsk.rst,
tox.ini: Add Sphinx documentation checks
This also fixes an escaping issue in the automatically generated
documentation for modules that end with an underscore.
2017-12-06 Arthur de Jong <arthur@arthurdejong.org>
* [be094f8] README, docs/conf.py, docs/index.rst, getnumlist.py,
setup.py, stdnum/__init__.py: Use README as package long
description
This also shortens the stdnum module docstring and updates the
Sphinx configuration.
2017-12-01 srikanthlogic <srik.lak@gmail.com>
* [c576bc4] stdnum/in_/__init__.py, stdnum/in_/aadhaar.py: Add
Indian Aadhaar
Closes https://github.com/arthurdejong/python-stdnum/pull/56
2017-11-26 Arthur de Jong <arthur@arthurdejong.org>
* [bafdb70] stdnum/casrn.py, tests/test_casrn.doctest: Add CAS
Registry Number
This adds validation of the Chemical Abstracts Service Registry
Number.
2017-11-24 Arthur de Jong <arthur@arthurdejong.org>
* [d5f97e9] online_check/check.js, online_check/stdnum.wsgi:
Change output of online lookups
This puts the number before the number name to make it a little
clearer.
2017-11-24 Arthur de Jong <arthur@arthurdejong.org>
* [f7b4615] online_check/check.js: Store online check numbers
in history
This updates the browser history with with the numbers that
were checked so that you can easily go back and forth between
checked number.
2017-11-24 Arthur de Jong <arthur@arthurdejong.org>
* [7cb114b] online_check/stdnum.wsgi: Correctly escape number for
use in attribute
2017-11-26 Arthur de Jong <arthur@arthurdejong.org>
* [90067f7] tests/test_eu_banknote.doctest: Fix incorrect banknote
test
Also add a few verified correct numbers.
Fixes b7b812c.
2017-11-22 Arthur de Jong <arthur@arthurdejong.org>
* [b7b812c] stdnum/eu/banknote.py, tests/test_eu_banknote.doctest:
Add Euro bank notes serial number
This adds validation of serial numbers that appear on Euro bills.
2017-11-02 Arthur de Jong <arthur@arthurdejong.org>
* [a6ae1d0] docs/index.rst, docs/stdnum.bic.rst,
docs/stdnum.iso9362.rst, stdnum/bic.py, stdnum/iso9362.py,
stdnum/util.py: Rename stdnum.iso9362 to stdnum.bic
The new name is more descriptive and easier to remember. This
makes stdnum.iso9362 a compatibility module that can be imported
with the old name but provides a deprecation warning.
2017-10-22 Arthur de Jong <arthur@arthurdejong.org>
* [6be1754] stdnum/util.py: Support zeep as preferred SOAP library
This tries zeep, suds (suds-jurko) and falls back to using
pysimplesoap for performing the SOAP requests. From those zeep
seems to be the best supported implementation.
2017-10-22 Arthur de Jong <arthur@arthurdejong.org>
* [9ab1d66] stdnum/eu/vat.py, tests/test_eu_vat.py: Add tests for
the VIES VAT validation functions
These tests are not normally run as part of the normal test suite
and have to be explicitly enabled by setting the ONLINE_TESTS
environment variable to avoid overloading these online services.
2017-10-18 Arthur de Jong <arthur@arthurdejong.org>
* [ab21159] stdnum/do/ncf.py, tests/test_do_ncf.py: Add
stdnum.do.ncf.check_dgii()
This adds functions for querying the Dirección General de
Impuestos Internos (DGII) API to check if the RNC and NCF
combination provided is valid.
2017-10-18 Arthur de Jong <arthur@arthurdejong.org>
* [6b09c5d] stdnum/do/rnc.py, tests/test_do_rnc.py, tox.ini:
Add stdnum.do.rnc.check_dgii() and search_dgii()
This adds functions for querying the Dirección General de
Impuestos Internos (DGII) API to validate the RNC and search
the register by keyword.
2017-10-16 Arthur de Jong <arthur@arthurdejong.org>
* [665bf7a] stdnum/do/ncf.py, tests/test_do_ncf.doctest: Add
Dominican Republic receipt number (NCF)
This number does not have a check digit but uses a distinctive
enough format that it should not be too great of a problem.
2017-10-14 Arthur de Jong <arthur@arthurdejong.org>
* [4ab1e3b] stdnum/eu/vat.py, stdnum/tr/tckimlik.py, stdnum/util.py:
Cache SOAP client in get_soap_client()
This caches the instantiated SOAP client classes in the util
module instead of doing the caching in every module that performs
requests.
2017-10-18 Arthur de Jong <arthur@arthurdejong.org>
* [cecd35c] getdowhitelists.py: Add a script for updating RNC and
Cedula whitelists
2017-10-13 Arthur de Jong <arthur@arthurdejong.org>
* [399321b] stdnum/do/rnc.py, tests/test_do_rnc.doctest: Also add
a whitelist for Dominican Republic RNC
Some RNCs are apparently valid while having an incorrect check
digit (though most appear to be inactive). There also appear to
be valid RNCs that do not have 9 digits.
2017-10-13 Arthur de Jong <arthur@arthurdejong.org>
* [58511dc] stdnum/do/cedula.py, tests/test_do_cedula.doctest:
Add a few new numbers to the Cedula whitelist
These numbers were found to be valid but had an invalid check
digit nonetheless (though most appear to be inactive). Also
there appear to be a few valid Cedula that do not have 11 digits.
2017-10-13 David Arnold <dar@devco.co>
* [74c1721] stdnum/util.py, tests/test_util.doctest: Handle unicode
arguments in get_cc_module()
Closes https://github.com/arthurdejong/python-stdnum/issues/54
2017-09-15 Arthur de Jong <arthur@arthurdejong.org>
* [12cd072] stdnum/eu/at_02.py: Fix spelling errors
2017-09-12 Arthur de Jong <arthur@arthurdejong.org>
* [4496ffe] ChangeLog, NEWS, README, docs/index.rst,
docs/stdnum.ca.bn.rst, docs/stdnum.ca.sin.rst,
docs/stdnum.de.idnr.rst, docs/stdnum.ee.registrikood.rst,
docs/stdnum.fi.veronumero.rst, docs/stdnum.gb.upn.rst,
stdnum/__init__.py: Get files ready for 1.7 release
2017-09-12 Arthur de Jong <arthur@arthurdejong.org>
* [28092b3] stdnum/damm.py: Add example with custom table to Damm
2017-09-11 Arthur de Jong <arthur@arthurdejong.org>
* [24d4a76] stdnum/cn/loc.dat, stdnum/eu/nace.dat, stdnum/imsi.dat,
stdnum/isbn.dat, stdnum/isil.dat: Update database files
2017-09-11 Arthur de Jong <arthur@arthurdejong.org>
* [5071636] getisbn.py: Update getisbn to allow TLSv1
The www.isbn-international.org site uses TLSv1 which seems to be
blocked by recent Python/OpenSSL combinations unless configured
otherwise.
2017-09-11 Arthur de Jong <arthur@arthurdejong.org>
* [edaad05] setup.cfg, tox.ini: Run flake8 from tox
2017-09-10 Arthur de Jong <arthur@arthurdejong.org>
* [0ce5d0b] stdnum/bg/egn.py, stdnum/cz/dic.py, stdnum/dk/cpr.py,
stdnum/es/cups.py, stdnum/es/referenciacatastral.py,
stdnum/eu/nace.py, stdnum/fr/nir.py, stdnum/fr/siren.py,
stdnum/iban.py, stdnum/it/codicefiscale.py, stdnum/lv/pvn.py,
stdnum/numdb.py, stdnum/ro/cnp.py, stdnum/util.py: Minor code
improvements (mostly PEP8)
2017-09-10 Arthur de Jong <arthur@arthurdejong.org>
* [e468c1b] stdnum/ch/vat.py, stdnum/cn/ric.py, stdnum/do/cedula.py,
stdnum/ee/ik.py, stdnum/ee/registrikood.py, stdnum/es/nif.py,
stdnum/fi/__init__.py, stdnum/fi/hetu.py, stdnum/gb/nhs.py,
stdnum/gb/upn.py, stdnum/gb/vat.py, stdnum/is_/kennitala.py,
stdnum/it/codicefiscale.py, stdnum/nl/onderwijsnummer.py,
stdnum/numdb.py, stdnum/rs/pib.py, stdnum/sk/rc.py,
stdnum/us/tin.py: Make import ordering consistent
2017-09-10 Arthur de Jong <arthur@arthurdejong.org>
* [1c27639] stdnum/al/nipt.py, stdnum/ar/cbu.py, stdnum/ar/cuit.py,
stdnum/at/businessid.py, stdnum/at/uid.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/ch/ssn.py, stdnum/ch/uid.py,
stdnum/ch/vat.py, stdnum/cl/rut.py, stdnum/cn/ric.py,
stdnum/co/nit.py, stdnum/cusip.py, stdnum/cy/vat.py,
stdnum/cz/dic.py, stdnum/cz/rc.py, stdnum/damm.py,
stdnum/de/idnr.py, stdnum/de/vat.py, stdnum/de/wkn.py,
stdnum/dk/cpr.py, stdnum/dk/cvr.py, stdnum/do/cedula.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/iban.py, stdnum/es/nie.py,
stdnum/es/nif.py, stdnum/es/referenciacatastral.py,
stdnum/eu/at_02.py, stdnum/eu/eic.py, stdnum/eu/nace.py,
stdnum/eu/vat.py, stdnum/fi/alv.py, stdnum/fi/associationid.py,
stdnum/fi/hetu.py, stdnum/fi/veronumero.py, stdnum/fi/ytunnus.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/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/imo.py,
stdnum/imsi.py, stdnum/is_/kennitala.py, stdnum/is_/vsk.py,
stdnum/isan.py, stdnum/isbn.py, stdnum/isil.py, stdnum/isin.py,
stdnum/ismn.py, stdnum/iso6346.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/iso9362.py, stdnum/issn.py, stdnum/it/codicefiscale.py,
stdnum/it/iva.py, stdnum/lei.py, stdnum/lt/pvm.py,
stdnum/lu/tva.py, stdnum/luhn.py, stdnum/lv/pvn.py,
stdnum/mc/tva.py, stdnum/meid.py, stdnum/mt/vat.py,
stdnum/mx/rfc.py, stdnum/my/nric.py, stdnum/nl/brin.py,
stdnum/nl/bsn.py, stdnum/nl/btw.py, stdnum/nl/onderwijsnummer.py,
stdnum/nl/postcode.py, stdnum/no/mva.py, stdnum/no/orgnr.py,
stdnum/numdb.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/vat.py, stdnum/si/ddv.py,
stdnum/sk/dph.py, stdnum/sm/coe.py, stdnum/tr/__init__.py,
stdnum/tr/tckimlik.py, stdnum/us/atin.py, stdnum/us/ein.py,
stdnum/us/itin.py, stdnum/us/ptin.py, stdnum/us/rtn.py,
stdnum/us/ssn.py, stdnum/us/tin.py, stdnum/verhoeff.py: Docstring
improvements
2017-09-08 Arthur de Jong <arthur@arthurdejong.org>
* [2cc39ea] stdnum/cz/dic.py, tests/test_eu_vat.doctest: Fix Czech
DIČ check digit calculation
This fixes a bug in the check digit calculation for the 9-digit
numbers that start with a 6 for individuals without a RČ. This
also adds a few tests for Czech VAT numbers.
See https://github.com/arthurdejong/python-stdnum/issues/51
2017-09-04 Arthur de Jong <arthur@arthurdejong.org>
* [d24a439] stdnum/ee/registrikood.py,
tests/test_ee_registrikood.doctest: Add Estonian Registrikood
This is based on what was done by Mohammed Salman of Holvi. This
adds more tests and validates the check digit.
This uses the check digit algorithm from Isikukood which seems
to work with all tested numbers although there is no confirmation
that this is the correct algorithm.
2017-08-25 Mohammed Salman <mohammed@holvi.com>
* [53cc0dc] stdnum/de/idnr.py, tests/test_de_idnr.doctest: Add
support for German tax id number
2017-08-30 Arthur de Jong <arthur@arthurdejong.org>
* [a71a1ac] stdnum/isbn.py, tests/test_isbn.doctest: Check bookland
code in ISBN
This ensures that an InvalidComponent() exception is raised when
an unknown EAN bookland code is found. It will also raise this
exception when using to_isbn10() when not using the 978 code.
2017-08-28 Arthur de Jong <arthur@arthurdejong.org>
* [8f6fa7d] setup.cfg, stdnum/iban.py, stdnum/ismn.py,
stdnum/meid.py, stdnum/numdb.py, stdnum/util.py,
tests/numdb-test.dat, tests/test_util.doctest: Ensure 100%
branch coverage
This ensures that the tests fail if 100% branch coverage is
not achieved. It also adds some pragma statements for code that
cannot be covered or is Python version dependent.
Furthermore, the get_module_list() function was removed
from stdnum.util and more tests were made from stdnum.util
and stdnum.numdb. The functionality to call format() in a
country-specific IBAN implementation was also dropped because
it was not used.
2017-08-27 Arthur de Jong <arthur@arthurdejong.org>
* [fbc92f8] stdnum/gb/upn.py: Add English Unique Pupil Number (UPN)
2017-08-26 Arthur de Jong <arthur@arthurdejong.org>
* [b8389eb] stdnum/ca/bn.py, tests/test_ca_bn.doctest: Add Canadian
Business Number (BN)
2017-08-26 Arthur de Jong <arthur@arthurdejong.org>
* [efd2eb9] stdnum/ca/__init__.py, stdnum/ca/sin.py: Add Canadian
Social Insurance Number (SIN)
2017-08-24 Arthur de Jong <arthur@arthurdejong.org>
* [b8e12d6] setup.cfg: Ensure all Python files are in coverage report
2017-08-17 Mohammed Salman <mohammed@holvi.com>
* [0c91b43] stdnum/fi/veronumero.py: Implement Finnish individual
tax number validation
2017-07-11 Arthur de Jong <arthur@arthurdejong.org>
* [bd0c7c7] online_check/check.js, online_check/stdnum.wsgi,
online_check/template.html: Include search term in online form
This also makes the Javascript regular expression used for
highlighting links the same as the Python equivalent.
2017-06-02 Arthur de Jong <arthur@arthurdejong.org>
* [81446fd] stdnum/iso7064/mod_97_10.py: Use slightly more
compact code
This changes the alphanumeric to numeric translation to be
slightly more compact and slightly faster.
2017-04-16 Arthur de Jong <arthur@arthurdejong.org>
* [ed9ac5b] tests/test_isbn.doctest: Add a few ISBNs found online
This adds a number of ISBNs found online from various sources
to the test suite.
2017-04-15 Arthur de Jong <arthur@arthurdejong.org>
* [57c12d8] stdnum/ismn.py, tests/test_ismn.doctest: An ISMN can
only be 10 or 13 digits
This also adds the test that an ISMN should start with 9790.
2017-04-15 Arthur de Jong <arthur@arthurdejong.org>
* [6fb2e89] stdnum/isbn.py, tests/test_isbn.doctest: Fix conversion
of 9 digit ISBN to ISBN13
2017-04-13 Arthur de Jong <arthur@arthurdejong.org>
* [5604d91] docs/index.rst, setup.py, stdnum/fr/nir.py,
stdnum/fr/siren.py, stdnum/gb/nhs.py, stdnum/isil.py,
stdnum/iso6346.py, stdnum/lv/pvn.py, stdnum/nl/brin.py,
stdnum/us/ein.dat, tests/test_al_nipt.doctest: Switch to HTTPS URLs
2017-04-13 Arthur de Jong <arthur@arthurdejong.org>
* [d14ea3b] online_check/README, online_check/check.js,
online_check/stdnum.wsgi: Show possible conversions in online check
This shows possible converted values. For example it will show
ISBN13 conversions for ISBN10 values.
2017-04-13 Arthur de Jong <arthur@arthurdejong.org>
* [6b588d1] stdnum/damm.py: Fix bug in damm.is_valid() function
2017-04-11 Arthur de Jong <arthur@arthurdejong.org>
* [35542c1] ChangeLog, MANIFEST.in, NEWS, README, docs/index.rst,
docs/stdnum.ar.cbu.rst, docs/stdnum.eu.eic.rst,
docs/stdnum.eu.nace.rst, docs/stdnum.lei.rst,
docs/stdnum.mc.tva.rst, docs/stdnum.rs.pib.rst, stdnum/__init__.py:
Get files ready for 1.6 release
2017-04-10 Arthur de Jong <arthur@arthurdejong.org>
* [93459d3] stdnum/cn/loc.dat, stdnum/eu/nace.dat, stdnum/iban.dat,
stdnum/imsi.dat, stdnum/isbn.dat: Update database files
2017-04-10 Arthur de Jong <arthur@arthurdejong.org>
* [bb1712d] online_check/README, online_check/check.js,
online_check/jquery-1.7.1.js, online_check/jquery-1.7.1.min.js,
online_check/stdnum.wsgi, online_check/template.html: Add simple
online check example
This adds the code that is used to find formats for which a
supplied number is valid. This is the code that is used on
https://arthurdejong.org/python-stdnum/check/
2017-04-10 Arthur de Jong <arthur@arthurdejong.org>
* [5398247] stdnum/lei.py, tests/test_lei.doctest: Add Legal
Entity Identifier
2017-04-10 Arthur de Jong <arthur@arthurdejong.org>
* [e844b52] stdnum/iban.py, stdnum/iso7064/mod_97_10.py: Integrate
base10 conversion into Mod 97, 10
This moves the conversion of an alphanumeric string to a numeric
representation for modulo 97 calculation to the mod_97_10 module
because this mechanism seems to be used by multiple formats.
2017-04-10 Arthur de Jong <arthur@arthurdejong.org>
* [1b3d16e] stdnum/es/nie.py: Add missing export (__all__)
2017-04-10 Arthur de Jong <arthur@arthurdejong.org>
* [72f5c6c] stdnum/rs/__init__.py, stdnum/rs/pib.py,
tests/test_rs_pib.doctest: Add Serbian Poreski Identifikacioni Broj
2017-04-10 Arthur de Jong <arthur@arthurdejong.org>
* [800205c] tox.ini: Print warnings during tox run
2017-04-07 Arthur de Jong <arthur@arthurdejong.org>
* [7493eca] stdnum/cusip.py, stdnum/ean.py, stdnum/ec/ci.py,
stdnum/isin.py, stdnum/tr/tckimlik.py: Use a slightly more
readable weight alternation
Switch to a slightly more readable syntax for alternating between
two weights in checksums calculations.
2017-04-01 Arthur de Jong <arthur@arthurdejong.org>
* [23b2150] stdnum/eu/eic.py, tests/test_eu_eic.doctest: Add
European EIC (Energy Identification Code)
2017-03-26 Arthur de Jong <arthur@arthurdejong.org>
* [194f025] stdnum/meid.py, tests/test_robustness.doctest: Add
unicode robustness tests
This tests a few unicode strings and fixes a bug in the MEID
module.
2017-03-26 Arthur de Jong <arthur@arthurdejong.org>
* [d43c394] stdnum/es/referenciacatastral.py,
tests/test_es_referenciacatastral.doctest: Add test for Ñ in
Referencia Catastral
This supports the Referencia Catastral with an Ñ in it for
both byte strings (Python 2) and unicode strings (Python 2 and
3). Support for literal unicode strings in Python 2 doctests is
flaky so the test is a bit ugly.
This also adds a few numbers that were found online. Sadly no
real numbers with an Ñ in it have been found so the one in the
test was constructed.
2017-03-26 Arthur de Jong <arthur@arthurdejong.org>
* [61d73c1] getnace.py, stdnum/eu/nace.dat, stdnum/eu/nace.py,
tests/test_robustness.doctest: Add European NACE classification
This number is used to classify business. Validation is done
based on a downloaded registry.
2017-03-26 Arthur de Jong <arthur@arthurdejong.org>
* [649f073] stdnum/mc/tva.py: Remove unused import
2017-03-19 Arthur de Jong <arthur@arthurdejong.org>
* [c957318] stdnum/fr/tva.py, stdnum/mc/__init__.py,
stdnum/mc/tva.py, tests/test_eu_vat.doctest: Add support for
Monaco VAT number
The number uses the French TVA number but, unlike normal French
VAT numbers, they are not valid French SIREN numbers.
See https://github.com/arthurdejong/python-stdnum/issues/46
2016-12-11 Arthur de Jong <arthur@arthurdejong.org>
* [5b43857] stdnum/au/tfn.py: Remove unused import
2016-12-01 Greg Kuwaye <gkuwaye@lyft.com>
* [7d16ea5] stdnum/us/ein.dat: Add new 47 EIN prefix; fix duplicate
46; move 81
47 appears to be a new Internet campus code. Prefix 46
was listed twice, once under the Philadelphia campus and
again under the Internet campus. This error may be seen
on the IRS website itself. The Wikipedia article on EIN
(https://en.wikipedia.org/wiki/Employer_Identification_Number)
does not have 46 listed twice. 81 has moved from the Philadelphia
campus to the Internet campus.
2016-11-14 Luciano Rossi <lukio@gcoop.coop>
* [dcde8f4] stdnum/ar/cbu.py, tests/test_ar_cbu.doctest: Implement
CBU (unique bank code) of Argentina
See https://github.com/arthurdejong/python-stdnum/issues/43
2016-11-14 Arthur de Jong <arthur@arthurdejong.org>
* [da18e3b] setup.py, stdnum/fi/associationid.py, stdnum/meid.py,
tests/test_mx_rfc.doctest, tox.ini: Add Python 2.6 support
This also brings the list of Python versions in setup.py in line
with tox.ini.
2016-11-13 Arthur de Jong <arthur@arthurdejong.org>
* [62ebbce] ChangeLog, NEWS, README, docs/index.rst,
docs/stdnum.au.abn.rst, docs/stdnum.au.acn.rst,
docs/stdnum.au.tfn.rst, docs/stdnum.es.ccc.rst,
docs/stdnum.es.cups.rst, docs/stdnum.es.iban.rst,
docs/stdnum.es.referenciacatastral.rst, stdnum/__init__.py:
Get files ready for 1.5 release
2016-11-13 Arthur de Jong <arthur@arthurdejong.org>
* [c9beb00] stdnum/cn/loc.dat, stdnum/iban.dat, stdnum/imsi.dat,
stdnum/isbn.dat, stdnum/isil.dat, tests/test_iban.doctest:
Update database files
This removes the Costa Rica IBAN test because the format of the
IBAN seems to have been changed. The old length still seems to
be in use so a more permanent solution is probably required.
2016-11-13 Arthur de Jong <arthur@arthurdejong.org>
* [ac560a7] getisbn.py: Update getisbn to Python3
There were some SSL-related issues with the urllib module. This
was the easiest solution.
2016-11-13 Arthur de Jong <arthur@arthurdejong.org>
* [458c310] getiban.py: Update gettin IBAN registry
The format of the registry file has changed. Before it was a
straightforward CSV file with countries in rows but countries
are now in columns.
2016-11-09 Sergi Almacellas Abellana <sergi@koolpi.com>
* [45faa7c] .gitignore, tox.ini: Add tox.ini file
2016-11-08 Sergi Almacellas Abellana <sergi@koolpi.com>
* [a9e5405] stdnum/eu/at_02.py: Implement calc_check_digits in
SEPA Identifier of the Creditor (AT-02)
2016-10-14 Arthur de Jong <arthur@arthurdejong.org>
* [8ea76ba] stdnum/au/tfn.py, tests/test_au_tfn.doctest: Add
Australian Tax File Number
Based on the implementation provided by Vincent Bastos
<vincent@lavalab.com.au>
See https://github.com/arthurdejong/python-stdnum/pull/40
2016-10-14 Arthur de Jong <arthur@arthurdejong.org>
* [8028c3a] stdnum/au/acn.py, tests/test_au_acn.doctest: Add
Australian Company Number
Based on the implementation provided by Vincent Bastos
<vincent@lavalab.com.au>
See https://github.com/arthurdejong/python-stdnum/pull/40
2016-10-14 Arthur de Jong <arthur@arthurdejong.org>
* [70b94ee] stdnum/au/__init__.py, stdnum/au/abn.py,
tests/test_au_abn.doctest: Add Australian Business Number
Based on the implementation provided by Vincent Bastos
<vincent@lavalab.com.au>
See https://github.com/arthurdejong/python-stdnum/pull/40
2016-10-14 Arthur de Jong <arthur@arthurdejong.org>
* [d7cff5d] stdnum/be/__init__.py, stdnum/be/vat.py: Provide
businessid as an alias
The Belgian company number or enterprise number
(ondernemingsnummer) is the new name for what was previously
the VAT number.
2016-09-10 Arthur de Jong <arthur@arthurdejong.org>
* [352aa8a] stdnum/es/referenciacatastral.py: Add reference to
Referencia Catastral implementation
2016-09-03 Arthur de Jong <arthur@arthurdejong.org>
* [49db553] tests/test_es_referenciacatastral.doctest: Add more
tests for Referencia Catastral
This adds a number of extra tests for the Spanish Referencia
Catastral (stdnum.es.referenciacatastral) module, mostly based
on numbers found online.
This commit includes some of the documentation on the structure
of Referencia Catastral that was in the original pull request.
See https://github.com/arthurdejong/python-stdnum/pull/38
2016-08-31 David García Garzón <david.garcia@upf.edu>
* [2c557a0] stdnum/es/referenciacatastral.py: Add Spansih Referencia
Catastral
The control digit check algorithm is based on Javascript
implementation by Vicente Sancho that can be found at
http://trellat.es/validar-la-referencia-catastral-en-javascript/
See https://github.com/arthurdejong/python-stdnum/pull/38
2016-09-10 Arthur de Jong <arthur@arthurdejong.org>
* [b128c8d] tests/test_iban.doctest: Test a few Spanish IBANs
found online
2016-09-10 Arthur de Jong <arthur@arthurdejong.org>
* [878e036] stdnum/numdb.py: Avoid leaving open file descriptor
in test
2016-09-08 Arthur de Jong <arthur@arthurdejong.org>
* [be24790] stdnum/es/iban.py, tests/test_iban.doctest: Add Spanish
IBAN number module
This validates the country-specific part of the IBAN.
2016-09-08 Arthur de Jong <arthur@arthurdejong.org>
* [2510932] stdnum/iban.py: Validate country-specific part of IBAN
This adds the possible of validating the country-specific part
of the IBAN. If the country has an IBAN module, checking is also
delegated to that module.
2016-09-06 Arthur de Jong <arthur@arthurdejong.org>
* [d8cca82] stdnum/eu/vat.py, stdnum/util.py: Introduce
get_cc_module() utility function
This changes the get_vat_module() function to a more generic
get_cc_module() function so that it can also be used for other
things like IBAN checking.
2016-09-06 Arthur de Jong <arthur@arthurdejong.org>
* [1622873] stdnum/es/ccc.py: Add to_iban() function to Spanish CCC
2016-09-08 Arthur de Jong <arthur@arthurdejong.org>
* [7d969be] stdnum/iban.py: Implement calc_check_digits() in IBAN
Introduce a function to calculate the two check digits of an
IBAN. Since the check digits are the third and fourth characters
in the number, placeholders need to be provided when calling
this function.
2016-08-31 David García Garzón <voki@canvoki.net>
* [294f872] stdnum/es/ccc.py: Add Spanish Código Cuenta Corriente
(CCC)
2016-08-28 David García Garzón <david.garcia@upf.edu>
* [466cec8] stdnum/es/cups.py, tests/test_es_cups.doctest: Add
Spanish CUPS code
2016-08-28 Arthur de Jong <arthur@arthurdejong.org>
* [d95382f] stdnum/exceptions.py: Properly print error message
of exceptions
This ensures that the message passed to the constructor is shown
in the traceback while falling back to the class default.
2016-07-26 Arthur de Jong <arthur@arthurdejong.org>
* [01a7f34] ChangeLog, NEWS, README, docs/index.rst,
docs/stdnum.damm.rst, docs/stdnum.fr.nif.rst,
docs/stdnum.fr.nir.rst, docs/stdnum.fr.siret.rst,
docs/stdnum.gb.nhs.rst, docs/stdnum.tr.tckimlik.rst,
stdnum/__init__.py: Get files ready for 1.4 release
2016-07-26 Arthur de Jong <arthur@arthurdejong.org>
* [3e4e9e2] getmybp.py, stdnum/cn/loc.dat, stdnum/iban.dat,
stdnum/imsi.dat, stdnum/isbn.dat, stdnum/isil.dat: Update
database files
This also updates the getmybp script to support the new layout.
2016-07-26 Arthur de Jong <arthur@arthurdejong.org>
* [3e344d1] stdnum/iso6346.py: Add formatting of ISO 6346 container
codes
2016-07-26 Arthur de Jong <arthur@arthurdejong.org>
* [aa1c298] getnumlist.py, stdnum/damm.py, tests/test_damm.doctest:
Implement Damm algorithm
This is a generic check digit algorithm. 2016-07-26 Arthur de
Jong <arthur@arthurdejong.org>
* [411d038] stdnum/fr/nif.py: Fix French NIF format test
Fixes 2409ee9. 2016-07-26 Arthur de Jong
<arthur@arthurdejong.org>
* [06e4165] stdnum/ch/ssn.py: Improve validation to Swiss SSN number
The EAN-13 number should start with 756.
2016-07-26 Arthur de Jong <arthur@arthurdejong.org>
* [1907c67] stdnum/br/cpf.py: Add documentation to Brazillian CPF
2016-07-26 Arthur de Jong <arthur@arthurdejong.org>
* [cf428ac] stdnum/iso6346.py: Add pointer to ISO 6346 information
2016-07-26 Arthur de Jong <arthur@arthurdejong.org>
* [011c0f0] stdnum/gb/nhs.py: Fix copyright notice
2016-05-22 Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr>
* [2409ee9] stdnum/fr/nif.py: Add NIF - French tax identification
number
Add module for NIF also known as SPI number.
2016-07-26 Arthur de Jong <arthur@arthurdejong.org>
* [43b58d3] stdnum/fr/nir.py: Move NIR check digit calculation
to function
This also fixes a number of formatting issues, improves the
module description and adds tests for the 2A and 2B departments.
2016-05-29 Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr>
* [879f2d3] stdnum/fr/nir.py: Improve French NIR validation
Please note that the 7th character of the NIR might be 'A' or
'B'. Other than that the NIR contains digits only.
2016-07-25 Arthur de Jong <arthur@arthurdejong.org>
* [fd9f953] stdnum/fr/siren.py, stdnum/fr/siret.py,
tests/test_fr_siren.doctest, tests/test_fr_siret.doctest: Add
extra tests for SIREN and SIRET
This adds tests for a few numbers that have been found online
and allows the dot as a seprator because those numbers were found.
It also ensures that the SIREN validation is also called for
SIRET and adds a SIRET formatting function.
2016-05-27 Yoann Aubineau <y.aubineau@criteo.com>
* [5ba3a87] stdnum/fr/siret.py: Add French SIRET number
Add a SIRET (Système d'Identification du Répertoire des
ETablissements, a French company etablishment identification
number) module.
2016-05-29 Arthur de Jong <arthur@arthurdejong.org>
* [dc708f0] stdnum/isil.py, tests/test_isil.doctest: Add more
ISIL tests
This moves a few of the tests from the module to a dedicated
test file and adds tests for a number of ISIL numbers found online.
2016-05-29 Arthur de Jong <arthur@arthurdejong.org>
* [4a57d84] stdnum/us/tin.py: Fix formatting of bulleted list
2016-05-28 Arthur de Jong <arthur@arthurdejong.org>
* [9b74840] stdnum/ch/ssn.py, tests/test_ch_ssn.doctest: Fix bug
in Swiss SSN validation
The validation was delegated to the EAN module but the number
is supposed to be an EAN-13 only and and EAN-8 was also accepted.
This also reformats the docstring.
2016-05-28 Arthur de Jong <arthur@arthurdejong.org>
* [f3c2491] stdnum/ie/vat.py, tests/test_ie_vat.doctest: Fix bug
in Irish VAT number validation
The last digits of the number that should be letters were not
tested to be letters which could result in ValueError being
raised for certain validations.
This also clarifies the documentation and adds a convert()
function to convert numbers from the old format (where the
second character would be a letter or symbol) to the new format
(7 digits followed by 1 or 2 letters).
2016-05-28 Arthur de Jong <arthur@arthurdejong.org>
* [b5397ed] tests/test_robustness.doctest: Small improvements
to tests
This includes a formatting fix and removes an unused variable
from a test.
2016-05-28 Arthur de Jong <arthur@arthurdejong.org>
* [d85b27f] stdnum/util.py: Fix get_module_description()
This fixes the initial implementation in 3f6d52a.
2016-05-22 Dimitri Papadopoulos <dimitri.papadopoulos@cea.fr>
* [a1afa76] stdnum/fr/nir.py: Add French NIR
Add module for NIR also known as social security number.
2016-05-09 Arthur de Jong <arthur@arthurdejong.org>
* [0a2f39e] stdnum/gb/nhs.py: Add United Kingdom NHS number
Add module for United Kingdom National Health Service patient
identifier.
2016-05-09 Arthur de Jong <arthur@arthurdejong.org>
* [2126947] stdnum/numdb.py: Read numdb files in context manager
This ensures that the file is explicitly closed in the function
to avoid "unclosed file" warnings.
See: https://github.com/arthurdejong/python-stdnum/issues/33
2016-04-11 Arthur de Jong <arthur@arthurdejong.org>
* [e28b5e1] stdnum/ch/uid.py, stdnum/ch/vat.py, stdnum/cusip.py,
stdnum/dk/cpr.py, stdnum/iban.py, stdnum/imei.py, stdnum/isbn.py,
stdnum/isil.py, stdnum/isin.py, stdnum/issn.py, stdnum/mx/rfc.py,
stdnum/nl/bsn.py, stdnum/nl/onderwijsnummer.py, stdnum/pl/regon.py,
stdnum/tr/tckimlik.py, stdnum/us/ssn.py, stdnum/verhoeff.py:
Make more information links consistent
Also fix a docstring in stdnum.nl.bsn and add a pointer to
stdnum.nl.onderwijsnummer.
2016-04-09 Arthur de Jong <arthur@arthurdejong.org>
* [feab917] stdnum/eu/vat.py, stdnum/tr/tckimlik.py, stdnum/util.py:
Implement online TC Kimlik check
This refactors out the SOAP client function that was implemented
for VIES to the stdnum.utils module.
2016-04-09 Arthur de Jong <arthur@arthurdejong.org>
* [619b097] stdnum/tr/__init__.py, stdnum/tr/tckimlik.py,
tests/test_tr_tckimlik.doctest: Add Turkish personal identification
number
2016-04-01 Arthur de Jong <arthur@arthurdejong.org>
* [095dcbb] stdnum/mx/rfc.py, tests/test_mx_rfc.doctest: Document
accuracy of RFC check digit test
There is an online service that allows validating RFC numbers. It
seems there are a lot of numbers that do not match the check
digit algorithm which confirms disabling the check digit test
by default is a good idea.
Also see https://github.com/arthurdejong/python-stdnum/issues/32
2016-03-05 Arthur de Jong <arthur@arthurdejong.org>
* [41cecb5] ChangeLog, NEWS, getnumlist.py, setup.py,
stdnum/__init__.py: Get files ready for 1.3 release
2016-03-03 Arthur de Jong <arthur@arthurdejong.org>
* [6457734] getcnloc.py, getiban.py, stdnum/cn/loc.dat,
stdnum/iban.dat, stdnum/imsi.dat, stdnum/isbn.dat, stdnum/isil.dat:
Update database files
This also updates the getcnloc and getiban scripts to use new URLs.
2015-10-30 Arthur de Jong <arthur@arthurdejong.org>
* [0061564] stdnum/dk/cpr.py, stdnum/iban.py, stdnum/imei.py,
stdnum/isbn.py, stdnum/isil.py, stdnum/issn.py, stdnum/nl/bsn.py,
stdnum/us/ssn.py, stdnum/verhoeff.py: Integrate information from
the wiki
This adds the information that was previously in the Trac wiki
into the source docstrings because the Trac instance is being
phased out.
This also includes small updates to the ISIL module.
2015-10-28 Arthur de Jong <arthur@arthurdejong.org>
* [96c8151] stdnum/eu/vat.py: Fix SOAP client re-use
This fixes a bug when checking re-use of the global SOAP client
object. The object could not be evaluated in boolean context
so is no explicitly compared to None. For suds a MethodNotFound
exception would be raised for __nonzero__() (which Python uses
for boolean comparison).
2015-10-28 Lionel Elie Mamane <lionel@mamane.lu>
* [2881b86] stdnum/eu/vat.py: Fix problem with check_vies_approx()
2015-10-15 Ronald Paloschi <ronald.paloschi@gmail.com>
* [fb0efe0] stdnum/iso6346.py, tests/test_iso6346.doctest: Fix
for when ISO 6346 checksum is 10
Bug fix for when the checksum is 10, it was compared to 0 and
failed. New doctest exposing the bug that passes after the fix
is applied.
See: https://github.com/arthurdejong/python-stdnum/pull/30
2015-10-11 Arthur de Jong <arthur@arthurdejong.org>
* [1361817] ChangeLog, MANIFEST.in, NEWS, README, docs/index.rst,
docs/stdnum.at.businessid.rst, docs/stdnum.br.cnpj.rst,
docs/stdnum.ch.uid.rst, docs/stdnum.ch.vat.rst,
docs/stdnum.cusip.rst, docs/stdnum.de.wkn.rst,
docs/stdnum.ee.ik.rst, docs/stdnum.fi.associationid.rst,
docs/stdnum.fi.ytunnus.rst, docs/stdnum.gb.sedol.rst,
docs/stdnum.imo.rst, docs/stdnum.isin.rst, docs/stdnum.mx.rfc.rst,
docs/stdnum.pl.pesel.rst, docs/stdnum.pl.regon.rst,
docs/stdnum.ru.inn.rst, setup.py, stdnum/__init__.py: Get files
ready for 1.2 release
2015-10-11 Arthur de Jong <arthur@arthurdejong.org>
* [1327045] getcnloc.py, stdnum/cn/loc.dat, stdnum/iban.dat,
stdnum/imsi.dat, stdnum/isbn.dat, stdnum/isil.dat: Update
database files
This also updates the script to download updated Chinese
location names.
2015-10-11 Arthur de Jong <arthur@arthurdejong.org>
* [a891c60] stdnum/al/nipt.py, stdnum/co/nit.py, stdnum/iban.py,
stdnum/ie/pps.py, stdnum/imei.py, stdnum/isan.py,
stdnum/iso6346.py, stdnum/it/codicefiscale.py, stdnum/meid.py,
stdnum/nl/postcode.py, stdnum/numdb.py, stdnum/pt/nif.py,
stdnum/us/atin.py, stdnum/us/ein.py, stdnum/us/itin.py,
stdnum/us/ptin.py, stdnum/us/ssn.py, stdnum/util.py: Code style
improvements
Ensure that regular expressions are r'' strings, avoid too
long lines and fix line wrapping. Also avoid catching toplevel
Exception when possible and use binascii for hex to binary
conversion which is available in both Python 2 and 3.
2015-10-11 Arthur de Jong <arthur@arthurdejong.org>
* [3c7a302] stdnum/cusip.py, stdnum/de/wkn.py, stdnum/gb/sedol.py,
stdnum/isin.py: Convert security ids to ISIN
Allow conversion from national securities identifiers to the
international ISIN.
2015-10-11 Arthur de Jong <arthur@arthurdejong.org>
* [c565517] stdnum/de/wkn.py, tests/test_de_wkn.doctest: Add
German Wertpapierkennnummer
The format itself is pretty simple (no check digit) but this
module is more for completeness sake.
2015-10-10 Arthur de Jong <arthur@arthurdejong.org>
* [961815f] stdnum/gb/sedol.py, tests/test_gb_sedol.doctest:
Add SEDOL number
2015-10-10 Arthur de Jong <arthur@arthurdejong.org>
* [fb91775] stdnum/ru/__init__.py: Add information to Russian package
2015-10-10 Arthur de Jong <arthur@arthurdejong.org>
* [ebb5c07] MANIFEST.in, stdnum/numdb.py, tests/numdb-test.dat:
Move numdb test file
This places the test database file in the tests directory.
2015-10-10 Arthur de Jong <arthur@arthurdejong.org>
* [fa8099e] stdnum/imo.py: Add int. maritime org. number (IMO)
This adds checks for the International Maritime Organization
number used to identify ships. However, there seem to be a lot
of ships with an IMO number that does not follow these rules
(different check digits or even length).
2015-10-10 Arthur de Jong <arthur@arthurdejong.org>
* [111b4fd] stdnum/isan.py, tests/test_isan.doctest: Fix handling
of strip_check_digits in ISAN
This fixes the compact() function to honor the strip_check_digits
argument and does not validate the check digits if they are
passed to validate together with strip_check_digits.
2015-10-10 Arthur de Jong <arthur@arthurdejong.org>
* [9f9d13c] stdnum/isin.py, tests/test_isin.doctest: Add
international securities id (ISIN)
This adds support for handling ISINs (International Securities
Identification Number). The can contain a CUSIP but performing
this additional validation is currently not performed.
2015-10-09 Arthur de Jong <arthur@arthurdejong.org>
* [522611c] stdnum/cusip.py, tests/test_cusip.doctest: Add CUSIP
number
2015-10-08 Arthur de Jong <arthur@arthurdejong.org>
* [320ecea] stdnum/ch/uid.py, stdnum/ch/vat.py,
tests/test_ch_uid.doctest, tests/test_ch_vat.doctest: Add Swiss
UID and VAT numbers
The Swiss VAT number (MWST, TVA, IVA, TPV) is the UID
(Unternehmens-Identifikationsnummer) followed by one of the
VAT abbreviations.
2015-10-05 Arthur de Jong <arthur@arthurdejong.org>
* [ec9bcb0] stdnum/mx/__init__.py, stdnum/mx/rfc.py,
tests/test_mx_rfc.doctest: Add Mexican RFC number
This adds support for the Mexican tax number RFC (Registro
Federal de Contribuyentes).
This module includes a number of checks on the number but the
validation of the last check digit is disabled by default because
a large number of numbers were found that were otherwise valid
but had an invalid check digit.
2015-10-04 Arthur de Jong <arthur@arthurdejong.org>
* [fd0cfd9] stdnum/eu/vat.py, stdnum/util.py: Move finding VAT
module to util
This moves the finding of a VAT module to the util module so
that it can be more easily re-used for non-EU countries.
2015-10-04 Arthur de Jong <arthur@arthurdejong.org>
* [38ed9c0] stdnum/co/nit.py, tests/test_co_nit.doctest: Update
Colombian NIT checks
This adds a number of tests for numbers found online. The length
check has also been revisited because both shorter numbers and
longer number have been found.
This also updates the format() function to handle arbitrary
length numbers.
2015-10-02 Arthur de Jong <arthur@arthurdejong.org>
* [d413f95] stdnum/isbn.py: Fix comment
2015-10-02 Arthur de Jong <arthur@arthurdejong.org>
* [3d1dbbb] stdnum/ar/cuit.py, stdnum/bg/egn.py, stdnum/bg/pnf.py,
stdnum/bg/vat.py, stdnum/co/nit.py, stdnum/dk/cpr.py,
stdnum/dk/cvr.py, stdnum/do/rnc.py, stdnum/ec/ruc.py,
stdnum/ee/kmkr.py, stdnum/fi/alv.py, stdnum/gb/vat.py,
stdnum/hu/anum.py, stdnum/is_/kennitala.py, stdnum/lv/pvn.py,
stdnum/mt/vat.py, stdnum/no/orgnr.py, stdnum/pl/nip.py,
stdnum/pl/pesel.py, stdnum/pl/regon.py, stdnum/ro/cf.py,
stdnum/ro/cnp.py: Use zip() instead of enumerate()
Makes the code slightly simpler and more compact.
2015-10-01 Sergio Isidoro <sergio@holvi.com>
* [222a87e] stdnum/fi/__init__.py: Add alias to hetu in for finnish
personal id code
2015-09-27 Arthur de Jong <arthur@arthurdejong.org>
* [e045c71] tests/test_eu_vat.doctest: Add more numbers found online
2015-09-07 Dariusz Choruzy <darobial@gmail.com>
* [36217ac] stdnum/pl/regon.py, tests/test_pl_regon.doctest:
Add Polish REGON number
2015-09-06 Dariusz Choruzy <darobial@gmail.com>
* [a0cb61f] stdnum/pl/pesel.py: Add Polish PESEL number
2015-08-16 Arthur de Jong <arthur@arthurdejong.org>
* [5ab8d24] stdnum/ru/__init__.py, stdnum/ru/inn.py,
tests/test_ru_inn.doctest: Add Russioan ИНН (INN) tax ID
This adds a basic implementation of the Russian
Идентификационный номер
налогоплательщика (tax identification
number). This currently only checks the format, length and check
digits but not whether each of the parts of the number are valid
(e.g. valid region specified).
2015-08-16 Arthur de Jong <arthur@arthurdejong.org>
* [714fa60] stdnum/br/cnpj.py, tests/test_br_cnpj.doctest: Add
Brazillian CNPJ business identifier
Add module for Cadastro Nacional da Pessoa Jurídica, the
Brazillian company identifier.
2015-08-16 Arthur de Jong <arthur@arthurdejong.org>
* [b939099] getiban.py, stdnum/iban.dat, tests/test_iban.doctest:
Update IBAN tests
This updates the iban.dat file from the IBAN registry, includes
a fix for handling spaces in the BBAN and adds some more IBAN
examples from the IBAN registry.
2015-08-16 Arthur de Jong <arthur@arthurdejong.org>
* [7714db7] stdnum/iso9362.py: Make uppercase in compact()
This changes the compact() function of the ISO 9362 module to
make all the letters uppercase.
2015-08-16 Arthur de Jong <arthur@arthurdejong.org>
* [6afa875] setup.cfg, stdnum/imei.py, stdnum/isbn.py,
stdnum/isil.py, stdnum/ismn.py, stdnum/meid.py, stdnum/us/atin.py,
stdnum/us/ein.py, stdnum/us/itin.py: Turn on and improve branch
coverage
2015-08-16 Arthur de Jong <arthur@arthurdejong.org>
* [e88ba0b] stdnum/dk/cpr.py, stdnum/is_/kennitala.py,
stdnum/it/codicefiscale.py: Small typo and code style fixes
2015-08-03 Tomas Karasek <tom.to.the.k@gmail.com>
* [243e50f] stdnum/ee/ik.py, tests/test_ee_ik.doctest: Add validation
of Estonian personal ID
2015-06-12 Lari Haataja <lari@holvi.com>
* [7f9c94f] stdnum/at/businessid.py: Add company register number
validation for Austria
2015-07-12 Arthur de Jong <arthur@arthurdejong.org>
* [0cbba6e] : Merge Finnish numbers provided by Holvi
This merges the Finnish numbers provided by Holvi Payment Services
Oy as found here: https://github.com/holvi/python-stdnum
2015-07-12 Arthur de Jong <arthur@arthurdejong.org>
* [320326e] stdnum/fi/ytunnus.py: Split out format() function
This uses the stdnum.fi.alv module more extensively and ensures
that validate() returns a compact representation and a separate
format() function is available.
2015-06-23 Lari Haataja <lari@holvi.com>
* [37f7fa6] stdnum/fi/__init__.py, stdnum/fi/ytunnus.py: Add
validation for Finnish y-tunnus (business identifier)
2015-07-12 Arthur de Jong <arthur@arthurdejong.org>
* [db24746] stdnum/fi/associationid.py: Add a whitelist for short
numbers and fix API
This implements separate functions compact() and format() and
fixes the doctests. This also implements a whitelist of registered
short numbers to avoid accidentally validating just any number.
2015-06-16 Lari Haataja <lari@holvi.com>
* [8d30992] stdnum/fi/associationid.py: Validation for Finnish
association identifier
2015-07-12 Arthur de Jong <arthur@arthurdejong.org>
* [e107457] : Merge changes to use CN Open Data
2015-07-12 Arthur de Jong <arthur@arthurdejong.org>
* [a1a134e] stdnum/eu/vat.py: Fall back to pysimplesoap if suds
is unavailable
Initial testing seems to suggest that proxy-support is not
complete with pysimplesoap (at least httplib2 and PySocks seem
to be required).
2015-04-28 Lionel Elie Mamane <lmamane@debian.org>
* [8fe44f9] stdnum/eu/vat.py: Implement alternate VIES check
Add a function to stdnum.eu.vat so that when one does a VIES VAT
number check, one gets a proof (certificate) that one did the
check, as defence against the VAT administration later putting
this in doubt. This certificate is provided by the VIES service,
if one provides one's own VAT number.
2015-06-08 Jiangge Zhang <tonyseek@gmail.com>
* [6308261] stdnum/cn/loc.dat: Download and generate latest Chinese
location data.
2015-06-08 Jiangge Zhang <tonyseek@gmail.com>
* [12ba352] getcnloc.py: Download GB2260 data from github.com/cn.
2015-04-27 Arthur de Jong <arthur@arthurdejong.org>
* [8925ae2] tests/test_iso6346.doctest: Fix copyright header
2015-04-27 Arthur de Jong <arthur@arthurdejong.org>
* [58775d9] ChangeLog, NEWS, README, docs/index.rst,
docs/stdnum.al.nipt.rst, docs/stdnum.ar.cuit.rst,
docs/stdnum.cl.rut.rst, docs/stdnum.co.nit.rst,
docs/stdnum.do.cedula.rst, docs/stdnum.do.rnc.rst,
docs/stdnum.is_.kennitala.rst, docs/stdnum.is_.vsk.rst,
docs/stdnum.iso9362.rst, docs/stdnum.no.mva.rst,
docs/stdnum.no.orgnr.rst, docs/stdnum.se.orgnr.rst,
docs/stdnum.sm.coe.rst, setup.py, stdnum/__init__.py: Get files
ready for 1.1 release
2015-04-27 Arthur de Jong <arthur@arthurdejong.org>
* [583b066] getcnloc.py, stdnum/cn/loc.dat, stdnum/iban.dat,
stdnum/imsi.dat, stdnum/isbn.dat, stdnum/isil.dat: Update
database files
This also updates the script to download updated Chinese
location names.
2014-10-24 Tomas Thor Jonsson <benregn@gmail.com>
* [dd309e4] stdnum/se/orgnr.py, stdnum/se/vat.py: Add support for
SE orgnr
This also delegates some of the validation for the Swedish VAT
module to the orgnr module.
2015-04-27 Arthur de Jong <arthur@arthurdejong.org>
* [23882e2] tests/test_ec_ruc.doctest: Add extra tests for the
stdnum.ec.ruc module
These numbers were found in various online sources.
2015-04-25 Arthur de Jong <arthur@arthurdejong.org>
* [eac4d63] stdnum/fr/tva.py: Add extra test for French TVA
2014-10-14 P. Christeas <xrg@linux.gr>
* [9934f76] stdnum/gr/vat.py: Change description of Greek FPA number
In Greece, our VAT number is used as a generic "tax registration"
num. Update the docstring to reflect that name.
2015-04-22 Arthur de Jong <arthur@arthurdejong.org>
* [4d7163c] stdnum/ar/__init__.py, stdnum/ar/cuit.py,
tests/test_ar_cuit.doctest: Add Argentinian CUIT (VAT) number
Based partially on the implementation in the vatnumber module.
2015-04-18 Arthur de Jong <arthur@arthurdejong.org>
* [ba894d7] stdnum/sm/__init__.py, stdnum/sm/coe.py: Add San Marino
COE (VAT) number
Based partially on the implementation in the vatnumber module.
2015-04-18 Arthur de Jong <arthur@arthurdejong.org>
* [144e1a4] stdnum/co/__init__.py, stdnum/co/nit.py: Add Colombian
NIT/RUT (VAT) code
Based on the implementation in the vatnumber module.
2015-04-18 Arthur de Jong <arthur@arthurdejong.org>
* [c69c8f0] stdnum/cl/__init__.py, stdnum/cl/rut.py,
tests/test_cl_rut.doctest: Add Chilean national tax number (RUT)
Based on the implementation in the vatnumber module.
2015-04-18 Arthur de Jong <arthur@arthurdejong.org>
* [3db826c] stdnum/al/__init__.py, stdnum/al/nipt.py,
tests/test_al_nipt.doctest: Add Albanian NIPT (VAT) number
Partially based on the implementation in the vatnumber module.
Some valid numbers appear to start with an L so those are allowed
as well.
2015-04-23 Arthur de Jong <arthur@arthurdejong.org>
* [88d1af3] stdnum/do/cedula.py: Extend the list of valid Cedula
This is based on the list of Cedula found at
http://prd.org.do/2013/07/30/lista-del-cen-del-prd-actualizada-y-registrada-en-la-junta-central-electoral/
(link provided by José Arturo García)
2015-04-17 Arthur de Jong <arthur@arthurdejong.org>
* [49d1e69] stdnum/do/cedula.py, tests/test_do_cedula.doctest:
Add Dominican Republic Cedula number
The Cedule is a Dominican Republic national identification number
for persons.
The number uses the Luhn checksum but apparently there are a lof
of valid numbers in use that do not match the checksum. For this
a whitelist is used.
2015-04-17 Arthur de Jong <arthur@arthurdejong.org>
* [d003ac3] stdnum/do/__init__.py, stdnum/do/rnc.py,
tests/test_do_rnc.doctest: Add Dominican Republic RNC number
The RNC (Registro Nacional del Contribuyente) is the Dominican
Republic taxpayer registration number for companies.
2015-04-19 Arthur de Jong <arthur@arthurdejong.org>
* [9e94ab8] tests/test_no_mva.doctest: Add more stdnum.no.mva tests
2015-04-18 Arthur de Jong <arthur@arthurdejong.org>
* [c334bcf] stdnum/is_/kennitala.py, tests/test_is_kennitala.doctest:
Add more tests for Kennitala
2015-04-11 Tuomas Toivonen <toivotuo@kasvua.org>
* [84620f8] stdnum/is_/__init__.py, stdnum/is_/kennitala.py,
stdnum/is_/vsk.py: Support Icelandic personal, organisation and
VAT identifiers
The package is named "is_" because "is" is a reserved word.
2015-04-11 Tuomas Toivonen <toivotuo@kasvua.org>
* [699b340] stdnum/no/__init__.py, stdnum/no/mva.py,
stdnum/no/orgnr.py: Add support for Norwegian organisation and
VAT numbers
This commit also includes changes from Tomas Thor Jonsson
<benregn@gmail.com>.
2015-02-09 Tony Bajan <tony.bajan@onefinestay.com>
* [75bcef0] stdnum/iso9362.py: Add ISO 9362 (BIC) support
2015-04-17 Arthur de Jong <arthur@arthurdejong.org>
* [2574f89] stdnum/imsi.py: Raise InvalidComponent for unregistered
IMSI
2014-12-23 Emiliano Castro <emiliano@typeform.com>
* [9883c72] stdnum/eu/vat.py, stdnum/hr/__init__.py: Adding HR
(Croatia) to the list of available countries
2014-11-01 Arthur de Jong <arthur@arthurdejong.org>
* [3a7c9f7] stdnum/bg/vat.py, stdnum/eu/at_02.py, stdnum/iban.py,
stdnum/isan.py, stdnum/meid.py, stdnum/numdb.py: Fix common
spelling mistake
2014-10-31 Matt McDonald <mmcdonald@google.com>
* [6e332b1] stdnum/meid.py, tests/test_meid.doctest: Fix for
invalidating MEIDs with invalid decimal bit length
See: http://arthurdejong.org/trac/python-stdnum/ticket/10
2014-10-20 Arthur de Jong <arthur@arthurdejong.org>
* [3fa795d] getnumlist.py: Restore section for on homepage
2014-10-19 Arthur de Jong <arthur@arthurdejong.org>
* [147eeb1] ChangeLog, NEWS, README, docs/index.rst,
docs/stdnum.ch.ssn.rst, docs/stdnum.cn.ric.rst,
docs/stdnum.ec.ci.rst, docs/stdnum.ec.ruc.rst,
docs/stdnum.eu.at_02.rst, docs/stdnum.iso6346.rst,
docs/stdnum.it.codicefiscale.rst, docs/stdnum.us.rtn.rst,
getnumlist.py, setup.py, stdnum/__init__.py: Get files ready
for 1.0 release
2014-10-19 Arthur de Jong <arthur@arthurdejong.org>
* [72c0ff1] stdnum/iso6346.py: Remove unused import
2014-10-19 Arthur de Jong <arthur@arthurdejong.org>
* [e713cc7] stdnum/iban.dat, stdnum/imsi.dat, stdnum/isbn.dat,
stdnum/isil.dat: Update database files
2014-10-13 Denis Krienbühl <denis@href.ch>
* [256aa49] stdnum/ch/__init__.py, stdnum/ch/ssn.py: Adds the
Swiss social security number
Also known as "Sozialversicherungsnummer" / "Neue AHV Nummer".
2014-10-18 Arthur de Jong <arthur@arthurdejong.org>
* [2cc50e2] stdnum/eu/at_02.py, stdnum/iban.py, stdnum/imei.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/luhn.py, stdnum/util.py,
stdnum/verhoeff.py: Only catch Exception
2014-10-17 Arthur de Jong <arthur@arthurdejong.org>
* [e2948bb] : Add Ecuadorian CI and RUC numbers
Add modules for Ecuadorian Identification Card (CI - Cédula
de identidad) and Fiscal Numbers (RUC - Registro Único de
Contribuyentes)
See: https://github.com/arthurdejong/python-stdnum/pull/12
2014-10-17 Arthur de Jong <arthur@arthurdejong.org>
* [e5250be] stdnum/ec/ci.py, stdnum/ec/ruc.py,
tests/test_ec_ci.doctest, tests/test_ec_ruc.doctest: Validate
parts of numbers
This raises exceptions when the provice or establishment number
part of the number contains invalid values.
2014-10-17 Arthur de Jong <arthur@arthurdejong.org>
* [10a044f] stdnum/ec/ci.py, stdnum/ec/ruc.py: Refactor checksum
functions
Use the CI checks from within the RUC module for natural RUC
numbers (thereby eliminating a bug in the RUC checksum calculation)
and simplify the checksum functions.
2014-10-17 Arthur de Jong <arthur@arthurdejong.org>
* [f61b855] stdnum/ec/ci.py, stdnum/ec/ruc.py,
tests/test_ec_ci.doctest, tests/test_ec_ruc.doctest: Use
dedicated doctests
This moves a number of the existing test cases to dedicated doctest
files and extend the tests with more numbers and corner cases.
This also fixes a few docstrings.
2014-10-12 Jonathan Finlay <jfinlay@riseup.net>
* [e8f1ca6] stdnum/ec/__init__.py, stdnum/ec/ci.py, stdnum/ec/ruc.py:
Add Ecuadorian CI and RUC numbers
Add modules for Ecuadorian Identification Card (CI - Cédula
de identidad) and Fiscal Numbers (RUC - Registro Único de
Contribuyentes)
2014-10-06 Arthur de Jong <arthur@arthurdejong.org>
* [2700b7a] : Add Chinese Resident Identity Card Number
2014-10-06 Jiangge Zhang <tonyseek@gmail.com>
* [141d576] stdnum/cn/ric.py, tests/test_cn_ric.doctest: Support
the Resident Identity Card Number of People's Republic China
2014-10-05 Jiangge Zhang <tonyseek@gmail.com>
* [10ae548] getcnloc.py, stdnum/cn/loc.dat: Download locations
from the China (PRC) government site
2014-10-05 Jiangge Zhang <tonyseek@gmail.com>
* [e9eb546] stdnum/cn/__init__.py: Add stdnum.cn package for Chinese
(PRC) numbers
2014-10-05 Arthur de Jong <arthur@arthurdejong.org>
* [97ac94d] stdnum/my/nric.py, tests/test_my_nric.doctest: Update
NRIC tests
2014-10-05 Arthur de Jong <arthur@arthurdejong.org>
* [123e9cb] getmybp.py, stdnum/my/bp.dat: Update URLs for Malaysian
code lists
This updates the URLs for the state and country codes as published
by the National Registration Department of Malaysia and changes
the parsing to the new page layout.
This also updates the data file.
https://github.com/arthurdejong/python-stdnum/issues/14
2014-09-01 Tony Bajan <tony.bajan@onefinestay.com>
* [86f60a2] stdnum/us/rtn.py: Add US bank routing transit numbers
2014-07-05 Arthur de Jong <arthur@arthurdejong.org>
* [fbb0316] getisbn.py: Use ElementTree for simpler XML parsing
2014-07-05 Arthur de Jong <arthur@arthurdejong.org>
* [03e4f97] getisbn.py, stdnum/isbn.dat: Fix getisbn script and
update ISBN data file
2014-04-11 Arthur de Jong <arthur@arthurdejong.org>
* [26517fe] getnumlist.py, stdnum/__init__.py: Improve package
docstring formatting and show example
2014-03-18 Sharoon Thomas <sharoon.thomas@openlabs.co.in>
* [85dd6f2] stdnum/iso6346.py, tests/test_iso6346.doctest: Add
support for ISO6346
Add validation and creation of check digit for ISO6346 codes.
See: https://github.com/arthurdejong/python-stdnum/pull/9
2014-03-05 Jussi Räsänen <jussi@skyred.fi>
* [2405c89] stdnum/eu/vat.py: Added a simple backwards compability
check
2014-02-17 Arthur de Jong <arthur@arthurdejong.org>
* [a4012f5] stdnum/ie/pps.py, stdnum/ie/vat.py,
tests/test_eu_vat.doctest: Add support for 2013 extension of
Irish PPS Numbers
References: - https://www.welfare.ie/en/Pages/PPSN.aspx -
http://www.citizensinformation.ie/en/social_welfare/irish_social_welfare_system/personal_public_service_number.html
2014-02-06 Arthur de Jong <arthur@arthurdejong.org>
* [71d9837] stdnum/eu/at_02.py: Rename AT-02 module to
stdnum.eu.at_02
2014-02-05 Sergi Almacellas Abellana <sergi@koolpi.com>
* [099078e] stdnum/at_02.py: Add SEPA Creditor identifier (AT-02)
2014-02-02 Arthur de Jong <arthur@arthurdejong.org>
* [1ac00a0] stdnum/it/codicefiscale.py,
tests/test_it_codicefiscale.doctest: Add an Italian Codice
Fiscale module
This module validates 16 digit Italian tax codes for individuals.
https://en.wikipedia.org/wiki/Italian_fiscal_code_card
It is based on the pycodicefiscale module that can be found here:
https://github.com/baxeico/pycodicefiscale
Functions have been renamed to follow the stdnum naming scheme:
isvalid() -> is_valid(), control_code -> calc_check_digit(),
get_birthday() -> get_birth_date(), get_sex() -> get_gender(). The
build() function for generating tax codes (based on name,
birth place and date) has been left out because this number
cannot be uniquely constructed with this information alone
(numbers are issued by the Italian tax office with a mechanism
handle duplicates).
Addresses trac ticket #9.
2014-01-01 Arthur de Jong <arthur@arthurdejong.org>
* [c3d669c] setup.py: Remove requirement on distribute
This accidentally slipped into 907e410. 2013-12-31 Arthur de
Jong <arthur@arthurdejong.org>
* [d933aab] .gitignore, ChangeLog, NEWS, README, docs/index.rst,
docs/stdnum.my.nric.rst, docs/stdnum.nl.brin.rst,
docs/stdnum.nl.postcode.rst, docs/stdnum.us.atin.rst,
docs/stdnum.us.ein.rst, docs/stdnum.us.itin.rst,
docs/stdnum.us.ptin.rst, docs/stdnum.us.tin.rst, getiban.py,
getimsi.py, stdnum/__init__.py: Get files ready for 0.9 release
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: 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_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/nl/__init__.py, stdnum/nl/bsn.py,
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/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
|