lists.arthurdejong.org
RSS feed

python-stdnum branch master updated. 1.15

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

python-stdnum branch master updated. 1.15



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  6b7f20928d95b8d4d9d40ab2df90c699e7752167 (commit)
      from  755eee7ddb7736bf76dfab8e8543affd5cd1d2f4 (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=6b7f20928d95b8d4d9d40ab2df90c699e7752167

commit 6b7f20928d95b8d4d9d40ab2df90c699e7752167
Author: Arthur de Jong <arthur@arthurdejong.org>
Date:   Mon Jan 11 22:56:00 2021 +0100

    Get files ready for 1.15 release

diff --git a/ChangeLog b/ChangeLog
index 130c458..7489723 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,173 @@
+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,
diff --git a/NEWS b/NEWS
index ccd5d8a..999ca43 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,24 @@
+changes from 1.14 to 1.15
+-------------------------
+
+* Add modules for the following number formats:
+
+  - CUI or CIF (Codul Unic de Înregistrare, Romanian company identifier)
+  - PEID (Liechtenstein tax code for individuals and entities)
+    (thanks Matthias Schmid)
+  - ЄДРПОУ, EDRPOU (Identifier for enterprises and organizations in Ukraine)
+    (thanks Leandro Regueiro)
+  - РНОКПП, RNTRC (Individual taxpayer registration number in Ukraine)
+    (thanks Leandro Regueiro)
+
+* Make list of EU member states part of public API
+* Retain RO prefix in Romanian VAT numbers
+* Support international VAT numbers that are only valid with country prefix
+* Expanded validation for Belgian VAT numbers
+* Use ABN as Australian VAT number
+* Remove GB from EU member states
+
+
 changes from 1.13 to 1.14
 -------------------------
 
diff --git a/README b/README
index b472833..c0953cf 100644
--- a/README
+++ b/README
@@ -137,6 +137,7 @@ Currently this package supports the following formats:
  * BRN (사업자 등록 번호, South Korea Business Registration Number)
  * RRN (South Korean resident registration number)
  * LEI (Legal Entity Identifier)
+ * PEID (Liechtenstein tax code for individuals and entities)
  * Asmens kodas (Lithuanian, personal numbers)
  * PVM (Pridėtinės vertės mokestis mokėtojo kodas, Lithuanian VAT number)
  * TVA (taxe sur la valeur ajoutée, Luxembourgian VAT number)
@@ -172,6 +173,7 @@ Currently this package supports the following formats:
  * RUC number (Registro Único de Contribuyentes, Paraguay tax number)
  * CF (Cod de înregistrare în scopuri de TVA, Romanian VAT number)
  * CNP (Cod Numeric Personal, Romanian Numerical Personal Code)
+ * CUI or CIF (Codul Unic de Înregistrare, Romanian company identifier)
  * ONRC (Ordine din Registrul Comerţului, Romanian Trade Register identifier)
  * PIB (Poreski Identifikacioni Broj, Serbian tax identification number)
  * ИНН (Идентификационный номер налогоплательщика, Russian tax identifier)
@@ -187,6 +189,8 @@ Currently this package supports the following formats:
  * T.C. Kimlik No. (Turkish personal identification number)
  * VKN (Vergi Kimlik Numarası, Turkish tax identification number)
  * UBN (Unified Business Number, 統一編號, Taiwanese tax number)
+ * ЄДРПОУ, EDRPOU (Identifier for enterprises and organizations in Ukraine)
+ * РНОКПП, RNTRC (Individual taxpayer registration number in Ukraine)
  * ATIN (U.S. Adoption Taxpayer Identification Number)
  * EIN (U.S. Employer Identification Number)
  * ITIN (U.S. Individual Taxpayer Identification Number)
@@ -255,7 +259,7 @@ also work with older versions of Python.
 Copyright
 ---------
 
-Copyright (C) 2010-2020 Arthur de Jong and others
+Copyright (C) 2010-2021 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 6c8e4a2..5df4a75 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -94,6 +94,8 @@ modindex_common_prefix = ['stdnum.', ]
 # Automatically generate stub pages for autosummary entries.
 autosummary_generate = True
 
+# Autosummary overwrites existing files by generated stub pages.
+autosummary_generate_overwrite = False
 
 # -- Options for HTML output 
---------------------------------------------------
 
diff --git a/docs/index.rst b/docs/index.rst
index 959e781..97c62c8 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -235,6 +235,7 @@ Available formats
    kr.brn
    kr.rrn
    lei
+   li.peid
    lt.asmens
    lt.pvm
    lu.tva
@@ -270,6 +271,7 @@ Available formats
    py.ruc
    ro.cf
    ro.cnp
+   ro.cui
    ro.onrc
    rs.pib
    ru.inn
@@ -285,6 +287,8 @@ Available formats
    tr.tckimlik
    tr.vkn
    tw.ubn
+   ua.edrpou
+   ua.rntrc
    us.atin
    us.ein
    us.itin
diff --git a/docs/stdnum.li.peid.rst b/docs/stdnum.li.peid.rst
new file mode 100644
index 0000000..70ec351
--- /dev/null
+++ b/docs/stdnum.li.peid.rst
@@ -0,0 +1,5 @@
+stdnum.li.peid
+==============
+
+.. automodule:: stdnum.li.peid
+   :members:
diff --git a/docs/stdnum.ro.cui.rst b/docs/stdnum.ro.cui.rst
new file mode 100644
index 0000000..e46aa91
--- /dev/null
+++ b/docs/stdnum.ro.cui.rst
@@ -0,0 +1,5 @@
+stdnum.ro.cui
+=============
+
+.. automodule:: stdnum.ro.cui
+   :members:
diff --git a/docs/stdnum.ua.edrpou.rst b/docs/stdnum.ua.edrpou.rst
new file mode 100644
index 0000000..88c5c5d
--- /dev/null
+++ b/docs/stdnum.ua.edrpou.rst
@@ -0,0 +1,5 @@
+stdnum.ua.edrpou
+================
+
+.. automodule:: stdnum.ua.edrpou
+   :members:
diff --git a/docs/stdnum.ua.rntrc.rst b/docs/stdnum.ua.rntrc.rst
new file mode 100644
index 0000000..89e92a6
--- /dev/null
+++ b/docs/stdnum.ua.rntrc.rst
@@ -0,0 +1,5 @@
+stdnum.ua.rntrc
+===============
+
+.. automodule:: stdnum.ua.rntrc
+   :members:
diff --git a/stdnum/__init__.py b/stdnum/__init__.py
index 73646fb..6e1228d 100644
--- a/stdnum/__init__.py
+++ b/stdnum/__init__.py
@@ -1,7 +1,7 @@
 # __init__.py - main module
 # coding: utf-8
 #
-# Copyright (C) 2010-2020 Arthur de Jong
+# Copyright (C) 2010-2021 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.14'
+__version__ = '1.15'
diff --git a/tox.ini b/tox.ini
index d7ae91d..2b822c0 100644
--- a/tox.ini
+++ b/tox.ini
@@ -34,5 +34,5 @@ deps = flake8
 commands = flake8 stdnum tests update setup.py
 
 [testenv:docs]
-deps = Sphinx<3
+deps = Sphinx
 commands = sphinx-build -N -b html docs {envtmpdir}/sphinx -W

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

Summary of changes:
 ChangeLog                 | 170 ++++++++++++++++++++++++++++++++++++++++++++++
 NEWS                      |  21 ++++++
 README                    |   6 +-
 docs/conf.py              |   2 +
 docs/index.rst            |   4 ++
 docs/stdnum.li.peid.rst   |   5 ++
 docs/stdnum.ro.cui.rst    |   5 ++
 docs/stdnum.ua.edrpou.rst |   5 ++
 docs/stdnum.ua.rntrc.rst  |   5 ++
 stdnum/__init__.py        |   4 +-
 tox.ini                   |   2 +-
 11 files changed, 225 insertions(+), 4 deletions(-)
 create mode 100644 docs/stdnum.li.peid.rst
 create mode 100644 docs/stdnum.ro.cui.rst
 create mode 100644 docs/stdnum.ua.edrpou.rst
 create mode 100644 docs/stdnum.ua.rntrc.rst


hooks/post-receive
-- 
python-stdnum