Skip to main content
https://travis-ci.org/python-cas/python-cas.svg?branch=master

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 2.7, 3.5, 3.6, 3.7, 3.8

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-mb 1.5.1

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-mb 1.5.1
File Size Uploaded
python-cas-mb-1.5.1.tar.gz 10.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for python-cas-mb 1.5.1
File Interpreter ABI Platform
python_cas_mb-1.5.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 17.7 kB

Release files / python-cas-mb-1.5.1.tar.gz

Download URL python-cas-mb-1.5.1.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b3805788850ed9961c8875c4056e045e2a9fae1407e4cf5338fad73f7cd75484
BLAKE2b-256 checksum
How to use checksums
28d7f8b4e81372d721cb94a3c45a3d65ede452d3e6be2de87507c2fe7bb066d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.4

Release files / python_cas_mb-1.5.1-py2.py3-none-any.whl

Download URL python_cas_mb-1.5.1-py2.py3-none-any.whl
Size 7.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ff1e40b853ad8139b849a79217ea9cf749451e05a6ca1fed13ead5dc941e4be9
BLAKE2b-256 checksum
How to use checksums
88b3a5a07845ed79d263f9ef4c3a7f637a0c383ff5ff622b9ba4e0bc801c2616
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.4

Release history Release notifications | RSS feed

This release

1.5.1 This release

2 release files

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