Metadata-Version: 2.3 Name: django-otp Version: 1.5.4 Summary: A pluggable framework for adding two-factor authentication to Django using one-time passwords. Project-URL: Homepage, https://github.com/django-otp/django-otp Project-URL: Documentation, https://django-otp-official.readthedocs.io/ Author-email: Peter Sagerson License-Expression: Unlicense License-File: LICENSE Classifier: Development Status :: 5 - Production/Stable Classifier: Framework :: Django Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: The Unlicense (Unlicense) Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3 :: Only Classifier: Topic :: Security Classifier: Topic :: Software Development :: Libraries :: Python Modules Requires-Python: >=3.7 Requires-Dist: django>=3.2 Provides-Extra: qrcode Requires-Dist: qrcode; extra == 'qrcode' Provides-Extra: segno Requires-Dist: segno; extra == 'segno' Description-Content-Type: text/x-rst .. vim: tw=80 lbr django-otp ========== .. image:: https://img.shields.io/pypi/v/django-otp?color=blue :target: https://pypi.org/project/django-otp/ :alt: PyPI .. image:: https://img.shields.io/readthedocs/django-otp-official :target: https://django-otp-official.readthedocs.io/ :alt: Documentation .. image:: https://img.shields.io/badge/github-django--otp-green :target: https://github.com/django-otp/django-otp :alt: Source This project makes it easy to add support for `one-time passwords `_ (OTPs) to Django. It can be integrated at various levels, depending on how much customization is required. It integrates with ``django.contrib.auth``, although it is not a Django authentication backend. The primary target is developers wishing to incorporate OTPs into their Django projects as a form of `two-factor authentication `_. Several simple OTP plugins are included and more are available separately. This package also includes an implementation of OATH `HOTP `_ and `TOTP `_ for convenience, as these are standard OTP algorithms used by multiple plugins. If you're looking for a higher-level or more opinionated solution, you might be interested in `django-two-factor-auth `_. Status ------ This project is stable and maintained, but is no longer actively used by the author and is not seeing much ongoing investment. Well-formed issues and pull requests are welcome, but please see CONTRIBUTING.rst first. General questions and ideas should be directed to the Discussions section; issues should be reserved for confirmed bugs. .. end-of-doc-intro Development ----------- This project is built and managed with `hatch`_. If you don't have hatch, I recommend installing it with `pipx`_: ``pipx install hatch``. ``pyproject.toml`` defines several useful scripts for development and testing. The default environment includes all dev and test dependencies for quickly running tests. The ``test`` environment defines the test matrix for running the full validation suite. Everything is executed in the context of the Django project in test/test\_project. As a quick primer, hatch scripts can be run with ``hatch run [:]