VOOZH about

URL: https://pypi.org/project/djoser/

โ‡ฑ djoser ยท PyPI


Skip to main content

djoser 2.3.3

pip install djoser

Latest release

Released:

REST implementation of Django authentication system.

Navigation

Unverified details

These details have not been verified by PyPI
Project links
Meta

Project description

๐Ÿ‘ https://img.shields.io/pypi/v/djoser.svg
๐Ÿ‘ Build Status
๐Ÿ‘ https://codecov.io/gh/sunscrapers/djoser/branch/master/graph/badge.svg
๐Ÿ‘ https://img.shields.io/pypi/dm/djoser
๐Ÿ‘ Docs

REST implementation of Django authentication system. djoser library provides a set of Django Rest Framework views to handle basic actions such as registration, login, logout, password reset and account activation. It works with custom user model.

Supported features include:

  • Token-based authentication

  • JWT authentication

  • Social authentication

  • WebAuthn support

Instead of reusing Django code (e.g. PasswordResetForm), we reimplemented few things to fit better into Single Page App architecture.

Developed by SUNSCRAPERS with passion & patience.

๐Ÿ‘ https://asciinema.org/a/94J4eG2tSBD2iEfF30a6vGtXw.png

Requirements

To be able to run djoser you have to meet the following requirements:

  • Python>=3.9,<4.0 (including 3.10, 3.11, and 3.12)

  • Django>=3.0.0 (supporting Django 3.2 through 5.1)

  • Django REST Framework>=3.12

Installation

Simply install using pip:

$pipinstalldjoser

And continue with the steps described at configuration guide.

Documentation

Documentation is available to study at https://djoser.readthedocs.io and in docs directory.

Contributing and development

To start developing on djoser, clone the repository:

$gitclonegit@github.com:sunscrapers/djoser.git

We use poetry as dependency management and packaging tool.

$cddjoser$poetryinstall--all-extras

This will create a virtualenv with all development dependencies.

To run the test just type:

$poetryrunpytest

We also prepared a convenient Makefile to automate commands above:

$makeinit$maketest

To activate the virtual environment run

$poetryshell

Without poetry

New versions of pip can use pyproject.toml to build the package and install its dependencies.

$pipinstall.[test]
$cdtestproject$./manage.pytest

Example project

You can also play with test project by running following commands:

$makemigrate$makerunserver

Commiting your code

Before sending patches please make sure you have pre-commit activated in your local git repository:

$poetryrunpre-commitinstall

This will ensure that your code is cleaned before you commit it. The pre-commit hooks will run:

  • Black (code formatting)

  • Ruff (linting)

  • Docformatter (docstring formatting)

  • Other quality checks

Similar projects

List of projects related to Django, REST and authentication:

Please, keep in mind that while using custom authentication and TokenCreateSerializer validation, there is a path that ignores intentional return of None from authenticate() and try to find User using parameters. Probably, that will be changed in the future.

Project details

Unverified details

These details have not been verified by PyPI
Project links
Meta

Release history Release notifications | RSS feed

Download files

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

Source Distribution

djoser-2.3.3.tar.gz (35.0 kB view details)

Uploaded Source

Built Distribution

Filter files by name, interpreter, ABI, and platform.

If you're not sure about the file name format, learn more about wheel file names.

Copy a direct link to the current filters

djoser-2.3.3-py3-none-any.whl (71.9 kB view details)

Uploaded Python 3

File details

Details for the file djoser-2.3.3.tar.gz.

File metadata

  • Download URL: djoser-2.3.3.tar.gz
  • Upload date:
  • Size: 35.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.3 Linux/6.11.0-1018-azure

File hashes

Hashes for djoser-2.3.3.tar.gz
Algorithm Hash digest
SHA256 6ceeea9898cbdd585f1daa1ee9d46270600c0401dcd2d1db6f7894782006f6a6
MD5 df5b41dc4d5a37bdd5e97df59236f2b7
BLAKE2b-256 35bc8931752c12ddc987fc0c729e9b675e2f72e37ebd82f7ca31a10f287de045

See more details on using hashes here.

File details

Details for the file djoser-2.3.3-py3-none-any.whl.

File metadata

  • Download URL: djoser-2.3.3-py3-none-any.whl
  • Upload date:
  • Size: 71.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.12.3 Linux/6.11.0-1018-azure

File hashes

Hashes for djoser-2.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b97d233b626c26ebccb09f5614420873ad78b8b1fb1459c76475b05319bae567
MD5 1ae9e4332b96b3f456ffb6cbb6899fde
BLAKE2b-256 01b3f51273281172ff233a8c16df916282d75502dbc6a06b9b5d01ed3039f8ed

See more details on using hashes here.

Supported by

๐Ÿ‘ Image
AWS Cloud computing and Security Sponsor ๐Ÿ‘ Image
Datadog Monitoring ๐Ÿ‘ Image
Depot Continuous Integration ๐Ÿ‘ Image
Fastly CDN ๐Ÿ‘ Image
Google Download Analytics ๐Ÿ‘ Image
Pingdom Monitoring ๐Ÿ‘ Image
Sentry Error logging ๐Ÿ‘ Image
StatusPage Status page