Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add CC (Número de Cartão de Cidadão, Portuguese ↵HEADmasterDavid Vaz3 days2-0/+130
| | | | | | Identity number) Closes https://github.com/arthurdejong/python-stdnum/pull/265
* Add new e-CF types to Dominican Republic NCFFRANK ROBERTO CHAVEZ SOSA10 days1-0/+2
|
* Fix parsing of empty fields in DGII checkingAndres Rodriguez10 days1-2/+2
|
* Add ENCF validation support for Dominican Republic NCFCristopher Ortega10 days2-4/+48
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/248
* Improve French NIF validationDimitri Papadopoulos10 days1-5/+11
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/266
* Configure CodeQL code scanningArthur de Jong10 days1-0/+17
|
* Ignore N818 because our exceptions are not named errorArthur de Jong10 days1-4/+4
|
* Only process the shortest matches in the numdb moduleArthur de Jong2021-04-112-71/+34
| | | | | | | | | | | | | | 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
* Stop non-operational MNCs from confusing IMSI datasetArthur de Jong2021-04-111-18/+27
| | | | | | | | | | | | | 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
* Fix typoJakub Wilk2021-04-111-1/+1
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/258
* Replace Travis with GitHub actionsArthur de Jong2021-03-212-21/+51
|
* Drop support for Python 2.6 and 3.4Arthur de Jong2021-03-213-12/+1
| | | | | It is increasingly difficult to test with these versions of Python and everybody should have upgraded to a more recent version long ago.
* Get files ready for 1.16 release1.16Arthur de Jong2021-02-063-1/+75
|
* Add Let's Encrypt R3 intermediate certificateArthur de Jong2021-02-061-0/+43
| | | | | The portal.nalog.gov.by web site serves an incomplete certificate chain and the intermediate certificate was changed.
* Update database filesArthur de Jong2021-02-068-130/+260
|
* Use HTTPS in URLs where possibleArthur de Jong2021-02-063-3/+3
|
* Switch postal code download to Austrian open-data portalArthur de Jong2021-01-242-64/+15
| | | | | | | | | | | | | 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
* Add support for XI VAT numbers in vatinAlexis de Lattre2021-01-242-2/+4
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/251
* Support xi country code for Northern IrelandArthur de Jong2021-01-213-7/+12
| | | | | | | | | 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
* Get files ready for 1.15 release1.15Arthur de Jong2021-01-1111-4/+225
|
* Simplify Travis matrixArthur de Jong2021-01-111-8/+7
| | | | | This also ensures that supported Python interpreters are output in order.
* Update database filesArthur de Jong2021-01-1114-629/+1362
|
* Drop pinning of isort now flake8-isort has been fixedArthur de Jong2021-01-106-11/+8
| | | | | | | This changes a few inline imports in the code to pass with the new isort. Reverts 291b831
* Fix typoArthur de Jong2021-01-101-1/+1
|
* Add project URLs for PyPIArthur de Jong2021-01-101-0/+4
|
* Add support for Ukraine РНОКПП numberLeandro Regueiro2021-01-102-0/+239
| | | | | Closes https://github.com/arthurdejong/python-stdnum/pull/242 Closes https://github.com/arthurdejong/python-stdnum/issues/117
* Add support for Ukraine ЄДРПОУ numberLeandro Regueiro2021-01-103-0/+420
| | | | | Closes https://github.com/arthurdejong/python-stdnum/pull/242 Closes https://github.com/arthurdejong/python-stdnum/issues/117
* Remove GB from EU member statesViggo de Vries2021-01-103-43/+49
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/246
* Add support for Python 3.9Arthur de Jong2021-01-103-11/+14
| | | | This switches Travis tests to bionic by default.
* Fix flake8 blind except Exception errorArthur de Jong2021-01-1011-26/+23
|
* Use ABN as Australian VAT numberViggo de Vries2021-01-101-1/+1
| | | | | | See https://www.ato.gov.au/Business/GST/Tax-invoices/ Closes https://github.com/arthurdejong/python-stdnum/pull/246
* Support VAT numbers that are only valid with country prefixArthur de Jong2021-01-022-1/+8
| | | | | | | | | 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
* Add Liechtenstein PersonenidentifikationsnummerMatthias Schmid, M.Sc2020-11-083-0/+183
| | | | | Closes https://github.com/arthurdejong/python-stdnum/pull/241 Closes https://github.com/arthurdejong/python-stdnum/issues/125
* Expanded validation for BE VAT numbersJonas Geuens2020-11-072-1/+38
| | | | | | Specifically invalidated all-zero numbers Closes https://github.com/arthurdejong/python-stdnum/pull/240
* Retain RO prefix in Romanian VAT numbersArthur de Jong2020-11-013-13/+28
| | | | | | | | 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
* Minor updatesArthur de Jong2020-11-012-2/+3
|
* Add Romanian CUI/CIF numberArthur de Jong2020-11-012-20/+95
| | | | | This module separates the validation of numbers assigned to companies (CUI or CIF) of those assigned to natural persons (CNP).
* Make list of EU member states list of public APIArthur de Jong2020-09-191-4/+4
| | | | | | | | 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
* Upgrade jQuery to 3.5.1Arthur de Jong2020-09-047-9342/+10944
| | | | This also runs eslint over check.js and fixes an issue from the upgrade.
* Get files ready for 1.14 release1.14Arthur de Jong2020-08-0920-1/+523
|
* Update database filesArthur de Jong2020-08-0911-593/+1467
|
* Add module to check any VAT numberLeandro Regueiro2020-08-092-0/+169
| | | | | | | 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
* Fix Python 3.6 issue in update scriptArthur de Jong2020-08-081-2/+2
| | | | Fixes 180788a
* Add GS1-128 formatArthur de Jong2020-08-084-0/+669
| | | | | | | | | | 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
* Add Romanian Trade Register identifierArthur de Jong2020-08-022-0/+373
| | | | | Closes https://github.com/arthurdejong/python-stdnum/issues/229 Closes https://github.com/arthurdejong/python-stdnum/pull/234
* Add English Unique Tax ReferenceMohammed Salman2020-08-022-0/+118
| | | | Closes https://github.com/arthurdejong/python-stdnum/pull/227
* Support foreign residents for Romanian CNPArthur de Jong2020-08-021-7/+13
| | | | | | | | | | 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
* Remove custom CA certificate for www.ftc.go.krArthur de Jong2020-08-022-24/+1
| | | | | This certificate is not needed any more because the site now uses a different certificate that is signed by a known CA.
* Scape new line characterevaldez892020-08-022-1/+5
| | | | | Closes https://github.com/arthurdejong/python-stdnum/pull/233 Closes https://github.com/arthurdejong/python-stdnum/issues/232
* Add support for Taiwan TIN numberLeandro Regueiro2020-07-053-0/+325
| | | | | Closes https://github.com/arthurdejong/python-stdnum/pull/214 Closes https://github.com/arthurdejong/python-stdnum/issues/209