Skip to main content
https://github.com/python-cas/python-cas/actions/workflows/CI.yml/badge.svg

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

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)

Source distribution for python-cas 1.7.2
File Size Uploaded
python_cas-1.7.2.tar.gz 10.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-cas 1.7.2
File Interpreter ABI Platform
python_cas-1.7.2-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.7.2 This release

2 release files

1.7.1

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.0

1 release file

1.3.0

1 release file

1.2.0

1 release file

1.1.0

1 release file

1.0.0

1 release 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