Table of Contents
pip install digitz
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"
digitz
is distributed under the terms of the MIT license.