Metadata-Version: 2.4
Name: django-phonenumber-field
Version: 8.1.0
Summary: An international phone number field for django models.
Author-email: Stefan Foulis <stefan@foulis.ch>, François Freitag <mail@franek.fr>
Maintainer-email: François Freitag <mail@franek.fr>, Stefan Foulis <stefan@foulis.ch>
License: MIT
Project-URL: Homepage, https://github.com/stefanfoulis/django-phonenumber-field
Project-URL: Documentation, https://django-phonenumber-field.readthedocs.io/
Project-URL: Source, https://github.com/stefanfoulis/django-phonenumber-field
Project-URL: Tracker, https://github.com/stefanfoulis/django-phonenumber-field/issues/
Project-URL: Changelog, https://github.com/stefanfoulis/django-phonenumber-field/releases/
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: Django
Classifier: Framework :: Django :: 4.2
Classifier: Framework :: Django :: 5.0
Classifier: Framework :: Django :: 5.1
Classifier: Framework :: Django :: 5.2
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
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 :: 3.13
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Internet :: WWW/HTTP
Requires-Python: >=3.9
Description-Content-Type: text/x-rst
License-File: LICENSE
License-File: AUTHORS
Requires-Dist: Django>=4.2
Provides-Extra: phonenumbers
Requires-Dist: phonenumbers>=7.0.2; extra == "phonenumbers"
Provides-Extra: phonenumberslite
Requires-Dist: phonenumberslite>=7.0.2; extra == "phonenumberslite"
Dynamic: license-file

========================
django-phonenumber-field
========================

.. image:: https://github.com/stefanfoulis/django-phonenumber-field/workflows/Test/badge.svg
    :target: https://github.com/stefanfoulis/django-phonenumber-field/workflows/Test/badge.svg
.. image:: https://img.shields.io/coveralls/stefanfoulis/django-phonenumber-field/develop.svg
    :target: https://coveralls.io/github/stefanfoulis/django-phonenumber-field?branch=main

A Django library which interfaces with `python-phonenumbers`_ to validate, pretty print and convert
phone numbers. ``python-phonenumbers`` is a port of Google's `libphonenumber`_ library, which
powers Android's phone number handling.

.. _`python-phonenumbers`: https://github.com/daviddrysdale/python-phonenumbers
.. _`libphonenumber`: https://github.com/google/libphonenumber

Documentation
=============

https://django-phonenumber-field.readthedocs.io/

Running tests
=============

tox needs to be installed. To run the whole test matrix with the locally
available Python interpreters and generate a combined coverage report::

    tox

run a specific combination::

    tox -e py310-djmain,py39-djmain
