Skip to main content

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

Metadata

Release files for ucnumber 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ucnumber 0.1.2
File Size Uploaded Provenance
ucnumber-0.1.2.tar.gz 2.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ucnumber 0.1.2
File Interpreter ABI Platform
ucnumber-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 5.5 kB

Release files / ucnumber-0.1.2.tar.gz

Download URL ucnumber-0.1.2.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1b7b1c06bb978af908ff67572238194017d51f832e25f123a93bf79abd64e12e
BLAKE2b-256 checksum
How to use checksums
f91bacd2424e7d3eb2dc30022e1476d4cfb4d594ac6cd5b47a80bd6e8522b429
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / ucnumber-0.1.2-py3-none-any.whl

Download URL ucnumber-0.1.2-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1f8328e103ccbfd4f422bd3a80ff43b48cd9ec4af3db16f8ede89fbe4701a5cc
BLAKE2b-256 checksum
How to use checksums
ced57568c4930a735b9f6c3d55743facd834d9c8f8fd75b9a4cbcbf141d46a05
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for ucnumber 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page