Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Get files ready for 1.8.1 release1.8.1Arthur de Jong2018-01-063-1/+34
|
* Fix feedback section in README to be valid RSTArthur de Jong2018-01-061-1/+1
|
* Update long description in compatible wayArthur de Jong2018-01-061-2/+2
| | | | | | | This ensures that the README is read correctly on all supported Python interpreters. Fixes 1304122
* setup.py: Open README with utf-8 encoding5j92018-01-051-1/+1
| | | | Fixes #59
* Get files ready for 1.8 release1.8Arthur de Jong2018-01-0314-8/+315
|
* Fix Sphinx dependency nameArthur de Jong2018-01-031-1/+1
|
* Move get_cc_module() function to package for public useArthur de Jong2018-01-032-8/+30
|
* Try the non-caching zeep client on older versionsArthur de Jong2018-01-032-12/+22
| | | | | | | | 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.
* Add a Travis configuration fileArthur de Jong2018-01-011-0/+18
|
* Fix Python 2.6 compatibilityArthur de Jong2018-01-013-6/+10
|
* Update database filesArthur de Jong2018-01-015-91/+122
| | | | | Note that the Swift IBAN Registry in txt format is currently unavailable so hasn't been updated.
* Move update scripts to own directoryArthur de Jong2018-01-0113-118/+128
| | | | | | | | 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.
* Add Indian PANsrikanthlogic2018-01-012-0/+160
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/57
* Correctly quote regular expressionArthur de Jong2017-12-311-2/+2
| | | | Fixes a6ae1d0.
* Add Sphinx documentation checksArthur de Jong2017-12-313-5/+10
| | | | | This also fixes an escaping issue in the automatically generated documentation for modules that end with an underscore.
* Use README as package long descriptionArthur de Jong2017-12-316-174/+44
| | | | | This also shortens the stdnum module docstring and updates the Sphinx configuration.
* Add Indian Aadhaarsrikanthlogic2017-12-012-0/+119
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/56
* Add CAS Registry NumberArthur de Jong2017-11-262-0/+181
| | | | This adds validation of the Chemical Abstracts Service Registry Number.
* Change output of online lookupsArthur de Jong2017-11-262-5/+6
| | | | This puts the number before the number name to make it a little clearer.
* Store online check numbers in historyArthur de Jong2017-11-261-3/+27
| | | | | This updates the browser history with with the numbers that were checked so that you can easily go back and forth between checked number.
* Correctly escape number for use in attributeArthur de Jong2017-11-261-1/+1
|
* Fix incorrect banknote testArthur de Jong2017-11-261-1/+2
| | | | | | Also add a few verified correct numbers. Fixes b7b812c.
* Add Euro bank notes serial numberArthur de Jong2017-11-222-0/+144
| | | | This adds validation of serial numbers that appear on Euro bills.
* Rename stdnum.iso9362 to stdnum.bicArthur de Jong2017-11-036-74/+112
| | | | | | 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.
* Support zeep as preferred SOAP libraryArthur de Jong2017-10-221-7/+12
| | | | | | 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.
* Add tests for the VIES VAT validation functionsArthur de Jong2017-10-222-1/+50
| | | | | | 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.
* Add stdnum.do.ncf.check_dgii()Arthur de Jong2017-10-222-1/+107
| | | | | | 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.
* Add stdnum.do.rnc.check_dgii() and search_dgii()Arthur de Jong2017-10-223-2/+177
| | | | | | This adds functions for querying the Dirección General de Impuestos Internos (DGII) API to validate the RNC and search the register by keyword.
* Add Dominican Republic receipt number (NCF)Arthur de Jong2017-10-222-0/+241
| | | | | This number does not have a check digit but uses a distinctive enough format that it should not be too great of a problem.
* Cache SOAP client in get_soap_client()Arthur de Jong2017-10-223-43/+26
| | | | | This caches the instantiated SOAP client classes in the util module instead of doing the caching in every module that performs requests.
* Add a script for updating RNC and Cedula whitelistsArthur de Jong2017-10-221-0/+88
|
* Also add a whitelist for Dominican Republic RNCArthur de Jong2017-10-142-4/+17
| | | | | | 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.
* Add a few new numbers to the Cedula whitelistArthur de Jong2017-10-142-76/+96
| | | | | | 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.
* Handle unicode arguments in get_cc_module()David Arnold2017-10-142-6/+20
| | | | Closes https://github.com/arthurdejong/python-stdnum/issues/54
* Fix spelling errorsArthur de Jong2017-09-151-3/+3
|
* Get files ready for 1.7 release1.7Arthur de Jong2017-09-1211-1/+299
|
* Add example with custom table to DammArthur de Jong2017-09-121-0/+13
|
* Update database filesArthur de Jong2017-09-115-181/+215
|
* Update getisbn to allow TLSv1Arthur de Jong2017-09-111-1/+3
| | | | | The www.isbn-international.org site uses TLSv1 which seems to be blocked by recent Python/OpenSSL combinations unless configured otherwise.
* Run flake8 from toxArthur de Jong2017-09-112-1/+26
|
* Minor code improvements (mostly PEP8)Arthur de Jong2017-09-1114-20/+27
|
* Make import ordering consistentArthur de Jong2017-09-1118-19/+18
|
* Docstring improvementsArthur de Jong2017-09-11134-608/+535
|
* Fix Czech DIČ check digit calculationArthur de Jong2017-09-082-3/+15
| | | | | | | | 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
* Add Estonian RegistrikoodArthur de Jong2017-09-042-0/+232
| | | | | | | | | 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.
* Add support for German tax id numberMohammed Salman2017-09-032-0/+160
|
* Check bookland code in ISBNArthur de Jong2017-08-302-4/+10
| | | | | | 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.
* Ensure 100% branch coverageArthur de Jong2017-08-288-24/+64
| | | | | | | | | | | 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.
* Add English Unique Pupil Number (UPN)Arthur de Jong2017-08-271-0/+109
|
* Add Canadian Business Number (BN)Arthur de Jong2017-08-262-0/+231
|