In this post today I am going to explaining about UC Number Validator to a validator to validate UC Alumni identifier numbers using python 3.
Getting started:
Install the library with:
pip install -U ucnumber
Usage:
from ucnumber import validate is_valid = validate("1263476J") if validate(14644088): print("It's valid!") # ...
Testing:
Run the test suite with:
python -m unittest tests
To install it locally from the source code:
python setup.py develop
Publish:
python setup.py register sdist upload