diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2024-03-17 22:39:03 +0100 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2024-03-17 22:39:03 +0100 |
commit | 201d4d13cb4da87d96cce0c8232fe7a1d9ae43a8 (patch) | |
tree | c7eaada535808ea68dfc9f2b893d548fbffb4d2b | |
parent | b454d3aabebc698d872b894ce6b40d0f698f3a94 (diff) |
Get files ready for 1.20 release1.20
-rw-r--r-- | ChangeLog | 110 | ||||
-rw-r--r-- | NEWS | 15 | ||||
-rw-r--r-- | README.md | 5 | ||||
-rw-r--r-- | docs/conf.py | 2 | ||||
-rw-r--r-- | docs/index.rst | 3 | ||||
-rw-r--r-- | docs/stdnum.ca.bc_phn.rst | 5 | ||||
-rw-r--r-- | docs/stdnum.eu.ecnumber.rst | 5 | ||||
-rw-r--r-- | docs/stdnum.in_.vid.rst | 5 | ||||
-rw-r--r-- | stdnum/__init__.py | 4 |
9 files changed, 150 insertions, 4 deletions
@@ -1,3 +1,113 @@ +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 @@ -1,3 +1,18 @@ +changes from 1.19 to 1.20 +------------------------- + +* Add modules for the following number formats: + - BC PHN (British Columbia Personal Health Number) (thanks Ömer Boratav) + - EC Number (European Community number) (thanks Daniel Weber) + - VID (Indian personal virtual identity number) (thanks Atul Deolekar) + +* Fix typo in German Umsatzsteur Identifikationnummer (thanks Александр Кизеев) +* Ensure EU VAT numbers don't accept duplicate country codes +* Fix vatin number compacting for "EU" VAT numbers (thanks Davide Walder) +* Add check digit validation to French NIF (thanks Kevin Dagostino) +* Fix Ukrainian EDRPOU check digit calculation (thanks sector119) + + changes from 1.18 to 1.19 ------------------------- @@ -40,6 +40,7 @@ Currently this package supports the following formats: * CNPJ (Cadastro Nacional da Pessoa Jurídica, Brazilian company identifier) * CPF (Cadastro de Pessoas Físicas, Brazilian national identifier) * УНП, UNP (Учетный номер плательщика, the Belarus VAT number) + * BC PHN (British Columbia Personal Health Number) * BN (Canadian Business Number) * SIN (Canadian Social Insurance Number) * CAS RN (Chemical Abstracts Service Registry Number) @@ -90,6 +91,7 @@ Currently this package supports the following formats: * Referencia Catastral (Spanish real estate property id) * SEPA Identifier of the Creditor (AT-02) * Euro banknote serial numbers + * EC Number (European Community number) * EIC (European Energy Identification Code) * NACE (classification for businesses in the European Union) * OSS (European VAT on e-Commerce - One Stop Shop) @@ -133,6 +135,7 @@ Currently this package supports the following formats: * EPIC (Electoral Photo Identity Card, Indian Voter ID) * GSTIN (Goods and Services Tax identification number, Indian VAT number) * PAN (Permanent Account Number, Indian income tax identifier) + * VID (Indian personal virtual identity number) * Kennitala (Icelandic personal and organisation identity code) * VSK number (Virðisaukaskattsnúmer, Icelandic VAT number) * ISAN (International Standard Audiovisual Number) @@ -286,7 +289,7 @@ also work with older versions of Python. Copyright --------- -Copyright (C) 2010-2023 Arthur de Jong and others +Copyright (C) 2010-2024 Arthur de Jong and others This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public diff --git a/docs/conf.py b/docs/conf.py index 5bfb1f3..2a7eba5 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -39,7 +39,7 @@ master_doc = 'index' # General information about the project. project = u'python-stdnum' -copyright = u'2013-2023, Arthur de Jong' +copyright = u'2013-2024, Arthur de Jong' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the diff --git a/docs/index.rst b/docs/index.rst index 00a033b..e9c76c3 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -138,6 +138,7 @@ Available formats br.cnpj br.cpf by.unp + ca.bc_phn ca.bn ca.sin casrn @@ -188,6 +189,7 @@ Available formats es.referenciacatastral eu.at_02 eu.banknote + eu.ecnumber eu.eic eu.nace eu.oss @@ -231,6 +233,7 @@ Available formats in_.epic in_.gstin in_.pan + in_.vid is_.kennitala is_.vsk isan diff --git a/docs/stdnum.ca.bc_phn.rst b/docs/stdnum.ca.bc_phn.rst new file mode 100644 index 0000000..1299ee4 --- /dev/null +++ b/docs/stdnum.ca.bc_phn.rst @@ -0,0 +1,5 @@ +stdnum.ca.bc_phn +================ + +.. automodule:: stdnum.ca.bc_phn + :members:
\ No newline at end of file diff --git a/docs/stdnum.eu.ecnumber.rst b/docs/stdnum.eu.ecnumber.rst new file mode 100644 index 0000000..f6626e6 --- /dev/null +++ b/docs/stdnum.eu.ecnumber.rst @@ -0,0 +1,5 @@ +stdnum.eu.ecnumber +================== + +.. automodule:: stdnum.eu.ecnumber + :members:
\ No newline at end of file diff --git a/docs/stdnum.in_.vid.rst b/docs/stdnum.in_.vid.rst new file mode 100644 index 0000000..602124c --- /dev/null +++ b/docs/stdnum.in_.vid.rst @@ -0,0 +1,5 @@ +stdnum.in\_.vid +=============== + +.. automodule:: stdnum.in_.vid + :members:
\ No newline at end of file diff --git a/stdnum/__init__.py b/stdnum/__init__.py index 2706ff0..5eb2c05 100644 --- a/stdnum/__init__.py +++ b/stdnum/__init__.py @@ -1,7 +1,7 @@ # __init__.py - main module # coding: utf-8 # -# Copyright (C) 2010-2023 Arthur de Jong +# Copyright (C) 2010-2024 Arthur de Jong # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -43,4 +43,4 @@ from stdnum.util import get_cc_module __all__ = ('get_cc_module', '__version__') # the version number of the library -__version__ = '1.19' +__version__ = '1.20' |