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)
  • get_pak_operator()New in v0.1.2 – Automatically detect the mobile operator (Jazz, Zong, Ufone, Telenor, SCO)

📦 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.2.tar.gz (4.5 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.2-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pakutils-0.1.2.tar.gz
  • Upload date:
  • Size: 4.5 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.2.tar.gz
Algorithm Hash digest
SHA256 7e8458dec4e42254c5223ac7c644955465a0d4081873463b6f8cad87f354ed0d
MD5 9a1fd1ef6317582fdc295de636f3cae7
BLAKE2b-256 415254788cd0ad075dbef9d53ac9c07fe66556b80e7e099c2000fa3778457431

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pakutils-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f0763ff8e26f0718f50213e8a2d10bf24e5b8028efd51428ad84b484386b3703
MD5 fd8f92fa8dc6d7201159664a7947e411
BLAKE2b-256 b477502d326bf0fa8952a8d562f086dc7f2147600e044b971d78fcfc89b0f90b

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