python3-openid
OpenID support for modern servers and consumers.
Decision gist · record as of 2026-08-14
Yes, if you need OpenID support in Python 3 and can accept dormant maintenance. The library is production-stable, has no known vulnerabilities, and carries low install friction. However, be aware that active development stopped in 2020; if you require ongoing security patches or feature development, consider whether OpenID remains the right authentication choice for your use case, or evaluate actively maintained alternatives like OAuth 2.0 libraries.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.5 or later; optional MySQL or PostgreSQL storage requires installing the relevant extra (e.g., pip install python3-openid[mysql]).
- Low install friction with a single runtime dependency (defusedxml).
- Maintenance is dormant—the last release was 2020-06-29, over 2237 days ago, though the repository remains active with a recent commit on 2024-11-05.
License · maintenance · safety
permissive license (permissive) — Licensed under Apache Software License (permissive), so you can use, modify, and distribute it freely in commercial and open-source projects without copyleft obligations.
last release 2020-06-29 (2237 days) · last repo commit 2024-11-05 · 46 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 8,320,129 downloads/mo, #1,634 on PyPI
Alternatives
Verify before relying
pip install python3-openid
from openid.consumer.consumer import Consumer
from openid.store.memorystore import MemoryStore
store = MemoryStore()
consumer = Consumer({}, store)- Whether PyPy3 compatibility issues mentioned in the description have been resolved since the last release.
- Current state of documentation generation and availability beyond Epydoc format.
- Whether the API remains fully compatible with the original python-openid library as intended.
What it is and what it does
python3-openid is a port of the Python OpenID library adapted for Python 3, providing both server and consumer implementations of the OpenID authentication protocol. It lets web applications authenticate users by delegating to external OpenID providers, or act as an OpenID provider themselves. The library wraps the core OpenID flows—discovery, authentication request, and verification—and includes optional storage backends for MySQL and PostgreSQL to persist authentication state.
The package depends only on defusedxml for secure XML parsing, keeping the core footprint small. It maintains API compatibility with the original python-openid library where possible, making it a drop-in replacement for Python 3 projects. The library includes logging hooks to surface recoverable errors and a working example server and consumer in its repository.
Use it for
- Integrate OpenID login into a web application so users can authenticate with their existing OpenID accounts.
- Build an OpenID provider service that other applications can delegate authentication to.
- Migrate a Python 2 application using python-openid to Python 3 with minimal API changes.
- Store OpenID session state in MySQL or PostgreSQL for production deployments requiring persistent authentication records.
- Add federated identity support to a web service without implementing OAuth or SAML from scratch.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need OpenID support in Python 3 and can accept dormant maintenance.
The library is production-stable, has no known vulnerabilities, and carries low install friction. However, be aware that active development stopped in 2020; if you require ongoing security patches or feature development, consider whether OpenID remains the right authentication choice for your use case, or evaluate actively maintained alternatives like OAuth 2.0 libraries.
Install
python3-openid on PyPI
Before you install
Low install friction with a single runtime dependency (defusedxml). Maintenance is dormant—the last release was 2020-06-29, over 2237 days ago, though the repository remains active with a recent commit on 2024-11-05. Production-stable but not actively developed.
Requires Python 3.5 or later; optional MySQL or PostgreSQL storage requires installing the relevant extra (e.g., pip install python3-openid[mysql]).
License in practice
Licensed under Apache Software License (permissive), so you can use, modify, and distribute it freely in commercial and open-source projects without copyleft obligations.
Quickstart
pip install python3-openid
from openid.consumer.consumer import Consumer
from openid.store.memorystore import MemoryStore
store = MemoryStore()
consumer = Consumer({}, store)
Verify before relying
- Whether PyPy3 compatibility issues mentioned in the description have been resolved since the last release.
- Current state of documentation generation and availability beyond Epydoc format.
- Whether the API remains fully compatible with the original python-openid library as intended.
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagedefusedxml |
| Maintenance | Dormant 2,237 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 8,320,129 / month, #1,634 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: POSIXProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Internet :: WWW/HTTPTopic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Systems Administration :: Authentication/Directory |
Evidence: python3_openid-3.2.0-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 › “openid authentication python”
- python3-openidImplements OpenID authentication protocol support for Python 3…
- Flask-OpenIDAdds OpenID authentication support to Flask web applications,…
- python-openidImplements OpenID authentication for Python applications, providing…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also python-openid · flask-oidc · django-oidc-provider · pyop · Flask-OpenID · Authlib · oic · python-keycloak · aioauth · oidc-provider-mock