I am looking for a Python library which can be used to implement SAML2 based service provider and identity provider. The core library should not depend on any particular web-framework. I am looking for something which is more feature complete and preferably easy to use. Also the library should have more permissive license (non-GPL). After searching I found few links, I have pasted it here:
http://wiki.python.org/moin/SAML
Any suggestion ?
You can also take a look on https://github.com/onelogin/python-saml
Is also open source and the toolkit contains 2 demos: A django application and a Flask application.
Right now only works on Python 2.X
Edited 13/05/2015: There is a python 3.X version (beta, I'm still testing it): https://github.com/pitbulk/python3-saml (thanks bgaifullin for contributing it)
Edited 13/04/2016: Python 3.X version is stable and tested.