Commit graph

15 commits

Author SHA1 Message Date
adam
e9a39091e1 py-stdnum: updated to 1.17
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)
2021-11-07 14:43:37 +00:00
nia
28c1048bad misc: Replace RMD160 checksums with BLAKE2s checksums
All checksums have been double-checked against existing RMD160 and
SHA512 hashes

The following distfiles could not be fetched (possibly fetched
conditionally?):

./misc/libreoffice/distinfo libreoffice/harfbuzz-2.6.4.tar.xz
2021-10-26 10:58:55 +00:00
nia
60e6853f70 misc: Remove SHA1 hashes for distfiles 2021-10-07 14:35:11 +00:00
adam
189fa5e45f py-stdnum: updated to 1.16
changes from 1.15 to 1.16
-------------------------
* Support XI country code for Northern Ireland VAT numbers
* Switch data source for Austrian postal codes
* Fix Belarus VAT number online lookup


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)
  - ЄДРПОУ, EDRPOU (Identifier for enterprises and organizations in Ukraine)
  - РНОКПП, RNTRC (Individual taxpayer registration number in Ukraine)
* 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
2021-02-07 12:38:29 +00:00
adam
bc47d2d253 py-stdnum: updated to 1.14
changes from 1.13 to 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)
2020-08-10 06:55:46 +00:00
adam
926814e276 py-stdnum: updated to 1.13
changes from 1.12 to 1.13

* Add modules for the following number formats:
  - ESR, ISR, QR-reference (reference number on Swiss payment slips)
  - ID number (South African Identity Document number)

* Add format function for ISO 11649 numbers
* Add support for Python 3.8
* Clarify that the Italian Codice Fiscale can also be the IVA for companies
* Support the new Dutch btw-identificatienummer
* Extend test for Argentinian CUIT to check first two digits
* Add more country codes to ISIN


changes from 1.11 to 1.12

* Add modules for the following number formats:
  - NRT (Número de Registre Tributari, Andorra tax number)
  - CPF (Cédula de Persona Física, Costa Rica physical person ID number)
  - CPJ (Cédula de Persona Jurídica, Costa Rica tax number)
  - CR (Cédula de Residencia, Costa Rica foreigners ID number)
  - NIT (Número de Identificación Tributaria, Guatemala tax number)
  - Identity Number (Mispar Zehut, מספר זהות, Israeli identity number)
  - CN (法人番号, hōjin bangō, Japanese Corporate Number)
  - RRN (South Korean resident registration number)
  - IRD number (New Zealand Inland Revenue Department (Te Tari Tāke) number)
  - 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)
  - VKN (Vergi Kimlik Numarası, Turkish tax identification number)
  - RUT (Registro Único Tributario, Uruguay tax number)
  - RIF (Registro de Identificación Fiscal, Venezuelan VAT number)
  - TIN (South African Tax Identification Number)

* Support GTIN (EAN-14) validation as part of EAN
* Support Dominican Republic e-CF within NCF
* Fix Dominican Republic DGII lookups of NCF
* Fix German Handelsregisternummer to not confuse Hamburg with Homburg and to
  accept shorter numbers
* Support lookups of German Handelsregisternummer in OffeneRegister.de web
  service
* Handle - and + sign correctly in Swedish Personnummer
* Provide various personalid and vat aliases for existing numbers
* Improve descriptions of Spanish codes
* Fix handling and normalisation of various Unicode digit representations
2020-04-28 11:35:00 +00:00
adam
fc59ac043b py-stdnum: updated to 1.11
changes from 1.10 to 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)
  - New Zealand bank account number
  - Personnummer (Swedish personal identity number)
* Code style improvements
* Change Dominican Republic DGII check URL to HTTPS
* Support Ecuadorian Cedula and RUC of foreigners
* Add format() function for Argentinian CUIT number
* Support passing formatted numbers to all get_birth_date() and similar functions
* Handle Dominican Republic DGII lookup returning multiple entities
2019-03-11 14:00:08 +00:00
adam
1a23650e80 py-stdnum: updated to 1.10
changes from 1.9 to 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
2018-10-23 14:17:23 +00:00
adam
c80ddf40a9 py-stdnum: updated to 1.9
Changes from 1.8.1 to 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
* 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
* 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
2018-04-18 04:30:09 +00:00
adam
e86f173a39 py-stdnum: updated to 1.8.1
changes from 1.8 to 1.8.1
* fix a packaging issue in the long description
2018-01-09 05:26:09 +00:00
adam
fc1c291507 py-stdnum: updated to 1.8
changes from 1.7 to 1.8
* add modules for the following number formats:
 - NCF (Números de Comprobante Fiscal, Dominican Republic receipt number)
 - Euro banknote serial numbers
 - CAS RN (Chemical Abstracts Service Registry Number)
 - Aadhaar (Indian digital resident personal identity number)
   (thanks Srikanth Lakshmanan)
 - PAN (Permanent Account Number, Indian income tax identifier)
   (thanks Srikanth Lakshmanan)
* add functions for using the Dominican Republic DGII web service to validate
  and search for RNC and NCF numbers
* add/update whitelists for Dominican Republic RNC and Cedula
* support zeep as preferred SOAP library (suds and pysimplesoap are tried
  as fallback)
* rename stdnum.iso9362 to stdnum.bic (iso9362 is deprecated but still
  available for compatibility)
* add tests for web services (not normally run to avoid unnecessary load)
* fixes and improvement to the sample online validation service
2018-01-04 20:44:09 +00:00
adam
81becabd87 py-stdnum: update to 1.7
changes from 1.6 to 1.7:
* add modules for the following number formats:
  - BN (Canadian Business Number)
  - SIN (Canadian Social Insurance Number)
  - IdNr (Steuerliche Identifikationsnummer, German personal tax number)
    (thanks Mohammed Salman of Holvi)
  - Registrikood (Estonian organisation registration code)
    (thanks Mohammed Salman of Holvi)
  - Veronumero (Finnish individual tax number)
    (thanks Mohammed Salman of Holvi)
  - UPN (English Unique Pupil Number)
* fix a bug in the Czech DIČ check digit calculation
* fix conversion of 9 digit ISBN to ISBN13
* fix a bug in the Damm is_valid() function
* more validation of 13-digit ISBN values
* more validation of ISMN values
* various code and test improvements (100% branch coverage now)
* documentation improvements
2017-10-04 13:25:43 +00:00
richard
a1957d7d08 update to py-stdnum-1.4
changed depency on py-suds to documented fallback py-simplesoap
in order to support py3.

changes from 1.3 to 1.4
-----------------------

* add modules for the following number formats:
  - NIF (Numéro d'Immatriculation Fiscale, French tax identification number)
    provided by Dimitri Papadopoulos
  - NIR (French personal identification number) provided by Dimitri
    Papadopoulos
  - SIRET (a French company establishment identification number) provided by
    Yoann Aubineau
  - NHS (United Kingdom National Health Service patient identifier)
  - T.C. Kimlik No. (Turkish personal identification number)
* add an implementation of the Damm algorithm
* ensure data files are properly closed
* documentation improvements
* extend test suite
* a number of minor bug fixes and improvements


changes from 1.2 to 1.3
-----------------------

* fix ISO 6346 check digit calculation (thanks Ronald Paloschi)
* fix problem with check_vies_approx() (thanks Lionel Elie Mamane)
* fix problem with SOAP client when using suds
* include documentation that was previously on the Trac wiki


changes from 1.1 to 1.2
-----------------------

* add modules for the following number formats:
  - Austrian Company Register Numbers
  - CNPJ (Cadastro Nacional da Pessoa Jurídica, Brazillian company identifier)
  - UID (Unternehmens-Identifikationsnummer, Swiss business identifier)
  - VAT, MWST, TVA, IVA, TPV (Mehrwertsteuernummer, the Swiss VAT number)
  - CUSIP number (financial security identification number)
  - Wertpapierkennnummer (German securities identification code)
  - Isikukood (Estonian Personcal ID number)
  - Finnish Association Identifier
  - Y-tunnus (Finnish business identifier)
  - SEDOL number (Stock Exchange Daily Official List number)
  - IMO number (International Maritime Organization number)
  - ISIN (International Securities Identification Number)
  - RFC (Registro Federal de Contribuyentes, Mexican tax number)
  - PESEL (Polish national identification number)
  - REGON (Rejestr Gospodarki Narodowej, Polish register of economic units)
  - ИНН (Идентификационный номер налогоплательщика, Russian tax identifier)
* add an alternate VIES check (check_vies_approx()) that includes a proof
  (certificate) that the check was performed
* fall back to pysimplesoap if suds is unavailable
* test and code quality improvements


changes from 1.0 to 1.1
-----------------------

* add number formats based on the implementation in the vatnumber module:
  - NIPT (Numri i Identifikimit për Personin e Tatueshëm, Albanian VAT number)
  - CUIT (Código Único de Identificación Tributaria, Argentinian tax number)
  - RUT (Rol Único Tributario, Chilean national tax number)
  - NIT (Número De Identificación Tributaria, Colombian identity code)
  - COE (Codice operatore economico, San Marino national tax number)
* add modules for the following number formats:
  - Cedula (Dominican Republic national identification number)
  - RNC (Registro Nacional del Contribuyente, Dominican Republic tax number)
  - Kennitala (Icelandic personal and organisation identity code, provided by
    Tuomas Toivonen)
  - VSK number (Virðisaukaskattsnúmer, Icelandic VAT number, provided by
    Tuomas Toivonen)
  - ISO 9362 (Business identifier codes, provided by Tony Bajan)
  - MVA (Merverdiavgift, Norwegian VAT number, provided by Tuomas Toivonen)
  - Orgnr (Organisasjonsnummer, Norwegian organisation number, provided by
    Tuomas Toivonen)
  - Orgnr (Organisationsnummer, Swedish company number, provided by Tomas
    Thor Jonsson)
* add Croatia to list of EU VAT numbers
* update getcnloc script
* various small fixes and additional tests for existing modules
2016-08-18 17:00:38 +00:00
agc
23064a80b9 Add SHA512 digests for distfiles for misc category
Problems found locating distfiles:
	Package colorls: missing distfile ls.tar.gz
	Package molden: missing distfile molden-4.6/molden4.6.tar.gz
	Package softmaker-office-demo: missing distfile ofl06trial.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 23:49:31 +00:00
richard
d9ade8151f Add misc/py-stdnum
Parse, validate and reformat standard numbers and codes.

This library offers functions for parsing, validating and reformatting standard numbers and codes in various formats.
2014-03-31 08:42:47 +00:00