Python phone numbers made easy.
Project description
digitz
Table of Contents
Installation
pip install digitz
Quickstart
from digitz import PhoneNumber
num = PhoneNumber.parse("+1 (201) 555-0123")
num.region_code == "US"
num.is_possible() == True
num.to_e164() == "+12015550123"
num.to_international() == "+1 201-555-0123"
num.to_rfc3966() == "tel:+1-201-555-0123"
License
digitz
is distributed under the terms of the MIT license.
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
digitz-0.3.0.tar.gz
(6.6 kB
view hashes)