Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

Rest extension of PyOTP python library, Here OTP generation and Verification is done via DRF APIs.

Project Description
  • This library uses PyOTP library for generating and verifying one-time passwords.Here OTP generation and Verification is done via DRF APIs.
  • The main focus is to open an API for OTP Generation & Verification.
  • Supports Python2.7+, Django 1.8+

Installation

pip install drf-pyotp

Usage

  • Add rest_pyotp app in your installed apps:

    INSTALLED_APPS = (
         ...
         'rest_pyotp',
     )
    
  • Run migrations using:

    python manage.py migrate
    
  • Add Urls in your url file:

    url(r'', include('rest_pyotp.routers', namespace='rest-pyotp-urls')),
    

APIs

  • I have used swagger-spec for documenting APIs. You can find out APIs swagger docs here

Contribution

  • If anyone wish to contribute in improving this library then he is most welcome, due credit will be given to every individual.
Release History

Release History

This version
History Node

0.5.5

History Node

0.5.4

History Node

0.2.0

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
drf-pyotp-0.5.5.tar.gz (8.9 kB) Copy SHA256 Checksum SHA256 Source May 31, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting