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.2.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.2-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for python_cas-1.7.2.tar.gz
Algorithm Hash digest
SHA256 228c540186f52f91605016c3921fee677c214de5454c0b6902956d280c47cadc
MD5 a45b2fbd0d53fb623db142cd12f059a2
BLAKE2b-256 0df9a32f644a75704099cb9dd066b553990f1ff2a70c8e223a80e1f4d5a5d1be

See more details on using hashes here.

File details

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

File metadata

  • Download URL: python_cas-1.7.2-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.4

File hashes

Hashes for python_cas-1.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1c50e0d8e20b0356e571a48e7f987df780eff93a1039ac895aeb0dc78126073e
MD5 e633dfce224a93761e2d5296f632ae6a
BLAKE2b-256 45b7931fe664ee2e37674c5435044ec313a14bb11593f38b2d20b95462e6ae78

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