Skip to content
This repository

OpenID library for Python

branch: master

Merge pull request #64 from dairiki/tests

Fixes for failing tests
latest commit b1d3769646
Rodrigo Primo rodrigoprimo authored
Octocat-spinner-32 admin Fix permissions on tools July 20, 2010
Octocat-spinner-32 contrib contrib/associate: new script to make an association request June 19, 2010
Octocat-spinner-32 examples adapt djopenid example to work with django 1.4 (fixes #51) May 29, 2013
Octocat-spinner-32 openid Rename TestAuthRequestMixin so that nose doesn't collect it as a test. July 12, 2013
Octocat-spinner-32 .gitignore Add .tox to .gitignore June 25, 2012
Octocat-spinner-32 .travis.yml remove unsupported python version 2.5 from travis-ci configuration file May 28, 2013
Octocat-spinner-32 CHANGES-2.2.0 [project @ Update CHANGES-2.2.0] June 05, 2008
Octocat-spinner-32 LICENSE [project @ LICENSE: really added this time] January 18, 2007
Octocat-spinner-32 [project @ examples/ lacked discover and xml templates] December 14, 2007
Octocat-spinner-32 NEWS Removed/changed references to At this time, not ev… March 16, 2010
Octocat-spinner-32 NOTICE Removed/changed references to At this time, not ev… March 16, 2010
Octocat-spinner-32 add build status image to readme July 03, 2012
Octocat-spinner-32 background-associations.txt [project @ Added document about making associations offline] February 16, 2007
Octocat-spinner-32 pylintrc [project @ Allow all-caps constants in the PyLint config] June 26, 2007
Octocat-spinner-32 call all test files instead of just the first July 11, 2013
Octocat-spinner-32 setup.cfg [project @ Add newline at end of setup.cfg] December 09, 2005
Octocat-spinner-32 Use setuptools, if present. March 28, 2012
Octocat-spinner-32 tox.ini Add tox.ini for tox ( June 25, 2012

This is the Python OpenID library.

Build Status


  • Python 2.3, 2.4, or 2.5.

  • ElementTree. This is included in the Python 2.5 standard library, but users of earlier versions of Python may need to install it seperately.

  • pycrypto, if on Python 2.3 and without /dev/urandom, or on Python 2.3 or 2.4 and you want SHA256.


To install the base library, just run the following command:

python install

To run you need the distutils module from the Python standard library; some distributions package this seperately in a "python-dev" package.


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

Library documentation is available in html form in the doc directory.


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:


Send bug reports, suggestions, comments, and questions to

If you have a bugfix or feature you'd like to contribute, don't hesitate to send it to us. For more detailed information on how to contribute, see

Something went wrong with that request. Please try again.