Skip to main content

Generate valid UK NHS Numbers for testing

Project description

uk_national_health_service_number

PyPI Python

A Python package to generate valid UK NHS numbers using the official modulus-11 checksum algorithm for testing


✨ Features

  • ✅ Generate one or more valid NHS numbers
  • 📦 Easy-to-use Python API
  • 🧪 Includes unit tests

🚀 Installation

Install from PyPI:

pip install uk_national_health_service_number

---
## 🧪 Usage

### ▶️ In Python

Generate NHS numbers programmatically:

```python
from uk_national_health_service_number import NHSNumberGenerator

# Generate 3 NHS numbers
gen = NHSNumberGenerator(num_records=3)
numbers = gen.generate_uk_national_health_service_number()

for number in numbers:
    print(number)

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

uk_national_health_service_number-0.1.6.tar.gz (1.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file uk_national_health_service_number-0.1.6.tar.gz.

File metadata

File hashes

Hashes for uk_national_health_service_number-0.1.6.tar.gz
Algorithm Hash digest
SHA256 dd00f5d036e6498132116cb5a03b0ae2fb70dfa8f73b6f045c054285e78ceab9
MD5 bed1e5199cbfeb702b7f3138aa212fa7
BLAKE2b-256 1c1916ea99108b934e36513471c8ed972f2f61a71b2250970b9aa5d16965b68f

See more details on using hashes here.

File details

Details for the file uk_national_health_service_number-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for uk_national_health_service_number-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 774acaef5a177c317c3cf5e83582769b46482c611fc2895b83f0c81f805c0110
MD5 9b59d9443341db0524d502f53d4c1bcf
BLAKE2b-256 932dcb8385cc7f99eb0597cf103edabb6380e1a32aa82e5949148b1887befbd5

See more details on using hashes here.

Supported by

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