Skip to main content

rwavalidator

Downloads Open Source Love Open Source Love

A fast minimal package to validate Rwandan National Ids and Phone Numbers(all carriers) using Regular Expressions.

Installation

The distribution is hosted on pypi at: https://pypi.org/project/rwavalidator/. To directly install the package from pypi, run from your terminal::

$ pip install rwavalidator

Usage


Validating Phone Numbers

from rwavalidator import (isPhoneNumber, isNationalId)

isPhoneNumber("0788854444"); # true
isPhoneNumber("0778854444"); # false

Validating National ID

isNationalId("1199672222000040"); # true
isNationalId("1201772222000040"); # false

Metadata

Release files for rwavalidator 0.0.4

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

Source distribution (sdist)

Source distribution for rwavalidator 0.0.4
File Size Uploaded Provenance Actions
rwavalidator-0.0.4.tar.gz 2.9 kB Without provenance Details for rwavalidator-0.0.4.tar.gz

Release files / rwavalidator-0.0.4.tar.gz

Download URL rwavalidator-0.0.4.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5a55ad607cf3ad32f6187cbcd1059f1081cd2e6c5c283ee45b45a4f81944a9db
BLAKE2b-256 checksum
How to use checksums
fc9e2f98be1f6d2a0de497b43ac5b14a9e0bbee7e0a23f5385353bfcd9eaa1db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.2

Security for rwavalidator 0.0.4

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