lists.arthurdejong.org
RSS feed

python-stdnum branch master updated. 1.17

[Date Prev][Date Next] [Thread Prev][Thread Next]

python-stdnum branch master updated. 1.17



This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "python-stdnum".

The branch, master has been updated
       via  50650a94bba1a5175607003bccc91c69ad9645c3 (commit)
      from  0779d6a7efd3d77106c9a78e9b03b21fea2a2839 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://arthurdejong.org/git/python-stdnum/commit/?id=50650a94bba1a5175607003bccc91c69ad9645c3

commit 50650a94bba1a5175607003bccc91c69ad9645c3
Author: Arthur de Jong <arthur@arthurdejong.org>
Date:   Sun Oct 3 16:57:09 2021 +0200

    Get files ready for 1.17 release

diff --git a/ChangeLog b/ChangeLog
index b25297f..894e58d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,254 @@
+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
diff --git a/NEWS b/NEWS
index 41d4572..7da5d1a 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,37 @@
+changes from 1.16 to 1.17
+-------------------------
+
+* Add modules for the following number formats:
+
+  - EPIC (Electoral Photo Identity Card, Indian Voter ID)
+    (thanks Gaurav Chauhan)
+  - GSTIN (Goods and Services Tax identification number, Indian VAT number)
+    (thanks Gaurav Chauhan)
+  - ISRC (International Standard Recording Code) (thanks Nuno André)
+  - CC (Número de Cartão de Cidadão, Portuguese Identity number)
+    (thanks David Vaz)
+  - Postcode (the Swedish postal code) (thanks Michele Ciccozzi)
+  - MOA (Thailand Memorandum of Association Number) (thanks Piruin Panichphol)
+  - PIN (Thailand Personal Identification Number) (thanks Piruin Panichphol)
+  - TIN (Thailand Taxpayer Identification Number) (thanks Piruin Panichphol)
+
+* Add ENCF validation support for Dominican Republic NCF
+  (thanks Cristopher Ortega)
+* Add new e-CF types to Dominican Republic NCF (thanks Frank Roberto Chavez 
Sosa)
+* Improve French NIF validation (thanks Dimitri Papadopoulos)
+* Drop support for Python 2.6 and 3.4
+* Fix parsing of empty fields in Dominican Republic DGII checking
+  (thanks Andres Rodriguez)
+* Fix handling of empty worksheet in Belgian bank download
+  (thanks Dimitri Papadopoulos)
+* Fix detection of natural RUC values (thanks Victor Rodriguez)
+* Fix Belarus VAT number online lookup again
+* Fixes for problems with loading IMSI data from Wikipedia and dealing with
+  inconsistencies
+* Remove South Korean BRN Fair Trade Commission website check due to CAPTCHA
+* Various code and documentation improvements (thanks Dimitri Papadopoulos and 
Gaurav Chauhan)
+
+
 changes from 1.15 to 1.16
 -------------------------
 
diff --git a/README.md b/README.md
index c0953cf..0b5ec41 100644
--- a/README.md
+++ b/README.md
@@ -118,7 +118,9 @@ Currently this package supports the following formats:
  * IMEI (International Mobile Equipment Identity)
  * IMO number (International Maritime Organization number)
  * IMSI (International Mobile Subscriber Identity)
- * Aadhaar (Indian digital resident personal identity number)
+ * Aadhaar (Indian personal identity number)
+ * 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)
  * Kennitala (Icelandic personal and organisation identity code)
  * VSK number (Virðisaukaskattsnúmer, Icelandic VAT number)
@@ -129,6 +131,7 @@ Currently this package supports the following formats:
  * ISMN (International Standard Music Number)
  * ISO 11649 (Structured Creditor Reference)
  * ISO 6346 (International standard for container identification)
+ * ISRC (International Standard Recording Code)
  * ISSN (International Standard Serial Number)
  * AIC (Italian code for identification of drugs)
  * Codice Fiscale (Italian tax code for individuals)
@@ -169,6 +172,7 @@ Currently this package supports the following formats:
  * NIP (Numer Identyfikacji Podatkowej, Polish VAT number)
  * PESEL (Polish national identification number)
  * REGON (Rejestr Gospodarki Narodowej, Polish register of economic units)
+ * CC (Número de Cartão de Cidadão, Portuguese Identity number)
  * NIF (Número de identificação fiscal, Portuguese VAT number)
  * RUC number (Registro Único de Contribuyentes, Paraguay tax number)
  * CF (Cod de înregistrare în scopuri de TVA, Romanian VAT number)
@@ -179,6 +183,7 @@ Currently this package supports the following formats:
  * ИНН (Идентификационный номер налогоплательщика, Russian tax identifier)
  * Orgnr (Organisationsnummer, Swedish company number)
  * Personnummer (Swedish personal identity number)
+ * Postcode (the Swedish postal code)
  * VAT (Moms, Mervärdesskatt, Swedish VAT number)
  * UEN (Singapore's Unique Entity Number)
  * ID za DDV (Davčna številka, Slovenian VAT number)
@@ -186,6 +191,9 @@ Currently this package supports the following formats:
  * RČ (Rodné číslo, the Slovak birth number)
  * COE (Codice operatore economico, San Marino national tax number)
  * NIT (Número de Identificación Tributaria, El Salvador tax number)
+ * MOA (Thailand Memorandum of Association Number)
+ * PIN (Thailand Personal Identification Number)
+ * TIN (Thailand Taxpayer Identification Number)
  * T.C. Kimlik No. (Turkish personal identification number)
  * VKN (Vergi Kimlik Numarası, Turkish tax identification number)
  * UBN (Unified Business Number, 統一編號, Taiwanese tax number)
diff --git a/docs/index.rst b/docs/index.rst
index 4db5954..193efb1 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -217,6 +217,8 @@ Available formats
    imo
    imsi
    in_.aadhaar
+   in_.epic
+   in_.gstin
    in_.pan
    is_.kennitala
    is_.vsk
@@ -227,6 +229,7 @@ Available formats
    ismn
    iso11649
    iso6346
+   isrc
    issn
    it.aic
    it.codicefiscale
@@ -267,6 +270,7 @@ Available formats
    pl.nip
    pl.pesel
    pl.regon
+   pt.cc
    pt.nif
    py.ruc
    ro.cf
@@ -277,6 +281,7 @@ Available formats
    ru.inn
    se.orgnr
    se.personnummer
+   se.postnummer
    se.vat
    sg.uen
    si.ddv
@@ -284,6 +289,9 @@ Available formats
    sk.rc
    sm.coe
    sv.nit
+   th.moa
+   th.pin
+   th.tin
    tr.tckimlik
    tr.vkn
    tw.ubn
diff --git a/docs/stdnum.in_.epic.rst b/docs/stdnum.in_.epic.rst
new file mode 100644
index 0000000..d7e3e90
--- /dev/null
+++ b/docs/stdnum.in_.epic.rst
@@ -0,0 +1,5 @@
+stdnum.in\_.epic
+================
+
+.. automodule:: stdnum.in_.epic
+   :members:
\ No newline at end of file
diff --git a/docs/stdnum.in_.gstin.rst b/docs/stdnum.in_.gstin.rst
new file mode 100644
index 0000000..d087107
--- /dev/null
+++ b/docs/stdnum.in_.gstin.rst
@@ -0,0 +1,5 @@
+stdnum.in\_.gstin
+=================
+
+.. automodule:: stdnum.in_.gstin
+   :members:
\ No newline at end of file
diff --git a/docs/stdnum.isrc.rst b/docs/stdnum.isrc.rst
new file mode 100644
index 0000000..e9c8f63
--- /dev/null
+++ b/docs/stdnum.isrc.rst
@@ -0,0 +1,5 @@
+stdnum.isrc
+===========
+
+.. automodule:: stdnum.isrc
+   :members:
\ No newline at end of file
diff --git a/docs/stdnum.pt.cc.rst b/docs/stdnum.pt.cc.rst
new file mode 100644
index 0000000..954c9a9
--- /dev/null
+++ b/docs/stdnum.pt.cc.rst
@@ -0,0 +1,5 @@
+stdnum.pt.cc
+============
+
+.. automodule:: stdnum.pt.cc
+   :members:
\ No newline at end of file
diff --git a/docs/stdnum.se.postnummer.rst b/docs/stdnum.se.postnummer.rst
new file mode 100644
index 0000000..025aeaf
--- /dev/null
+++ b/docs/stdnum.se.postnummer.rst
@@ -0,0 +1,5 @@
+stdnum.se.postnummer
+====================
+
+.. automodule:: stdnum.se.postnummer
+   :members:
\ No newline at end of file
diff --git a/docs/stdnum.th.moa.rst b/docs/stdnum.th.moa.rst
new file mode 100644
index 0000000..7377b73
--- /dev/null
+++ b/docs/stdnum.th.moa.rst
@@ -0,0 +1,5 @@
+stdnum.th.moa
+=============
+
+.. automodule:: stdnum.th.moa
+   :members:
\ No newline at end of file
diff --git a/docs/stdnum.th.pin.rst b/docs/stdnum.th.pin.rst
new file mode 100644
index 0000000..40c21e6
--- /dev/null
+++ b/docs/stdnum.th.pin.rst
@@ -0,0 +1,5 @@
+stdnum.th.pin
+=============
+
+.. automodule:: stdnum.th.pin
+   :members:
\ No newline at end of file
diff --git a/docs/stdnum.th.tin.rst b/docs/stdnum.th.tin.rst
new file mode 100644
index 0000000..c889ec2
--- /dev/null
+++ b/docs/stdnum.th.tin.rst
@@ -0,0 +1,5 @@
+stdnum.th.tin
+=============
+
+.. automodule:: stdnum.th.tin
+   :members:
\ No newline at end of file
diff --git a/stdnum/__init__.py b/stdnum/__init__.py
index fe6288f..6059d02 100644
--- a/stdnum/__init__.py
+++ b/stdnum/__init__.py
@@ -43,4 +43,4 @@ from stdnum.util import get_cc_module
 __all__ = ('get_cc_module', '__version__')
 
 # the version number of the library
-__version__ = '1.16'
+__version__ = '1.17'

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                     | 251 ++++++++++++++++++++++++++++++++++++++++++
 NEWS                          |  34 ++++++
 README.md                     |  10 +-
 docs/index.rst                |   8 ++
 docs/stdnum.in_.epic.rst      |   5 +
 docs/stdnum.in_.gstin.rst     |   5 +
 docs/stdnum.isrc.rst          |   5 +
 docs/stdnum.pt.cc.rst         |   5 +
 docs/stdnum.se.postnummer.rst |   5 +
 docs/stdnum.th.moa.rst        |   5 +
 docs/stdnum.th.pin.rst        |   5 +
 docs/stdnum.th.tin.rst        |   5 +
 stdnum/__init__.py            |   2 +-
 13 files changed, 343 insertions(+), 2 deletions(-)
 create mode 100644 docs/stdnum.in_.epic.rst
 create mode 100644 docs/stdnum.in_.gstin.rst
 create mode 100644 docs/stdnum.isrc.rst
 create mode 100644 docs/stdnum.pt.cc.rst
 create mode 100644 docs/stdnum.se.postnummer.rst
 create mode 100644 docs/stdnum.th.moa.rst
 create mode 100644 docs/stdnum.th.pin.rst
 create mode 100644 docs/stdnum.th.tin.rst


hooks/post-receive
-- 
python-stdnum