Python 3 port of the python-openid library
Clone or download
Rami Chowdhury
Rami Chowdhury Clean up publishing flow
Latest commit 4911bbc Feb 22, 2017

NOTE: This started out as a fork of the Python OpenID library, with changes to make it Python 3 compatible. It's now a port of that library, including cleanups and updates to the code in general.

Build Status Coverage Status


  • Python 3.3+ (tested on CPython 3.3-3.6, and PyPy3 (although some tests may fail on PyPy))


The recommended way is to install from PyPI with pip:

pip install python3-openid

Alternatively, you can run the following command:

python install

getting started

The library should follow the existing python-openid API as closely as possible.

NOTE: documentation will be auto-generated as soon as I can figure out how to update the documentation tools.

NOTE: The examples directory includes an example server and consumer implementation. See the README file in that directory for more information on running the examples.


This library offers a logging hook that will record unexpected conditions that occur in library code. If a condition is recoverable, the library will recover and issue a log message. If it is not recoverable, the library will raise an exception. See the documentation for the openid.oidutil module for more on the logging hook.


The documentation in this library is in Epydoc format, which is detailed at:


Bug reports, suggestions, and feature requests are very welcome!

There are also the #python-openid and #openid channels on FreeNode IRC.


  • @necaris
  • @moreati