Skip to main content

Nepal License Checker (Python SDK)

Official zero-dependency Python SDK to check Nepal smart driving license print status via the mirrored Department of Transport Management (DOTM) database API.

Works on Python 3.8+ with zero external dependencies (uses standard library urllib).


Installation

pip install nepal-license-checker

Quickstart

from nepal_license_checker import check_license

# Basic usage (supports English or Nepali digits)
result = check_license("01-01-12345678")

if result["is_ready"]:
    print("License is printed and ready for pickup!")
    data = result["data"]
    print(f"Holder: {data.get('holder_name')}")
    print(f"Office: {data.get('office')}")
else:
    print("License is not printed yet.")

With API Key (Elevated 60 req/min limit)

from nepal_license_checker import check_license

result = check_license(
    "01-01-12345678",
    api_key="nlc_live_your_api_key_here"
)

if result["rate_limit"]:
    print(f"Remaining quota: {result['rate_limit']['remaining']}")

Offline Utilities

Format and validate license numbers locally without hitting the network:

from nepal_license_checker import (
    validate_license_number,
    format_license_number,
    devanagari_to_ascii_digits,
    ascii_to_devanagari_digits,
)

# Validation (returns True/False)
validate_license_number("01-01-12345678")  # True
validate_license_number("०१-०१-१२३४५६७८")  # True (Devanagari supported!)
validate_license_number("12345")           # False

# Auto-formatting
format_license_number("010112345678")      # "01-01-12345678"

# Devanagari conversion
devanagari_to_ascii_digits("०१-०२-१२३४")   # "01-02-1234"
ascii_to_devanagari_digits("01-02-1234")   # "०१-०२-१२३४"

License

MIT © Nischal Acharya

Metadata

Release files for nepal-license-checker 1.0.0

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

Source distribution (sdist)

Source distribution for nepal-license-checker 1.0.0
File Size Uploaded Provenance Actions
nepal_license_checker-1.0.0.tar.gz 4.9 kB Without provenance Details for nepal_license_checker-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nepal-license-checker 1.0.0
File Interpreter ABI Platform Actions
nepal_license_checker-1.0.0-py3-none-any.whl Python 3 none any Details for nepal_license_checker-1.0.0-py3-none-any.whl

Total release size: 10.1 kB

Release files / nepal_license_checker-1.0.0.tar.gz

Download URL nepal_license_checker-1.0.0.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8788eaf25e9741e30382bcd419ea1556da6f04d6f3695b33abc2d1ecf84ac283
BLAKE2b-256 checksum
How to use checksums
45158032a488c1fbbebff80ecd1e657fcbd4a1cff66ed74d26d84b6275deee7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / nepal_license_checker-1.0.0-py3-none-any.whl

Download URL nepal_license_checker-1.0.0-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a9de185811bc004041efaee8fbda1046349c80225528f52e13d0abc1778c9a94
BLAKE2b-256 checksum
How to use checksums
d991adb50dcf5dee2295507f4b5f6b0d5ffaf5424c3ab846f6caad9eaa66c6fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for nepal-license-checker 1.0.0

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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