Skip to main content

PySAML2 - SAML2 for Python

Version Supported Python versions Total downloads Weekly downloads License

PySAML2 is a pure python implementation of SAML Version 2 Standard. It contains all necessary pieces for building a SAML2 service provider or an identity provider. The distribution contains examples of both. Originally written to work in a WSGI environment there are extensions that allow you to use it with other frameworks.

Website: https://idpy.org/

Documentation: https://pysaml2.readthedocs.io/

Contribution guidelines: CONTRIBUTING.md

Security policies: SECURITY.md

Source code: https://github.com/IdentityPython/pysaml2/

Developer guidelines: DEVELOPERS.md

PyPI project: https://pypi.org/project/pysaml2/

License: LICENSE

Specifications

Retrieved from https://wiki.oasis-open.org/security/FrontPage

SAML V2.0 Standard

Profiles and extensions

Committee Specifications

Installation

You can install PySAML2 through pip:

pip install pysaml2

External dependencies

PySAML2 works with the xmlsec binary. Notice that support for xmlsec 1 1.3 was added with v7.4.2.

xmlsec should be readily available in most Linux distributions:

$ apt-get install xmlsec1
$ dnf install xmlsec1-openssl
$ yum install xmlsec1-openssl
$ pacman -S xmlsec
...

and on MacOS through homebrew

$ brew install libxmlsec1

Changelog

See the CHANGELOG to learn about the latest developments.

Contributing

We've set up a separate document for our contribution guidelines.

Community

IdentityPython is a community around a collection of libraries and tools to manage identity related concepts with Python code. You can interact with the community though the mailing list or on the Slack workspace (invitation).

Development

We've set up a separate document for developers.

Releasing

We've set up a separate document for our release process.

Pre-commit

(TODO)

Metadata

Release files for jmsmtn-pysaml2 7.5.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jmsmtn-pysaml2 7.5.6
File Size Uploaded
jmsmtn_pysaml2-7.5.6.tar.gz 334.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jmsmtn-pysaml2 7.5.6
File Interpreter ABI Platform
jmsmtn_pysaml2-7.5.6-py3-none-any.whl Python 3 none any Details

Total release size: 754.9 kB

Release files / jmsmtn_pysaml2-7.5.6.tar.gz

Download URL jmsmtn_pysaml2-7.5.6.tar.gz
Size 334.3 kB
Tags Source
SHA-256 checksum
How to use checksums
5f1060f07a5761b952350d56d7f81bddad06a2c7a245168fe301be820f89d9fc
BLAKE2b-256 checksum
How to use checksums
ff11454cc8ecd3c8ce29473574d54b47ef0823b5b3e62099f21dc0a1d581c389
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 9, 2026.

Transparency log

Release files / jmsmtn_pysaml2-7.5.6-py3-none-any.whl

Download URL jmsmtn_pysaml2-7.5.6-py3-none-any.whl
Size 420.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ec2d71635e134d90a2bdc96c14e77b621e94a033355814c9e9a7afebf2d74f0c
BLAKE2b-256 checksum
How to use checksums
b5ce937761f464c452bb25d35a50c9be10ae00790c9a731d2fa75fa12d60226c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 9, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

7.5.6 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page