Skip to main content

Python implementation of SAML Version 2 to be used in a WSGI environment

Project description


PySAML2 should be compatible with any python >= 2.6 not 3.X yet. To be able to sign/verify, encrypt/decrypt you need xmlsec1. The repoze stuff works best together with repoze.who .


You need repoze.who to get the examples working, can be gotten through easy_install

easy_install repoze.who

Or from the PyPi site if you prefer to do it that way. You should get the latest version, which is right now 1.0.18 .

You also need xmlsec, which you can find here:

Apart from that a normal

python install

will install the package.


Look in the doc/ subdirectory.

Comments, support, bug reports

Project page on :

Use the mailing list. Since we do not have publicly available bug tracker yet, bug reports should be emailed there too.

You can subscribe to this mailing list at

Archives are available at


  • Roland Hedberg: main author / maintainer

  • Lorenzo Gil Sanchez: Django integration

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pysaml2-1.0.3.tar.gz (3.9 MB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page