Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 872 Bytes

README.md

File metadata and controls

50 lines (33 loc) · 872 Bytes

UC number validator

lint

Validate UC alumni identifier numbers with 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