./misc/py-stdnum, Python module to handle standardized numbers and codes

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.9, Package name: py27-stdnum-1.9, Maintainer: pkgsrc-users

Parse, validate and reformat standard numbers and codes.

This library offers functions for parsing, validating and
reformatting standard numbers and codes in various formats.


Required to run:
[devel/py-setuptools] [lang/python27]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: fc9659bb5425ab521678e2ec1f5dc5c32afd795b
RMD160: 84e039ef4020381791c33beecac8fcfe553b9953
Filesize: 455.919 KB

Version history: (Expand)


CVS history: (Expand)


   2018-04-18 06:30:09 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
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-01-09 06:26:09 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
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-04 21:44:10 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
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
   2017-10-04 15:25:43 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
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-01-01 15:44:09 by Thomas Klausner | Files touched by this commit (577)
Log message:
Add python-3.6 to incompatible versions.
   2016-08-28 17:48:37 by Thomas Klausner | Files touched by this commit (112)
Log message:
Remove unnecessary PLIST_SUBST and FILES_SUBST that are now provided
by the infrastructure.

Mark a couple more packages as not ready for python-3.x.
   2016-08-18 19:00:39 by Richard PALO | Files touched by this commit (3) | Package updated
Log message:
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-07-09 15:04:18 by Thomas Klausner | Files touched by this commit (599)
Log message:
Remove python33: adapt all packages that refer to it.