Library to get canonical phone number
Project description
Canonical Phone
Purpose
Convert given phone number into a string with hiphenated phone number with country code. Default is assumed to be Indonesian number.
How to use?
from canonical_phone.phone import canonical_number
phone_no = canonical_number(phone) # If invalid, returns False
if not phone_no:
raise Exception("invalid phone number")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
canonical-phone-0.0.5.tar.gz
(1.8 kB
view hashes)
Built Distribution
Close
Hashes for canonical_phone-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65376e59ca46a35f4c7485dcab48a7618178c1ddc8380856c575ae42dde2b475 |
|
MD5 | 0cbe1e5a13bfa6493c4fdbd043fc14fa |
|
BLAKE2b-256 | eb78308d78a5a4faacfaa7e425bf11fadac8da142ba4b0ac94082f0b136a77ff |