Skip to main content

Validate UC alumni identifier numbers.

Project description

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

valid = validate('1263476J')

if validate(14644088):
  print('Is 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ucnumber, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size ucnumber-0.1.2.tar.gz (2.6 kB) File type Source Python version None Upload date Hashes View
Filename, size ucnumber-0.1.2-py3-none-any.whl (2.9 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page