--- id: types-zxcvbn version: "4.5.0.20260518" license: Apache-2.0 license_treatment: permissive maintenance: active --- # types-zxcvbn — Typing stubs for zxcvbn License: permissive · Maintenance: active · Downloads: 372.2K/mo ## 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 above — verify before relying. Provides type hints for the zxcvbn password strength estimation library, enabling type checkers to validate code that uses zxcvbn. 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 pip install types-zxcvbn uv add types-zxcvbn poetry add types-zxcvbn ## Installing types-zxcvbn 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. 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") Requires Python 3.10 or later; zxcvbn itself must be installed separately for runtime functionality. 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_current - Install friction: low - Maintenance: active - Downloads: 372.2K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags type stubs zxcvbn, zxcvbn type hints, password strength typing, mypy zxcvbn, pyright type checking, typeshed stubs, zxcvbn annotations, type-stubs, type-checking, typeshed [View on SkillFed](https://skillfed.io/packages/types-zxcvbn) · [View on PyPI](https://pypi.org/project/types-zxcvbn/)