afdf5b4a8c
pyOpenSSL is already a dependency and pyOpenSSL uses cryptography. This also reduces the complexity of the code significantly in several places (and removes the need to directly manipulate asn1). A future PR could remove pyOpenSSL entirely as all the cert behavior is supported directly by cryptography. |
||
---|---|---|
.idea/libraries | ||
doc | ||
example | ||
script | ||
src | ||
tests | ||
tools | ||
work | ||
.bzrignore | ||
.gitignore | ||
.travis.yml | ||
CHANGES | ||
INSTALL | ||
LICENSE.txt | ||
MANIFEST.in | ||
README.rst | ||
TODO | ||
release-howto.rst | ||
setup.py | ||
tox.ini |
README.rst
PySAML2 - SAML2 in Python
- Author
-
Roland Hedberg
- Version
-
4.4.0
PySAML2 is a pure python implementation of SAML2. 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.
Testing
PySAML2 uses the pytest framework for testing. To run the tests on your system's version of python
- Create and activate a virtualenv.
- Inside the virtualenv, install the dependencies needed for testing
pip install -r tests/test_requirements.txt
- Run the tests
py.test tests
To run tests in multiple python environments, you can use pyenv with tox.