Python CAS implements CAS protocol (Central Authentication Service) client.
This project was started by refactoring out CASClient classes from the django-cas-ng project.
Now CASClient can be used by any python project, e.g. Django, Pyramid, Flask, Sanic, FastAPI, Tornado, web2py etc.
Features
Support Client part of CAS version 1.0, 2.0 and 3.0.
Support Python 3.10+
Documentation
Installation
Install the latest stable release with pip:
pip install python-cas
Install the latest code:
pip install https://github.com/python-cas/python-cas/archive/master.zip
Install from source code:
git clone --depth 1 git@github.com:python-cas/python-cas.git cd python-cas python setup.py install
Testing
Every code commit triggers a travis-ci build. checkout current build status at https://travis-ci.org/python-cas/python-cas
Testing is managed by pytest and tox. Before run install, you need install required packages for testing:
pip install -r requirements-dev.txt
To run testing on locally:
py.test
To run all testing on all enviroments locally:
tox
Contribution
Contributions are welcome!
If you would like to contribute this project. Please feel free to fork and send pull request. Please make sure tests are passed. Also welcome to add your name to Credits section of this document.
New code should follow both PEP8.
Credits
References
Metadata
Release files for python-cas 1.7.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| python_cas-1.7.2.tar.gz | 10.7 kB | Without provenance | Details for python_cas-1.7.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| python_cas-1.7.2-py3-none-any.whl | Python 3 | none | any | Details for python_cas-1.7.2-py3-none-any.whl |
Total release size: 18.3 kB
Release files / python_cas-1.7.2.tar.gz
| Download URL | python_cas-1.7.2.tar.gz |
|---|---|
| Size | 10.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
228c540186f52f91605016c3921fee677c214de5454c0b6902956d280c47cadc
|
|
BLAKE2b-256 checksum How to use checksums |
0df9a32f644a75704099cb9dd066b553990f1ff2a70c8e223a80e1f4d5a5d1be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Release files / python_cas-1.7.2-py3-none-any.whl
| Download URL | python_cas-1.7.2-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1c50e0d8e20b0356e571a48e7f987df780eff93a1039ac895aeb0dc78126073e
|
|
BLAKE2b-256 checksum How to use checksums |
45b7931fe664ee2e37674c5435044ec313a14bb11593f38b2d20b95462e6ae78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Security for python-cas 1.7.2
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.