Skip to main content

Yummy Email Or Username Insensitive Auth model backend for Django

PyPI version Tests pre-commit.ci status codecov Maintainability Code style: black

Instructions

  1. pip install yeouia
  2. Add AUTHENTICATION_BACKENDS = ['yeouia.backends.YummyEmailOrUsernameInsensitiveAuth'] to your settings.py
  3. Enjoy

Requirements

Tested for

  • Python 3.8, 3.9, 3.10
  • Django 2.2+

May work otherwise, but you should run tests :P

Case Insensitive ?

Django's default auth username is not case insensitive. (See #2273 and #25617)

But… Who cares ?

This backend tries:

  1. username, case sensitive
  2. username, case insensitive
  3. email, case insensitive

And follows #20760.

Metadata

Release files for yeouia 4.0.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 yeouia 4.0.0
File Size Uploaded
yeouia-4.0.0.tar.gz 3.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for yeouia 4.0.0
File Interpreter ABI Platform
yeouia-4.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.3 kB

Release files / yeouia-4.0.0.tar.gz

Download URL yeouia-4.0.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5b89d805dbd8dc3e209e87f9abe1465043175233cc689ddda858d392d929f2fa
BLAKE2b-256 checksum
How to use checksums
6657cfd56b520c90369abdba6c8f15cee74bbab24d58d669d703034e3292434c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.1 CPython/3.8.10 Linux/5.15.0-1020-azure

Release files / yeouia-4.0.0-py3-none-any.whl

Download URL yeouia-4.0.0-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e81ad0535cfa825d1c35cb95c927688cbd07b59a0b4f20aa0307ee8b72761d0c
BLAKE2b-256 checksum
How to use checksums
093ac24f2ebdc8b8fd19fb494dd6f53cfa079b78d9c761c438d0804e8cd7d504
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.1 CPython/3.8.10 Linux/5.15.0-1020-azure

Release history Release notifications | RSS feed

This release

4.0.0 This release

2 release files

3.0.1

2 release files

3.0.0

2 release files

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