Skip to main content

Python implementation of SAML Version 2 Standard

Project description

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)

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-7.5.0.tar.gz (340.3 kB view details)

Uploaded Source

Built Distribution

pysaml2-7.5.0-py3-none-any.whl (419.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pysaml2-7.5.0.tar.gz
  • Upload date:
  • Size: 340.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.1 Darwin/23.2.0

File hashes

Hashes for pysaml2-7.5.0.tar.gz
Algorithm Hash digest
SHA256 f36871d4e5ee857c6b85532e942550d2cf90ea4ee943d75eb681044bbc4f54f7
MD5 0bb713a1c56acd4615b5bcae48e09113
BLAKE2b-256 7602e8ecb5d1574a2add1431c8ec16dff137610f30580a7c1d6205929b3db3ee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pysaml2-7.5.0-py3-none-any.whl
  • Upload date:
  • Size: 419.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.12.1 Darwin/23.2.0

File hashes

Hashes for pysaml2-7.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bc6627cc344476a83c757f440a73fda1369f13b6fda1b4e16bca63ffbabb5318
MD5 812ea63e08b5a786f0b1aae51b0fe50e
BLAKE2b-256 fed192d84ae0e80e829e84785c6e4e425ff6d447116289f0ecf2af068f771a73

See more details on using hashes here.

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