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 pysaml2-arca 7.5.7

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

Source distribution (sdist)

Source distribution for pysaml2-arca 7.5.7
File Size Uploaded Provenance Actions
pysaml2_arca-7.5.7.tar.gz 334.5 kB Without provenance Details for pysaml2_arca-7.5.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pysaml2-arca 7.5.7
File Interpreter ABI Platform Actions
pysaml2_arca-7.5.7-py3-none-any.whl Python 3 none any Details for pysaml2_arca-7.5.7-py3-none-any.whl

Total release size: 755.4 kB

Release files / pysaml2_arca-7.5.7.tar.gz

Download URL pysaml2_arca-7.5.7.tar.gz
Size 334.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6931d4c87fbdc9d871b546ba1c8e1542c5b6692a3572285ab4da0986acb9c5c7
BLAKE2b-256 checksum
How to use checksums
d2e46db33a7dc59a337f73f2f07df53a6c53fde15431a14af77adb6dcde757f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.14.4 Linux/7.1.8-arch1-3

Release files / pysaml2_arca-7.5.7-py3-none-any.whl

Download URL pysaml2_arca-7.5.7-py3-none-any.whl
Size 420.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e4e078fadd0e677c6c2bb2416eaaf55624db39465e5e0920f7d071cec1a95506
BLAKE2b-256 checksum
How to use checksums
41ebe8286c1420d6e6e545e95c9a3b5869fd62b1d717d8f42e766069fab23e49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.14.4 Linux/7.1.8-arch1-3

Security for pysaml2-arca 7.5.7

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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