Skip to main content

Python CAS client library

Project description

Python CAS Python utilities to implement CAS protocol (Central Authentication Server) client.

This project was started by factoring out CASClient classes from the django-cas-ng project. Now CASClient can be used by any python project, not only for Django.


  • Support Client part of CAS version 1.0, 2.0 and 3.0.
  • Support Python 2.7, 3.5, 3.6, 3.7, 3.8


Install with pip:

pip install python-cas

Install the latest code:

pip install

Install from source code:

python install


Every code commit triggers a travis-ci build. checkout current build status at

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:


To run all testing on all enviroments locally:



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.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for python-cas, version 1.5.0
Filename, size File type Python version Upload date Hashes
Filename, size python_cas-1.5.0-py2.py3-none-any.whl (7.0 kB) File type Wheel Python version 3.7 Upload date Hashes View
Filename, size python-cas-1.5.0.tar.gz (9.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page