types-Authlib
Typing stubs for Authlib
Decision gist · record as of 2026-08-14
Yes, if you use Authlib and want static type checking. The package is actively maintained, has no known vulnerabilities, and installs with minimal friction. It's part of the official typeshed project and tested against current type checkers. Install it if type safety is a priority in your project.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low friction install with a single runtime dependency on cryptography.
- Actively maintained as part of the typeshed project with recent releases.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in most projects without significant restrictions.
last release 2026-08-14 (0 days) · last repo commit 2026-08-14 · 37 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,079,844 downloads/mo, #4,398 on PyPI
Alternatives
Verify before relying
pip install types-authlib
# In your code, use Authlib normally; type checkers will now understand it:
import authlib.integrations.httpx_client
# Run your type checker:
mypy your_code.py- Whether the stubs cover all Authlib 1.7.2 APIs or only a subset.
- Compatibility with Authlib versions other than 1.7.2.
- Whether cryptography is only a transitive dependency or actively used by the stubs.
What it is and what it does
types-Authlib is a type stub package that provides type annotations for the Authlib authentication library. It allows Python type checkers like mypy, pyright, and others to understand and validate code that uses Authlib, catching type errors at development time rather than runtime. The stubs are maintained as part of the typeshed project and are tested against multiple type checkers.
This package is purely for static analysis—it does not provide runtime functionality. You install it alongside Authlib to enable type checking in your IDE and CI/CD pipelines. It depends on cryptography as a runtime dependency and requires Python 3.10 or later.
Use it for
- Enable mypy or pyright to type-check code using Authlib for OAuth/OpenID Connect flows.
- Catch type errors in authentication middleware before deployment.
- Provide IDE autocomplete and type hints for Authlib's API in editors like VS Code.
- Validate custom Authlib integrations in a typed codebase.
- Support strict type checking in CI/CD pipelines for projects using Authlib.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use Authlib and want static type checking.
The package is actively maintained, has no known vulnerabilities, and installs with minimal friction. It's part of the official typeshed project and tested against current type checkers. Install it if type safety is a priority in your project.
Install
types-authlib on PyPI
Before you install
Low friction install with a single runtime dependency on cryptography. Actively maintained as part of the typeshed project with recent releases.
Requires Python 3.10 or later.
License in practice
Apache-2.0 permissive license allows use in most projects without significant restrictions.
Quickstart
pip install types-authlib
# In your code, use Authlib normally; type checkers will now understand it:
import authlib.integrations.httpx_client
# Run your type checker:
mypy your_code.py
Verify before relying
- Whether the stubs cover all Authlib 1.7.2 APIs or only a subset.
- Compatibility with Authlib versions other than 1.7.2.
- Whether cryptography is only a transitive dependency or actively used by the stubs.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagecryptography |
| Maintenance | Actively maintained 0 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,079,844 / month, #4,398 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_authlib-1.7.2.20260814-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 › “authlib type stubs”
- types-AuthlibProvides type stubs for Authlib, enabling static type checkers to…
- AuthlibAuthlib provides a complete implementation of OAuth 1.0, OAuth 2.0,…
- 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-oauthlib · types-httplib2 · types-pyinstaller · types-boltons · types-mypy-extensions · types-gevent · types-requests-oauthlib · types-auth0-python · types-setuptools · types-grpcio