Python-stdnum

Latest version: v1.20

Safety actively analyzes 629052 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 6

1.14

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

* Add modules for the following number formats:

- УНП, UNP (Учетный номер плательщика, the Belarus VAT number)
- AIC (Italian code for identification of drugs) (thanks Fabrizio Montanari)
- Company Number (מספר חברה, or short ח.פ. Israeli company number)
(thanks Leandro Regueiro)
- NIT (Número de Identificación Tributaria, El Salvador tax number)
(thanks Leandro Regueiro)
- USCC (Unified Social Credit Code, 统一社会信用代码, China tax number)
(thanks Leandro Regueiro)
- UEN (Singapore's Unique Entity Number) (thanks Leandro Regueiro)
- BRN (사업자 등록 번호, South Korea Business Registration Number)
(thanks Leandro Regueiro)
- MST (Mã số thuế, Vietnam tax number) (thanks Leandro Regueiro)
- NPWP (Nomor Pokok Wajib Pajak, Indonesian VAT Number)
(thanks Leandro Regueiro)
- UBN (Unified Business Number, 統一編號, Taiwanese tax number)
(thanks Leandro Regueiro)
- UTR (United Kingdom Unique Taxpayer Reference) (thanks Mohammed Salman)
- ONRC (Ordine din Registrul Comerţului, Romanian Trade Register identifier)
(thanks dotbit1)
- GS1-128 (Standard to encode product information in Code 128 barcodes)
(thanks Sergi Almacellas Abellana)
- VATIN (International value added tax identification number)
(thanks Leandro Regueiro)

* Fix missing Dominican Republic NCF document types (thanks Gustavo Valverde)
* Fix issue with extra plus or minus in Swedish Personnummer
(thanks balderman)
* Update Dominican Republic DGII endpoint (thanks Gustavo Valverde)
* Support validating temporary Finnish personal identity codes
(thanks Aleksi Hoffman)
* Fix misleading docstring in se.personnummer.get_birth_date()
(thanks Leon Sandøy)
* Improve birth date validation in Danish CPR (thanks Leon Sandøy)
* Add birth date validating in Norwegian Fødselsnummer (thanks Leon Sandøy)
* Add missing vat aliases for a number of countries (thanks Leandro Regueiro)
* Use HTTPS instead of HTTP fox VIES lookups (thanks grzekru)
* Switch to HTTPS URLs where possible
* Support 6 as third digit in Ecuadorian CI (thanks Christopher Ormaza)
* Add an online check for South Korean BRN
* Fix unescaping in Dominican Republic RNC online check (thanks evaldez89)
* Support foreign residents for Romanian CNP (thanks dotbit1)

1.13

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

* Add modules for the following number formats:

- ESR, ISR, QR-reference (reference number on Swiss payment slips)
(thanks Kurt Keller)
- ID number (South African Identity Document number)

* Add format function for ISO 11649 numbers (thanks Kurt Keller)
* Add support for Python 3.8 (thanks Sergi Almacellas Abellana)
* Clarify that the Italian Codice Fiscale can also be the IVA for companies
(thanks Nicholas Fiorentini)
* Support the new Dutch btw-identificatienummer (thanks Cas Vissers,
Jeroen van Heiningen, Jerome Hanke, Nicolas Martinelli, Ronald Portier and
Tim Muller)
* Extend test for Argentinian CUIT to check first two digits
* Add more country codes to ISIN (thanks nocluebutalotofit, Anwar Baroudi and
alexbond73)

1.12

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

* Add modules for the following number formats:

- NRT (Número de Registre Tributari, Andorra tax number)
(thanks Leandro Regueiro)
- CPF (Cédula de Persona Física, Costa Rica physical person ID number)
(thanks Leandro Regueiro)
- CPJ (Cédula de Persona Jurídica, Costa Rica tax number)
(thanks Leandro Regueiro)
- CR (Cédula de Residencia, Costa Rica foreigners ID number)
(thanks Leandro Regueiro)
- NIT (Número de Identificación Tributaria, Guatemala tax number)
(thanks Leandro Regueiro)
- Identity Number (Mispar Zehut, מספר זהות, Israeli identity number)
- CN (法人番号, hōjin bangō, Japanese Corporate Number)
(thanks Alan Hettinger)
- RRN (South Korean resident registration number)
(thanks Dimitri Papadopoulos)
- IRD number (New Zealand Inland Revenue Department (Te Tari Tāke) number)
(thanks Leandro Regueiro)
- CUI (Cédula Única de Identidad, Peruvian identity number)
- RUC (Registro Único de Contribuyentes, Peruvian company tax number)
- RUC number (Registro Único de Contribuyentes, Paraguay tax number)
(thanks Leandro Regueiro)
- VKN (Vergi Kimlik Numarası, Turkish tax identification number)
(thanks Leandro Regueiro)
- RUT (Registro Único Tributario, Uruguay tax number)
(Leandro Regueiro)
- RIF (Registro de Identificación Fiscal, Venezuelan VAT number)
(thanks Kevin Kaiser)
- TIN (South African Tax Identification Number) (thanks Leandro Regueiro)

* Support GTIN (EAN-14) validation as part of EAN
(thanks Sergi Almacellas Abellana)
* Support Dominican Republic e-CF within NCF (thanks Jeffry Jesus De La Rosa)
* Fix Dominican Republic DGII lookups of NCF (thanks Jeffry Jesus De La Rosa)
* Fix German Handelsregisternummer to not confuse Hamburg with Homburg and to
accept shorter numbers (thanks Kevin Kaiser)
* Support lookups of German Handelsregisternummer in OffeneRegister.de web
service
* Handle - and + sign correctly in Swedish Personnummer
(thanks Amin Solhizadeh)
* Provide various personalid and vat aliases for existing numbers
(thanks Andreas Häber)
* Improve descriptions of Spanish codes (thanks Gerard Dalmau)
* Fix handling and normalisation of various Unicode digit representations
(thanks Helge Munk Jacobsen)

1.11

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

* Add modules for the following number formats:

- DNI (Documento Nacional de Identidad, Argentinian national identity nr.)
- VNR, SVNR, VSNR (Versicherungsnummer, Austrian social security number)
- NI (Número de identidad, Cuban identity card numbers)
- AMKA (Αριθμός Μητρώου Κοινωνικής Ασφάλισης, Greek social security number)
- Asmens kodas (Lithuanian, personal numbers)
- MAC address (Media Access Control address)
- IDNO (Moldavian company identification number)
- CURP (Clave Única de Registro de Población, Mexican personal ID)
- Fødselsnummer (Norwegian birth number, the national identity number) (thanks Ilya Vihtinsky)
- New Zealand bank account number
- Personnummer (Swedish personal identity number) (thanks Ilya Vihtinsky)

* Code style improvements
* Change Dominican Republic DGII check URL to HTTPS (thanks Gustavo Valverde)
* Support Ecuadorian Cedula and RUC of foreigners (thanks Christopher Ormaza)
* Add format() function for Argentinian CUIT number (thanks Mario Puntin)
* Support passing formatted numbers to all get_birth_date() and similar functions
* Handle Dominican Republic DGII lookup returning multiple entities (thanks Andrés R)

1.10

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

* Add modules for the following number formats:

- Bitcoin address
- ISO 11649 (Structured Creditor Reference)
- ID number (Mauritian national identifier)
- Norwegian IBAN (International Bank Account Number)
- Konto nr. (Norwegian bank account number)

* Fix a bug in handling of Mexican tax numbers
* Improve Spanish CIF and NIF validation
* Update Dominican Republic NCF numbers online check
* Improve Unicode conversion for bytestrings
* Improvements to some corner cases in IBAN validation
* Documentation improvements
* Add stdnum.ru.vat as an alias for stdnum.ru.inn

1.9

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

* Add modules for the following number formats:

- Postleitzahl (Austrian postal code)
- Abgabenkontonummer (Austrian tax identification number)
- Belgian IBAN (International Bank Account Number)
- Handelsregisternummer (German company register number)
- St.-Nr. (Steuernummer, German tax number)
- FIGI (Financial Instrument Global Identifier)
- Montenegro IBAN (International Bank Account Number)

* Have documentation rebuilt reproducibly (thanks Chris Lamb)
* Allow configuring the SOAP request timeout
* Support spaces in ISO 9362 (SWIFT) BIC codes
* Add check_dgii() to stdnum.do.cedula module
* Add validation for "individual" part of hetu (thanks Esa Halsti)
* Support new style of Dominican Republic NCF numbers
* Fix issue when using PySimpleSOAP for DGII lookups
* Fix an issue in splitting certain IMSI values
* Support building a universal wheel
* Documentation and code style improvements

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.