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.

Source Distribution

ucnumber-0.1.2.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

ucnumber-0.1.2-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file ucnumber-0.1.2.tar.gz.

File metadata

  • Download URL: ucnumber-0.1.2.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for ucnumber-0.1.2.tar.gz
Algorithm Hash digest
SHA256 1b7b1c06bb978af908ff67572238194017d51f832e25f123a93bf79abd64e12e
MD5 8ad3e54bb8d16430ddb29ad4c32a4f7b
BLAKE2b-256 f91bacd2424e7d3eb2dc30022e1476d4cfb4d594ac6cd5b47a80bd6e8522b429

See more details on using hashes here.

File details

Details for the file ucnumber-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: ucnumber-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

File hashes

Hashes for ucnumber-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1f8328e103ccbfd4f422bd3a80ff43b48cd9ec4af3db16f8ede89fbe4701a5cc
MD5 f486d47371154dc20ea05812ef60900b
BLAKE2b-256 ced57568c4930a735b9f6c3d55743facd834d9c8f8fd75b9a4cbcbf141d46a05

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page