types-zxcvbn
Typing stubs for zxcvbn
Decision gist · record as of 2026-08-14
Yes, if you use zxcvbn in a type-checked Python project. It is a lightweight, actively maintained stub package with no runtime overhead and permissive licensing. Install it alongside zxcvbn to enable full type checking support. If you do not use type checkers or do not use zxcvbn, it provides no value.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; zxcvbn itself must be installed separately for runtime functionality.
- Low friction install with no runtime dependencies.
- Actively maintained as part of typeshed; last commit 2026-08-14 with 88 days since latest release.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in most projects without significant restrictions.
last release 2026-05-18 (88 days) · last repo commit 2026-08-14 · 37 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 372,181 downloads/mo, #7,166 on PyPI
Alternatives
Verify before relying
pip install types-zxcvbn
# In your code using zxcvbn:
import zxcvbn
result: dict = zxcvbn.zxcvbn("password")- Whether this stub package is automatically kept in sync with zxcvbn releases or requires manual updates.
- Coverage completeness: whether all zxcvbn APIs are fully typed or if some remain untyped.
What it is and what it does
types-zxcvbn is a type stub package from the typeshed project that provides type annotations for the zxcvbn password strength estimation library. It allows Python type checkers like mypy and pyright to understand and validate the types used when calling zxcvbn functions, catching type errors at check time rather than runtime.
The package itself contains no runtime code—it is purely metadata for type checkers. It targets zxcvbn version 4.5.* and has been tested with mypy 2.1.0 and pyright 1.1.409. Installation is lightweight with no dependencies, and it requires Python 3.10 or later. If you use zxcvbn in a typed codebase, installing this stub package enables your type checker to understand zxcvbn's API.
Use it for
- Enable mypy or pyright to type-check code that calls zxcvbn password strength functions.
- Catch type mismatches in zxcvbn function arguments during static analysis before deployment.
- Provide IDE autocomplete and inline type documentation for zxcvbn methods in editors that support type stubs.
- Maintain strict type safety in security-sensitive password validation workflows.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use zxcvbn in a type-checked Python project.
It is a lightweight, actively maintained stub package with no runtime overhead and permissive licensing. Install it alongside zxcvbn to enable full type checking support. If you do not use type checkers or do not use zxcvbn, it provides no value.
Install
types-zxcvbn on PyPI
Before you install
Low friction install with no runtime dependencies. Actively maintained as part of typeshed; last commit 2026-08-14 with 88 days since latest release.
Requires Python 3.10 or later; zxcvbn itself must be installed separately for runtime functionality.
License in practice
Apache-2.0 permissive license allows use in most projects without significant restrictions.
Quickstart
pip install types-zxcvbn
# In your code using zxcvbn:
import zxcvbn
result: dict = zxcvbn.zxcvbn("password")
Verify before relying
- Whether this stub package is automatically kept in sync with zxcvbn releases or requires manual updates.
- Coverage completeness: whether all zxcvbn APIs are fully typed or if some remain untyped.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 88 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 372,181 / month, #7,166 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3Typing :: Stubs Only |
Evidence: types_zxcvbn-4.5.0.20260518-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 › “type stubs zxcvbn”
- types-zxcvbnProvides type hints for the zxcvbn password strength estimation…
- django-zxcvbn-password-validatorA Django password validator that uses pattern matching and dictionary…
- zxcvbnEstimates password strength by analyzing patterns, common words, and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Quality Assurance packages
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
Ruff is a Python linter and code formatter written in Rust that combines linting, formatting, and code fixing into a single tool, replacing Flake8, Black, isort, and related utilities.
Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.
Black reformats Python source code to a consistent style by parsing entire files and rewriting them according to an opinionated, deterministic set of rules, eliminating manual formatting decisions.
pytest-xdist distributes pytest tests across multiple CPU cores or machines to speed up test execution, with the simplest usage being `pytest -n auto` to spawn workers equal to available CPUs.
Install it if your test suite takes long enough that parallelization would save meaningful time.
Validates AWS CloudFormation templates in YAML or JSON format against resource provider schemas and best practices, checking property values and configuration correctness.
Install it if you work with CloudFormation templates.
See also types-html5lib · zxcvbn · django-zxcvbn-password-validator · types-cffi · types-toml · types-qrcode · types-mock · types-pexpect · types-pysftp · types-xlrd