Skip to main content

Useful utilities for Pakistan (Phone numbers, CNIC, and more)

Project description

pakutils 🇵🇰

Pakistan Utilities Library

A clean, fast, and reliable Python package for handling Pakistani phone numbers, CNIC, and other Pakistan-specific utilities.


✨ Features

  • clean_phone() – Clean and normalize Pakistani phone numbers to 10 digits
  • is_valid_pak_phone() – Validate if a number is a valid Pakistani mobile number
  • format_phone() – Format numbers in standard Pakistani style (0300-1234567)

📦 Installation

pip install pakutils

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

pakutils-0.1.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

pakutils-0.1.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file pakutils-0.1.1.tar.gz.

File metadata

  • Download URL: pakutils-0.1.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for pakutils-0.1.1.tar.gz
Algorithm Hash digest
SHA256 09fbd1eed15f9d4ab2678a23b1a26a998fa1648d856ec303aa781084809d6532
MD5 c80ca8da3754042b7ca92cdaab84b439
BLAKE2b-256 e25341c30a39eb034c64b62c945d1c3a4ee15494529ca489bc052e92fba20ff3

See more details on using hashes here.

File details

Details for the file pakutils-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pakutils-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for pakutils-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 28370613d8f88c2744526bbb3a13a79005b958b487baf9ea992b75b52a0f9657
MD5 057c092f9989d6900adcc91142c84720
BLAKE2b-256 3fe24dfcc20de25c424a9d095d8c3174f5d896cfa072b08524d4efaa25a7aaac

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