Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Python CAS client library

Project Description
Python CAS

.. image::

``Python CAS`` Python utilities to implement CAS protocol (Central Authentication Service).

This project was started by factoring out CASClient* classes from the
`django-cas-ng`_ project, which was a continuation of `django-cas`_


- Support Client part of CAS_ version 1.0, 2.0 and 3.0.
- Support Python 2.7, 3.x


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`_.


* `django-cas`_.
* `Stefan Horomnea`_.
* `Piotr Buliński`_.
* `Piper Merriam`_.
* `Nathan Brown`_.
* `Jason Brownbridge`_.
* `Bryce Groff`_.
* `Jeffrey P Gill`_.
* `timkung1`_.
* `Domingo Yeray Rodríguez Martín`_.
* `Rayco Abad-Martín`_.
* `Édouard Lopez`_.
* `Guillaume Vincent`_.
* `Evgeny Fadeev`_.


* `django-cas-ng`_
* `CAS protocol`_
* `Jasig CAS server`_

.. _CAS:
.. _CAS protocol:
.. _django-cas-ng:
.. _pip:
.. _PEP8:
.. _Django coding style:
.. _User custom model:
.. _Jasig CAS server:
.. _Piotr Buliński:
.. _Stefan Horomnea:
.. _Piper Merriam:
.. _Nathan Brown:
.. _Jason Brownbridge:
.. _Bryce Groff:
.. _Jeffrey P Gill:
.. _timkung1:
.. _Domingo Yeray Rodríguez Martín:
.. _Rayco Abad-Martín:
.. _Édouard Lopez:
.. _Guillaume Vincent:
.. _Evgeny Fadeev:
Release History

Release History

This version
History Node


History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
python-cas-1.2.0.tar.gz (6.9 kB) Copy SHA256 Checksum SHA256 Source Nov 6, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting