View Code? Open in Web Editor
NEW
Python package for validating, parsing and generating unique citizenship numbers in Bulgaria EGN (ЕГН).
Home Page: https://pypi.python.org/pypi/egn
License: GNU General Public License v3.0
egn's People
Contributors
egn's Issues
Тази празна функция обезмисля това да пишете, че могат да се генерират егн-та с вашето library.
at line 104:
year, month, day = int(dday[0:4]), int(dday[6:7]), int(dday[8:10])
should be
year, month, day = int(dday[0:4]), int(dday[5:7]), int(dday[8:10])
Best regards
В примера пише: egn.validate(123123123)
,
докато egn.validate()
приема str() аргументи.
Например: egn.validate("12242432423")