types-passlib
Typing stubs for passlib
Decision gist · record as of 2026-08-14
Yes, if you use passlib and want static type checking. Install it as a dev dependency alongside passlib itself. The package is unmaintained but actively synced from typeshed, so it remains current. No runtime overhead, low friction, and no security concerns. Requires Python 3.10+.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- The passlib package itself must be installed separately for runtime use.
- Low install friction with no runtime dependencies.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in most projects without significant restrictions.
last release 2026-02-10 (185 days) · last repo commit 2026-08-14 · 37 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,968,401 downloads/mo, #3,401 on PyPI
Alternatives
Verify before relying
pip install types-passlib
# In your code, type checkers will now understand passlib imports:
import passlib.context
ctx: passlib.context.CryptContext = passlib.context.CryptContext(schemes=['bcrypt'])- Whether passlib itself is installed separately or whether these stubs alone enable type checking without the runtime package.
- Whether the stubs cover all passlib APIs or only a subset of the passlib==1.7.* surface.
What it is and what it does
types-passlib is a type stub package that provides type annotations for the passlib password-hashing library. It allows static type checkers like mypy and pyright to understand and validate code that imports and uses passlib, catching type errors before runtime. The stubs are maintained as part of the typeshed project and are generated from typeshed's central repository, ensuring consistency with the broader Python typing ecosystem.
The package is marked unmaintained but remains actively synced from typeshed. It targets passlib version 1.7.* and has been tested against mypy 1.19.1 and pyright 1.1.408. Installing it is purely for development and type-checking purposes; it adds no runtime behavior and has no dependencies of its own.
Use it for
- Enable mypy or pyright to type-check code that uses passlib for password hashing and verification.
- Catch type errors in passlib API calls during development rather than at runtime.
- Integrate passlib type information into a project's CI/CD type-checking pipeline.
- Provide IDE autocomplete and inline documentation for passlib methods and classes.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use passlib and want static type checking.
Install it as a dev dependency alongside passlib itself. The package is unmaintained but actively synced from typeshed, so it remains current. No runtime overhead, low friction, and no security concerns. Requires Python 3.10+.
Install
types-passlib on PyPI
Before you install
Low install friction with no runtime dependencies. Marked unmaintained in the description but actively synced from typeshed; last commit was recent. Requires Python 3.10+.
Requires Python 3.10 or later. The passlib package itself must be installed separately for runtime use.
License in practice
Apache-2.0 permissive license allows use in most projects without significant restrictions.
Quickstart
pip install types-passlib
# In your code, type checkers will now understand passlib imports:
import passlib.context
ctx: passlib.context.CryptContext = passlib.context.CryptContext(schemes=['bcrypt'])
Verify before relying
- Whether passlib itself is installed separately or whether these stubs alone enable type checking without the runtime package.
- Whether the stubs cover all passlib APIs or only a subset of the passlib==1.7.* surface.
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 185 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,968,401 / month, #3,401 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_passlib-1.7.7.20260211-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 › “passlib type stubs”
- types-passlibProvides type stubs for the passlib password-hashing library,…
- passlibPasslib provides a framework for hashing and verifying passwords…
- types-assertpyProvides type stubs enabling static type checkers like mypy and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also types-retry · types-oauthlib · types-pyfarmhash · types-mock · types-httplib2 · libpass · passlib · types-mypy-extensions · types-requests-oauthlib · pwdlib