$npx skillfedfor your agent

django-password-validators

Additional libraries for validating passwords in Django.

With conditionsPyPI SecurityReleased Dec 202390.8K downloads / moBSDPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — django_password_validators-1.7.3-py3-none-any.whl
v1.7.3 · released 2023-12-11 · 1 runtime deps: django

Yes, if you need password complexity or history validation beyond Django's defaults. The package is stable, has no vulnerabilities, and low install friction. However, dormant maintenance (no updates in 977 days) means you should verify compatibility with your Django version and be prepared to fork or patch if issues arise. Not necessary if Django's built-in validators meet your security requirements.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Django 3.2 or later and a database migration to store password history.
  • Low friction: pure Python wheel with only django as a runtime dependency.
  • Maintenance is dormant (last commit 2024-07-29, no updates in 977 days), but the package is marked Production/Stable and carries no known vulnerabilities.

License · maintenance · safety

BSD (permissive) — BSD permissive license means you can use, modify, and distribute this package freely in commercial and open-source projects with minimal restrictions.

last release 2023-12-11 (977 days) · last repo commit 2024-07-29 · 53 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 90,815 downloads/mo, #13,563 on PyPI

Verify before relying

pip install django-password-validators

# In settings.py:
INSTALLED_APPS = [
    'django_password_validators',
    'django_password_validators.password_history',
]

AUTH_PASSWORD_VALIDATORS = [
    {
        'NAME': 'django_password_validators.password_history.password_validation.UniquePasswordsValidator',
        'OPTIONS': {'last_passwords': 5}
    }
]

# Then: python manage.py migrate
  • Whether the package works with Django versions after 4.1 (latest documented example is 4.1).
  • Current test coverage and whether dormant status reflects lack of maintenance or stable maturity.
Same gist for agents: .md · .json

What it is and what it does

django-password-validators extends Django's built-in password validation framework with two main validators: UniquePasswordsValidator prevents users from reusing recent passwords (configurable history depth, with all hashes stored encrypted in the database), and PasswordCharacterValidator enforces minimum counts of specific character types (digits, letters, special characters, case variants) in new passwords.

The package integrates directly into Django's AUTH_PASSWORD_VALIDATORS setting and requires a database migration to track password history. It supports Python 3.7 through 3.12 and is classified as Production/Stable, though development has been dormant since mid-2024. No known vulnerabilities are recorded.

Use it for

  • Enforce password complexity rules (e.g., require 2 uppercase, 3 special chars) in Django admin or user registration.
  • Prevent users from cycling through a small set of passwords by blocking reuse of the last N passwords.
  • Meet compliance requirements (e.g., NIST, corporate policy) that mandate character-type diversity in passwords.
  • Add password history auditing by storing encrypted hashes of all or recent user passwords in the database.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need password complexity or history validation beyond Django's defaults.

The package is stable, has no vulnerabilities, and low install friction. However, dormant maintenance (no updates in 977 days) means you should verify compatibility with your Django version and be prepared to fork or patch if issues arise. Not necessary if Django's built-in validators meet your security requirements.

Install

django-password-validators on PyPI

Before you install

Low friction: pure Python wheel with only django as a runtime dependency. Maintenance is dormant (last commit 2024-07-29, no updates in 977 days), but the package is marked Production/Stable and carries no known vulnerabilities.

Requires Django 3.2 or later and a database migration to store password history.

License in practice

BSD permissive license means you can use, modify, and distribute this package freely in commercial and open-source projects with minimal restrictions.

Quickstart

pip install django-password-validators

# In settings.py:
INSTALLED_APPS = [
    'django_password_validators',
    'django_password_validators.password_history',
]

AUTH_PASSWORD_VALIDATORS = [
    {
        'NAME': 'django_password_validators.password_history.password_validation.UniquePasswordsValidator',
        'OPTIONS': {'last_passwords': 5}
    }
]

# Then: python manage.py migrate

Verify before relying

  • Whether the package works with Django versions after 4.1 (latest documented example is 4.1).
  • Current test coverage and whether dormant status reflects lack of maintenance or stable maturity.

Package facts

LicenseBSD permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
django
MaintenanceDormant 977 days since the last release
Last repo commit
First released
Downloads90,815 / month, #13,563 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Security

Evidence: django_password_validators-1.7.3-py3-none-any.whl

Tags

Capabilities
django password validationpassword history validatorcharacter requirements validatorprevent password reusedjango auth validatorspassword complexity rulesdjango security validators
Topics
django-authpassword-policycompliance
PyPI keywords
djangopasswordvalidator

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “django password validation”

Give your agent the search over MCP, or paste the wish link into any chat.

More Security packages

SecretStorage With conditions
PyPI · Python Modules · released Nov 2025

Provides Python bindings to the FreeDesktop.org Secret Service API for securely storing and retrieving passwords and secrets through GNOME Keyring, KWallet, or KeePassXC.

BSD-3-Clausepure Python · 3.10+aging
226.9Mdownloads / mo
msal Worth it
PyPI · Security · released May 2026

MSAL for Python handles OAuth2 and OpenID Connect authentication with Microsoft identity services, managing token acquisition, caching, and refresh for applications integrating with Microsoft Entra ID, Microsoft Accounts, and Azure AD B2C.

MITpure Python · 3.9+
223.0Mdownloads / mo
joserfc Worth it
PyPI · Security · released Jul 2026

joserfc implements JOSE standards (JWS, JWE, JWK, JWT, and related RFCs) for signing, encrypting, and managing JSON-based cryptographic tokens in Python.

BSD-3-Clausepure Python · 3.10+
155.5Mdownloads / mo
Authlib Worth it
PyPI · Security · released May 2026

Authlib provides a complete implementation of OAuth 1.0, OAuth 2.0, and OpenID Connect 1.0 for building both authentication clients and servers, with built-in support for JWS, JWK, JWA, and JWT standards.

BSD-3-Clausepure Python · 3.10+
155.1Mdownloads / mo
argon2-cffi-bindings With conditions
PyPI · Python Modules · released Jul 2025

Provides low-level CFFI bindings to the official Argon2 password hashing algorithm for use by libraries and applications that need direct access to Argon2 without higher-level abstractions.

MITcompiled wheel · 3.9+
74.2Mdownloads / mo
adal Skip
PyPI · Security · released Apr 2021

ADAL for Python authenticates applications with Azure Active Directory to obtain tokens for accessing Azure AD-protected resources.

Install only if maintaining existing code that already depends on it, and plan a migration.

MITpure Pythonabandoned
44.5Mdownloads / mo

See also pwned-passwords-django · validators · django-zxcvbn-password-validator · password-strength · validator-collection · dj-rest-auth · django-cleanup · django-decorator-include · django-localflavor · django-csp