Metadata-Version: 2.1
Name: digitz
Version: 0.2.0
Summary: Python phone numbers made easy.
Project-URL: Documentation, https://github.com/rykroon/digitz#readme
Project-URL: Issues, https://github.com/rykroon/digitz/issues
Project-URL: Source, https://github.com/rykroon/digitz
Author-email: Ryan Kroon <rykroon.tech@gmail.com>
License-Expression: MIT
License-File: LICENSE.txt
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=3.8
Requires-Dist: phonenumbers==8.*
Description-Content-Type: text/markdown

# digitz

[![PyPI - Version](https://img.shields.io/pypi/v/digitz.svg)](https://pypi.org/project/digitz)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/digitz.svg)](https://pypi.org/project/digitz)

-----

**Table of Contents**

- [Installation](#installation)
- [License](#license)

## Installation

```console
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](https://spdx.org/licenses/MIT.html) license.
