Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/bg
Commit message (Collapse)AuthorAgeFilesLines
* Use an internal isdigits() function instead of str.isdigit()Arthur de Jong2019-04-293-6/+6
| | | | | | | | | | | The problem with the latter is that it will also accept all kinds of unicode digits that are not the ASCII 0-9 digits causing all kinds of problems in check digit calculations. Some of these unicode characters are also considered digits by int() but some are not (such as the SUPERSCRIPT TWO unicode character). Closes https://github.com/arthurdejong/python-stdnum/issues/96
* Call compact in get_birth_date() functionsArthur de Jong2019-01-291-1/+2
| | | | | | | This ensures that formatting characters are also removed when formatted numbers are passed to the get_birth_date() functions. Closes https://github.com/arthurdejong/python-stdnum/issues/94
* Minor code improvements (mostly PEP8)Arthur de Jong2017-09-111-1/+1
|
* Docstring improvementsArthur de Jong2017-09-113-16/+9
|
* Use zip() instead of enumerate()Arthur de Jong2015-10-053-6/+6
| | | | Makes the code slightly simpler and more compact.
* Fix common spelling mistakeArthur de Jong2014-11-011-1/+1
|
* Implement validate() for Bulgarian numbersArthur de Jong2013-06-083-47/+94
|
* re-add Python3 supportArthur de Jong2012-02-261-1/+1
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@174 9dea7c4f-944c-4273-ac1a-574ede026edc
* ensure that the module docstrings are in a somewhat more ↵Arthur de Jong2012-02-263-3/+3
| | | | | | usable format git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@165 9dea7c4f-944c-4273-ac1a-574ede026edc
* give all packages a descriptionArthur de Jong2012-02-191-0/+21
| | | | git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@152 9dea7c4f-944c-4273-ac1a-574ede026edc
* add a VAT (Идентификационен номер ↵Arthur de Jong2012-02-181-0/+79
| | | | | | по ДДС, Bulgarian VAT numbers) module git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@149 9dea7c4f-944c-4273-ac1a-574ede026edc
* add a PNF (ЛНЧ, Личен номер на ↵Arthur de Jong2012-02-181-0/+59
| | | | | | чужденец, Bulgarian personal number of a foreigner) module git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@148 9dea7c4f-944c-4273-ac1a-574ede026edc
* add an EGN (ЕГН, Единен граждански ↵Arthur de Jong2012-02-182-0/+89
номер, Bulgarian personal identity codes) module git-svn-id: http://arthurdejong.org/svn/python-stdnum/python-stdnum@147 9dea7c4f-944c-4273-ac1a-574ede026edc