password-strength
Password strength and validation
Decision gist · record as of 2026-08-14
No. The package is abandoned (last updated 2019, repository archived) with no maintenance or security patches forthcoming. While it has low install friction and a permissive license, relying on unmaintained password validation code poses a security and compatibility risk. For new projects, use an actively maintained alternative; for legacy systems already using it, plan a migration.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with a single lightweight dependency (six).
- However, the package is abandoned—last release was in 2019 and the repository was archived after 2779 days without updates.
- No active maintenance or security patches should be expected.
License · maintenance · safety
BSD (permissive) — Licensed under BSD (permissive), which allows commercial and private use with minimal restrictions. No copyleft obligations.
last release 2019-01-04 (2779 days) · last repo commit 2020-06-05 · 73 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 201,864 downloads/mo, #9,659 on PyPI
Alternatives
Verify before relying
from password_strength import PasswordPolicy
policy = PasswordPolicy.from_names(length=8, uppercase=2, numbers=2, special=2)
results = policy.test('ABcd12!@')
print(results) # [] means password passes- Whether the package's password strength algorithm remains cryptographically sound by modern standards, given its age and lack of maintenance.
- Compatibility with current Python versions beyond the unspecified support declaration.
What it is and what it does
password-strength provides a PasswordPolicy object that lets you define and enforce password requirements—minimum length, required character types (uppercase, numbers, special characters), non-letter counts, and entropy bits. It also offers PasswordStats to analyze a password's complexity on a 0.00–0.99 scale, where 0.66 and above indicates a strong password. You create a policy once, then call .test() on candidate passwords to get back a list of failed tests, or use .strength() to get a numeric complexity score.
The package supports both rule-based validation ("must have 2 uppercase and 2 special characters") and entropy-based validation ("must have 30 entropy bits"), as well as a strength-score approach that accounts for character variety and alphabet size. It handles Unicode passwords, including international character sets.
Use it for
- Enforce password requirements during user registration or password-change flows in a web application.
- Score and display real-time password strength feedback to users as they type a new password.
- Validate passwords against a corporate policy that requires specific character-type minimums.
- Analyze password entropy to ensure sufficient complexity without rigid character-type rules.
- Support multi-language password validation using Unicode character analysis.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last updated 2019, repository archived) with no maintenance or security patches forthcoming. While it has low install friction and a permissive license, relying on unmaintained password validation code poses a security and compatibility risk. For new projects, use an actively maintained alternative; for legacy systems already using it, plan a migration.
Install
password-strength on PyPI
Before you install
Low install friction with a single lightweight dependency (six). However, the package is abandoned—last release was in 2019 and the repository was archived after 2779 days without updates. No active maintenance or security patches should be expected.
License in practice
Licensed under BSD (permissive), which allows commercial and private use with minimal restrictions. No copyleft obligations.
Quickstart
from password_strength import PasswordPolicy
policy = PasswordPolicy.from_names(length=8, uppercase=2, numbers=2, special=2)
results = policy.test('ABcd12!@')
print(results) # [] means password passes
Verify before relying
- Whether the package's password strength algorithm remains cryptographically sound by modern standards, given its age and lack of maintenance.
- Compatibility with current Python versions beyond the unspecified support declaration.
Package facts
| License | BSD permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagesix |
| Maintenance | Abandoned 2,779 days since the last release |
| Last repo commit | repository archived |
| First released | |
| Downloads | 201,864 / month, #9,659 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 2Programming Language :: Python :: 3Topic :: Software Development :: Libraries :: Python Modules |
Evidence: password_strength-0.0.3.post2-py2.py3-none-any.whl
Tags
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 › “password strength validation”
- password-strengthEvaluates password strength and validates passwords against…
- django-zxcvbn-password-validatorA Django password validator that uses pattern matching and dictionary…
- types-zxcvbnProvides type hints for the zxcvbn password strength estimation…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also random-password-generator · xkcdpass · zxcvbn · django-zxcvbn-password-validator · bcrypt · diceware · django-password-validators · pyscrypt · rstr · pulumi-policy