Skip to main content

Build Status codecov Total alerts Language grade: Python Code style: black pre-commit.ci status Documentation Status Documentation Coverage

Django REST Framework - User


User APP for Django REST Framework with API Views.

DRF User is a Django app that overrides default user app to provide additional attributes and functionalities. The current stable version includes:

  • JWT Support (Using Simple JWT)
  • Mobile Number
  • Single field for full name
  • REST API to register
  • REST API to login
  • MultiModelBackend: User can login using either of mobile, email or username
  • REST API to login with OTP (Same API endpoint as for OTP Verification; Set is_login: true while sending JSON request)
  • OTP Verification for mobile and email
  • API to register / login with OTP (no pre-registration required)
  • API to set user's profile image
  • Mail sending feature upon successful registration
  • SMS sending feature upon successful registration
  • Change Password
  • Update Profile
  • Generic Configuration based on settings.py
  • Signal based mails
  • Mail based activation (optional alternative for OTP based activation)
  • Social Auth Endpoints(Login using fb/google) (WIP)

Documentation


Example


To get the example project running do:

  • Clone this repo
    $ git clone https://github.com/101Loop/drf-user.git
    
  • Go to example folder in newly created directory drf-user
    $ cd drf-user/example
    
  • Create and activate virtual environment.
  • Install requirements
    (.venv) $ pip install -r requirements.txt
    
  • Run testing server:
    (.venv) $ python manage.py runserver
    

Take a look at http://localhost:8000/swagger. Swagger will list all the APIs of drf-user.

Contributing


  • For help and support please reach out to us on Slack.

Metadata

Release files for drf-user 1.1.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 drf-user 1.1.0
File Size Uploaded Provenance Actions
drf_user-1.1.0.tar.gz 220.7 kB Without provenance Details for drf_user-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for drf-user 1.1.0
File Interpreter ABI Platform Actions
drf_user-1.1.0-py3-none-any.whl Python 3 none any Details for drf_user-1.1.0-py3-none-any.whl

Total release size: 258.9 kB

Release files / drf_user-1.1.0.tar.gz

Download URL drf_user-1.1.0.tar.gz
Size 220.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5bf113810d4415492901d7c3fe1c8952548c348c829061cd17c8c9c6d3a04bf0
BLAKE2b-256 checksum
How to use checksums
3031be4841a2ecc14856bca9c3cc3fd631beca65b566bb9dc04f781912e59bb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release files / drf_user-1.1.0-py3-none-any.whl

Download URL drf_user-1.1.0-py3-none-any.whl
Size 38.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8223219030763f2834d3e3118d56c60c45dfb7706034efb91e36131b41a5ee77
BLAKE2b-256 checksum
How to use checksums
3b55e24f35d9ea4f2be70fa2f8ffd35559488fe815b590892213fdb01cff0b6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Security for drf-user 1.1.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