Skip to content

Commit

Permalink
Get files ready for 1.17 release
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurdejong committed Oct 3, 2021
1 parent 0779d6a commit 50650a9
Show file tree
Hide file tree
Showing 13 changed files with 343 additions and 2 deletions.
251 changes: 251 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,254 @@
2021-10-03 Arthur de Jong <[email protected]>

* [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 <[email protected]>

* [61ebc9c] stdnum/no/orgnr.py: Add documentation for Norwegian
Organisasjonsnummer

2021-10-03 Arthur de Jong <[email protected]>

* [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 <[email protected]>

* [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 <[email protected]>

* [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 <[email protected]>

* [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 <[email protected]>

* [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 <[email protected]>

* [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 <[email protected]>

* [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 <[email protected]>

* [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 <[email protected]>

* [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 <[email protected]>

* [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é <[email protected]>

* [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
<[email protected]>

* [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
<[email protected]>

* [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
<[email protected]>

* [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
<[email protected]>

* [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 <[email protected]>

* [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 <[email protected]>

* [4c51860] stdnum/do/ncf.py: Add new e-CF types to Dominican
Republic NCF

2021-01-18 Andres Rodriguez <[email protected]>

* [48e6502] stdnum/do/ncf.py: Fix parsing of empty fields in
DGII checking

2020-12-11 Cristopher Ortega <[email protected]>

* [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
<[email protected]>

* [eeaf665] stdnum/fr/nif.py: Improve French NIF validation

Closes https://github.com/arthurdejong/python-stdnum/pull/266

2021-07-12 Arthur de Jong <[email protected]>

* [e2a95fc] .github/workflows/test.yml: Configure CodeQL code
scanning

2021-07-18 Arthur de Jong <[email protected]>

* [175b1e5] stdnum/exceptions.py: Ignore N818 because our exceptions
are not named error

2021-04-11 Arthur de Jong <[email protected]>

* [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 <[email protected]>

* [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 <[email protected]>

* [7e69090] docs/index.rst: Fix typo

Closes https://github.com/arthurdejong/python-stdnum/pull/258

2021-03-21 Arthur de Jong <[email protected]>

* [5785afb] .github/workflows/test.yml, .travis.yml: Replace Travis
with GitHub actions

2021-03-21 Arthur de Jong <[email protected]>

* [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 <[email protected]>

* [075d85e] ChangeLog, NEWS, stdnum/__init__.py: Get files ready
for 1.16 release

2021-02-06 Arthur de Jong <[email protected]>

* [fad3064] stdnum/by/portal.nalog.gov.by.crt: Add Let's Encrypt
Expand Down
34 changes: 34 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -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
-------------------------

Expand Down
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down Expand Up @@ -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)
Expand All @@ -179,13 +183,17 @@ 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)
* IČ DPH (IČ pre daň z pridanej hodnoty, Slovak VAT number)
* 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)
Expand Down
8 changes: 8 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ Available formats
imo
imsi
in_.aadhaar
in_.epic
in_.gstin
in_.pan
is_.kennitala
is_.vsk
Expand All @@ -227,6 +229,7 @@ Available formats
ismn
iso11649
iso6346
isrc
issn
it.aic
it.codicefiscale
Expand Down Expand Up @@ -267,6 +270,7 @@ Available formats
pl.nip
pl.pesel
pl.regon
pt.cc
pt.nif
py.ruc
ro.cf
Expand All @@ -277,13 +281,17 @@ Available formats
ru.inn
se.orgnr
se.personnummer
se.postnummer
se.vat
sg.uen
si.ddv
sk.dph
sk.rc
sm.coe
sv.nit
th.moa
th.pin
th.tin
tr.tckimlik
tr.vkn
tw.ubn
Expand Down
5 changes: 5 additions & 0 deletions docs/stdnum.in_.epic.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
stdnum.in\_.epic
================

.. automodule:: stdnum.in_.epic
:members:
5 changes: 5 additions & 0 deletions docs/stdnum.in_.gstin.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
stdnum.in\_.gstin
=================

.. automodule:: stdnum.in_.gstin
:members:
Loading

0 comments on commit 50650a9

Please sign in to comment.