arthurdejong / python-stdnum

A Python library to provide functions to handle, parse and validate standard numbers.
https://arthurdejong.org/python-stdnum/
GNU Lesser General Public License v2.1
499 stars 208 forks source link

Add support for Egypt TIN #334

Closed unho closed 1 year ago

unho commented 1 year ago

Closes #225.

arthurdejong commented 1 year ago

Sorry it took so long but I merged this with a small fix to the compact() function for Python 2.7 in 6d366e3. It is not ideal because there is no clear description of the number I could find (but that is probably also due to my not being able to grasp Arabic) and the lack of validation of a checksum or check digit but the presence of the conversion still is useful.

unho commented 1 year ago

For this particular PR there was something that didn't work with the CI that I was unable to figure out. Thank you very much for fixing that glitch and merging this.