Metadata-Version: 2.4
Name: django-phonenumber-field
Version: 8.5.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/django-phonenumber-field/django-phonenumber-field
Project-URL: Documentation, https://django-phonenumber-field.readthedocs.io/
Project-URL: Source, https://github.com/django-phonenumber-field/django-phonenumber-field
Project-URL: Tracker, https://github.com/django-phonenumber-field/django-phonenumber-field/issues/
Project-URL: Changelog, https://github.com/django-phonenumber-field/django-phonenumber-field/releases/
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: Django
Classifier: Framework :: Django :: 4.2
Classifier: Framework :: Django :: 5.2
Classifier: Framework :: Django :: 6.0
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.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Internet :: WWW/HTTP
Requires-Python: >=3.10
Description-Content-Type: text/x-rst
License-File: LICENSE
License-File: AUTHORS
Requires-Dist: Django>=4.2
Provides-Extra: babel
Requires-Dist: Babel; extra == "babel"
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/django-phonenumber-field/django-phonenumber-field/workflows/Test/badge.svg
    :target: https://github.com/django-phonenumber-field/django-phonenumber-field/workflows/Test/badge.svg
.. image:: https://img.shields.io/coveralls/django-phonenumber-field/django-phonenumber-field/develop.svg
    :target: https://coveralls.io/github/django-phonenumber-field/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

The `cheat sheet for tox <https://tox.wiki/en/latest/user_guide.html#cli>`__
gives the most useful commands.
