Python OpenID library for server and consumer implementations. Current version is 2.2.5, released 2014. In maintenance mode with no active development; last release was over a decade ago.
pip install python-openidVerified import paths — ran on the pinned version, not inferred.
Initialize a Consumer with a memory store and default fetcher to begin the OpenID authentication flow.
Use a fork like python3-openid or migrate to python-openid2 (which supports Python 3 though still unmaintained).
Consider using a maintained alternative like python3-openid or authlib.
Install defusedxml: pip install defusedxml
Call openid.fetchers.setDefaultFetcher(Urllib2Fetcher()) early in your app.