Skip to main content
https://deux.readthedocs.io/en/latest/_images/deux_banner.png

Build status Code Coverage BSD License Deux can be installed via wheel Supported Python versions. Support Python implementations.

Version:

1.2.0

Web:

https://deux.readthedocs.org/

Download:

https://pypi.python.org/pypi/deux

Source:

https://github.com/robinhood/deux

Keywords:

authentication, two-factor, multifactor

About

Multifactor Authentication provides multifactor authentication integration for the Django Rest Framework. It integrates with Token Authentication built into DRF and OAuth2 provided by django-oauth-toolkit.

What is Multifactor Authentication?

Multifactor Authentication (MFA) is a security system that requires more than one method of authentication from independent categories of credentials to verify the user’s identity for a login or other transaction. (Source: SearchSecurity)

Installation

You can install deux either via the Python Package Index (PyPI) or from source.

Requirements

deux version 1.2.0 runs on Python (2.7, 3.4, 3.5).

Installing with pip

To install using pip:

$ pip install -U deux

Downloading and installing from source

Download the latest version of deux from http://pypi.python.org/pypi/deux

You can install it by doing the following:

$ tar xvfz deux-0.0.0.tar.gz
$ cd deux-0.0.0
$ python setup.py build
# python setup.py install

The last command must be executed as a privileged user if you are not currently using a virtualenv.

Using the development version

With pip

You can install it by doing the following:

$ pip install https://github.com/robinhood/deux/zipball/master#egg=deux

Metadata

Release files for deux 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deux 1.2.0
File Size Uploaded Provenance Actions
deux-1.2.0.tar.gz 646.8 kB Without provenance Details for deux-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for deux 1.2.0
File Interpreter ABI Platform Actions
deux-1.2.0-py2.py3-none-any.whl Python 3, Python 2 none any Details for deux-1.2.0-py2.py3-none-any.whl

Total release size: 682.1 kB

Release files / deux-1.2.0.tar.gz

Download URL deux-1.2.0.tar.gz
Size 646.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d9c44e45f6f69a1c42f233f3aee04a2de4e9b20c04ff607d4691147d9564a9da
BLAKE2b-256 checksum
How to use checksums
723222b35ddaa7fc33e5f64af420510b9133f6f92554bef6040c58ae28e27c59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / deux-1.2.0-py2.py3-none-any.whl

Download URL deux-1.2.0-py2.py3-none-any.whl
Size 35.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
946091599da4d1e50c6837be79e4e7c492f0fabded6a69b35366b945b226af85
BLAKE2b-256 checksum
How to use checksums
28643923d8a633c8c3d51d39c3d690228f6e931f7cad223ce3aea4e77093e48d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for deux 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page