Skip to main content

Python CAS client library

Project description

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

Project details


Download files

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

Source Distribution

python-cas-1.6.0.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

python_cas-1.6.0-py2.py3-none-any.whl (7.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file python-cas-1.6.0.tar.gz.

File metadata

  • Download URL: python-cas-1.6.0.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for python-cas-1.6.0.tar.gz
Algorithm Hash digest
SHA256 b8f1dcb1b6c56b3ff4f86bbef47bcdfcf932061ccd4812ae35e3f63954dfdb28
MD5 1bb82eb3c77ac1803a9da0aaaa867b0e
BLAKE2b-256 aa2bb8b595282bc6c4bc266e217205ee9ed421050f009d3e09fb959a218745b6

See more details on using hashes here.

File details

Details for the file python_cas-1.6.0-py2.py3-none-any.whl.

File metadata

  • Download URL: python_cas-1.6.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6

File hashes

Hashes for python_cas-1.6.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2abc0dae93c3b14097999fb7062f23cd09bc9f4e33d93f03c0cc040bd71ed50e
MD5 74c32b2cd81bb46fb9b77680a3022b5a
BLAKE2b-256 79ac87bdc172ca4d96f3b535f9c9c4aae70a8939f69a4e782db0ff6c75584574

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page