skillfed

types-zxcvbn

Typing stubs for zxcvbn

types-zxcvbn v4.5.0.20260518 372.2K downloads/30d#7,166 on PyPI37
Permissive license Apache-2.0 Active released

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

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

types-zxcvbn on PyPI

pip

pip install types-zxcvbn

uv

uv add types-zxcvbn

poetry

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 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)

Evidence: types_zxcvbn-4.5.0.20260518-py3-none-any.whl

Programming Language :: Python :: 3Typing :: Stubs Only

Tags

type stubs zxcvbnzxcvbn type hintspassword strength typingmypy zxcvbnpyright type checkingtypeshed stubszxcvbn annotations
type-stubstype-checkingtypeshed

More Quality Assurance packages