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

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.7.1.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file python_cas-1.7.1.tar.gz.

File metadata

  • Download URL: python_cas-1.7.1.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for python_cas-1.7.1.tar.gz
Algorithm Hash digest
SHA256 8df85add9a02a02f33270642ba1e5b2e319c340a30bd00741011584beb2282fa
MD5 ea08d43e06b79e8702a8badb27c93121
BLAKE2b-256 8a32e9a13b1ed6933910f9402afd71d2d2919a84298da5d4ad78802a67cbf1f2

See more details on using hashes here.

File details

Details for the file python_cas-1.7.1-py3-none-any.whl.

File metadata

  • Download URL: python_cas-1.7.1-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for python_cas-1.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 42a31a36cb219cc0e7978e882e4ba4158ab1eec91053267ad4f1099328a58598
MD5 ca1b123e1f661d6dfd6b80aba26f9156
BLAKE2b-256 aec86f4dc09687f287f81e4d5d2c471e8171ef6d55ae47a61cb90be38daec7f6

See more details on using hashes here.

Supported by

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