Python phone numbers made easy.
Project description
digitz
Table of Contents
Installation
pip install digitz
Quickstart
from digitz import PhoneNumber
num = PhoneNumber.parse("+1 (202) 555-1234")
num.to_e164() == "+12025551234"
num.to_international() == "+1 202-555-1234"
num.to_rfc3966() == "tel:+1-202-555-1234"
num.region_code == "US"
num.get_country_name() == "United States"
num.get_country_name(lang="es") == "Estados Unidos"
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.2.0.tar.gz
(6.3 kB
view hashes)
Built Distribution
digitz-0.2.0-py3-none-any.whl
(6.1 kB
view hashes)