|
| 1 | +# PySAML2 - SAML2 for Python |
| 2 | + |
| 3 | +[](https://pypi.org/project/pysaml2/) |
| 4 | +[](https://pypi.org/project/pysaml2/) |
| 5 | +[](https://pepy.tech/project/pysaml2) |
| 6 | +[](https://pepy.tech/project/pysaml2) |
| 7 | +[](https://github.com/IdentityPython/pysaml2/blob/master/LICENSE) |
| 8 | + |
| 9 | +PySAML2 is a pure python implementation of SAML Version 2 Standard. |
| 10 | +It contains all necessary pieces for building a SAML2 service provider |
| 11 | +or an identity provider. The distribution contains examples of both. |
| 12 | +Originally written to work in a WSGI environment |
| 13 | +there are extensions that allow you to use it with other frameworks. |
| 14 | + |
| 15 | +**Website**: https://idpy.org/ |
| 16 | + |
| 17 | +**Documentation**: https://pysaml2.readthedocs.io/ |
| 18 | + |
| 19 | +**Contribution guidelines**: [CONTRIBUTING.md][contributing] |
| 20 | + |
| 21 | +**Security policies**: [SECURITY.md][sec] |
| 22 | + |
| 23 | +**Source code**: https://github.com/IdentityPython/pysaml2/ |
| 24 | + |
| 25 | +**Developer guidelines**: [DEVELOPERS.md][dev] |
| 26 | + |
| 27 | +**PyPI project**: https://pypi.org/project/pysaml2/ |
| 28 | + |
| 29 | +**License**: [LICENSE][license] |
| 30 | + |
| 31 | + |
| 32 | +## Installation |
| 33 | + |
| 34 | +You can install PySAML2 through pip: |
| 35 | + |
| 36 | +```shell |
| 37 | +pip install pysaml2 |
| 38 | +``` |
| 39 | + |
| 40 | +### External dependencies |
| 41 | + |
| 42 | +PySAML2 works with the [`xmlsec`][xmlsec] binary. |
| 43 | +This should be readily available in most Linux distributions: |
| 44 | + |
| 45 | +```shell |
| 46 | +$ apt-get install xmlsec1 |
| 47 | +$ dnf install xmlsec1-openssl |
| 48 | +$ yum install xmlsec1-openssl |
| 49 | +$ pacman -S xmlsec |
| 50 | +... |
| 51 | +``` |
| 52 | + |
| 53 | +and on MacOS through [`homebrew`][brew] |
| 54 | + |
| 55 | +```shell |
| 56 | +$ brew install libxmlsec1 |
| 57 | +``` |
| 58 | + |
| 59 | + |
| 60 | +## Changelog |
| 61 | + |
| 62 | +See the [CHANGELOG][clog] to learn about the latest developments. |
| 63 | + |
| 64 | + |
| 65 | +## Contributing |
| 66 | + |
| 67 | +We've set up a separate document for our [contribution guidelines][contributing]. |
| 68 | + |
| 69 | + |
| 70 | +## Community |
| 71 | + |
| 72 | +[IdentityPython][idpy] is a community around |
| 73 | +a collection of libraries and tools to manage identity related concepts with Python code. |
| 74 | +You can interact with the community though the [mailing list](https://lists.sunet.se/postorius/lists/idpy-discuss.lists.sunet.se/) |
| 75 | +or on the [Slack workspace](https://identity-python.slack.com/) ([invitation](https://join.slack.com/t/identity-python/shared_invite/enQtNzEyNjU1NDI1MjUyLTM2MWI5ZGNhMTk1ZThiOTIxNWY2OTY1ODVmMWNjMzUzMTYxNTY5MzE5N2RlYjExZTIyM2MwYjBjZGE4MGVlMTM)). |
| 76 | + |
| 77 | + |
| 78 | +## Development |
| 79 | + |
| 80 | +We've set up a separate document for [developers][dev]. |
| 81 | + |
| 82 | + |
| 83 | +### Releasing |
| 84 | + |
| 85 | +We've set up a separate document for our [release process][rel]. |
| 86 | + |
| 87 | + |
| 88 | +### Pre-commit |
| 89 | + |
| 90 | +(TODO) |
| 91 | + |
| 92 | + |
| 93 | + [idpy]: https://idpy.org/ |
| 94 | + [docs]: https://pysaml2.readthedocs.io/ |
| 95 | + [contributing]: https://github.com/IdentityPython/pysaml2/blob/master/CONTRIBUTING.md |
| 96 | + [sec]: https://github.com/IdentityPython/pysaml2/blob/master/SECURITY.md |
| 97 | + [repo]: https://github.com/IdentityPython/pysaml2/ |
| 98 | + [dev]: https://github.com/IdentityPython/pysaml2/blob/master/DEVELOPERS.md |
| 99 | + [pypi]: https://pypi.org/project/pysaml2/ |
| 100 | + [license]: https://github.com/IdentityPython/pysaml2/blob/master/LICENSE |
| 101 | + [clog]: https://github.com/IdentityPython/pysaml2/blob/master/CHANGELOG.md |
| 102 | + [rel]: https://github.com/IdentityPython/pysaml2/blob/master/RELEASE.md |
| 103 | + [xmlsec]: http://www.aleksey.com/xmlsec/ |
| 104 | + [brew]: https://brew.sh/ |
0 commit comments