Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/es/referenciacatastral.py
Commit message (Collapse)AuthorAgeFilesLines
* Minor code improvements (mostly PEP8)Arthur de Jong2017-09-111-2/+1
|
* Docstring improvementsArthur de Jong2017-09-111-4/+4
|
* Add test for Ñ in Referencia CatastralArthur de Jong2017-04-011-4/+13
| | | | | | | | | | | This supports the Referencia Catastral with an Ñ in it for both byte strings (Python 2) and unicode strings (Python 2 and 3). Support for literal unicode strings in Python 2 doctests is flaky so the test is a bit ugly. This also adds a few numbers that were found online. Sadly no real numbers with an Ñ in it have been found so the one in the test was constructed.
* Add reference to Referencia Catastral implementationArthur de Jong2016-09-101-0/+4
|
* Add Spansih Referencia CatastralDavid García Garzón2016-09-101-0/+114
The control digit check algorithm is based on Javascript implementation by Vicente Sancho that can be found at http://trellat.es/validar-la-referencia-catastral-en-javascript/ See https://github.com/arthurdejong/python-stdnum/pull/38