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)

Download files

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

Source Distribution

pysaml2-7.5.5.tar.gz (334.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pysaml2-7.5.5-py3-none-any.whl (420.8 kB view details)

Uploaded Python 3

File details

Details for the file pysaml2-7.5.5.tar.gz.

File metadata

  • Download URL: pysaml2-7.5.5.tar.gz
  • Upload date:
  • Size: 334.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.14 Darwin/27.0.0

File hashes

Hashes for pysaml2-7.5.5.tar.gz
Algorithm Hash digest
SHA256 bd1c3f3667807de61d70d8e5cf32618719d9dc1b91a6d16a291ef7a1eaa52fff
MD5 fec93f14d322172e40f212a9d9db6b3a
BLAKE2b-256 3c383f26d8b6e211dfe95dedb8c0c1072ad7781f1c33176a32b4f11c97268d79

See more details on using hashes here.

File details

Details for the file pysaml2-7.5.5-py3-none-any.whl.

File metadata

  • Download URL: pysaml2-7.5.5-py3-none-any.whl
  • Upload date:
  • Size: 420.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.12.14 Darwin/27.0.0

File hashes

Hashes for pysaml2-7.5.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c64cfd6c0348c53da1768538733c55ec15b23d1cc0e942564ea546515b45a199
MD5 4a95ed9b45142ed6cf51b86e4c11acde
BLAKE2b-256 e61aa0ec7b91ca71dd2c8baf5f48a1f590040f7e62c115c875e906f506c75f31

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

7.5.5 This release

2 files

7.5.4

2 files

7.5.3

2 files

7.5.2

2 files

7.5.1

2 files

7.5.0

2 files

7.4.2

2 files

7.4.1

2 files

7.4.0

2 files

7.3.1

2 files

7.3.0

2 files

7.2.1

2 files

7.2.0

2 files

7.1.2

2 files

7.1.1

2 files

7.1.0

2 files

7.0.1

2 files

7.0.0

2 files

6.5.2

2 files

6.5.1

2 files

6.5.0

2 files

6.4.1

2 files

6.4.0

2 files

6.3.1

2 files

6.3.0

2 files

6.2.0

2 files

6.1.0

2 files

6.0.0

2 files

5.4.0

2 files

5.3.0

2 files

5.2.0

2 files

5.1.0

2 files

5.0.0

2 files

4.9.0

2 files

4.8.0

2 files

4.7.0

2 files

4.6.5

2 files

4.6.4

2 files

4.6.3

2 files

4.6.2

2 files

4.6.1

2 files

4.6.0

1 file

4.5.0

1 file

4.4.0

1 file

4.3.0

1 file

4.2.0

1 file

4.1.0

1 file

4.0.5

1 file

4.0.4

1 file

4.0.3

1 file

4.0.2

1 file

4.0.1

1 file

4.0.0

1 file

3.0.2

1 file

3.0.0

1 file

2.4.0

1 file

2.3.0

1 file

2.2.0

1 file

2.1.0

1 file

2.0.0

1 file

1.1.0

1 file

1.0.3

1 file

1.0.2

1 file

1.0.1

1 file

0.4.3

1 file

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