python-openid
OpenID support for servers and consumers.
What it is and what it does
python-openid is a legacy Python library implementing the OpenID authentication protocol, allowing applications to act as OpenID consumers (accepting logins from OpenID providers) or OpenID servers (providing identity verification to other sites). It includes both consumer and server packages with support for multiple storage backends and includes example implementations.
The package is in production-stable status but has been unmaintained since its last commit on 2020-11-25 and its repository is archived. It requires Python 2.7 or >=3.5 and external dependencies including lxml, six, and cryptography. The library provides logging hooks for debugging and includes documentation in Epydoc format.
Use it for:
- Integrate OpenID login into legacy Python web applications that still rely on the OpenID protocol.
- Build an OpenID provider server for applications that need to offer identity services to other sites.
- Migrate or maintain existing applications that use python-openid without rewriting authentication logic.
- Support decentralized identity verification in systems designed around the OpenID standard.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Implements OpenID authentication for Python applications, providing both consumer and server libraries to enable single sign-on and decentralized identity verification.
No. This package is abandoned (last commit 2020-11-25, archived repository) and the OpenID protocol it implements has been superseded by modern alternatives. Install friction is high due to undeclared dependencies. Use only if maintaining legacy code already using this library; for new projects, consider modern authentication approaches.
Install
python-openid on PyPI
pip
pip install python-openiduv
uv add python-openidpoetry
poetry add python-openidInstalling python-openid
Before you install
High install friction: the description lists required external packages (lxml, six, cryptography) but these are not declared as runtime dependencies in the package metadata. The repository has been archived since 2020 with no maintenance activity, making this a legacy package with no active support.
License in practice
Licensed under Apache Software License (permissive), which allows commercial and private use with minimal restrictions, though the license metadata is marked UNKNOWN in the package record.
Quickstart
pip install python-openid
from openid.consumer import consumer
from openid.server import server
# Consumer: verify identity from OpenID provider
# Server: run your own OpenID authentication endpoint
Requires external dependencies (lxml, six, cryptography) not declared as package dependencies; Python 2.7 or >=3.5 required but not enforced in package metadata.
Verify before relying
- Whether lxml, six, and cryptography are properly installed as transitive dependencies or must be installed manually.
- Whether this package works reliably with modern Python versions despite being last released in 2010.
- Current security posture of OpenID protocol implementation given the maintenance gap.
- Whether example code and documentation in the repository are still functional and relevant.
Package facts
| License | UNKNOWN (permissive) |
| Python support | not specified |
| Install friction | high — source build required |
| Runtime dependencies | none |
| Maintenance | abandoned — 5,888 days since the last release |
| Last repo commit | (repository archived) |
| First released | |
| Downloads | 329,947/month — #7,542 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: python-openid-2.2.5.tar.gz; python-openid-2.2.5.zip
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
python3-openidImplements OpenID authentication protocol…
permissive · top 5,000 on PyPI
Flask-OpenIDAdds OpenID authentication support to Flask web…
permissive · top 5,000 on PyPI
flask-oidcAdds OpenID Connect authentication support to…
permissive · top 5,000 on PyPI
python-casImplements a CAS (Central Authentication…
permissive · top 15,000 on PyPI
django-oidc-providerProvides OpenID Connect and OAuth 2.0 server…
permissive · top 15,000 on PyPI
oicA complete Python implementation of OpenID…
permissive · top 15,000 on PyPI
python3-samlTurns a Python application into a SAML 2.0…
permissive · top 5,000 on PyPI
python-freeipapython-freeipa is a lightweight client library…
permissive · top 15,000 on PyPI
workosA Python client library for the WorkOS API that…
permissive · top 5,000 on PyPI
AuthlibAuthlib provides a complete implementation of…
permissive · top 1,000 on PyPI