
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
.. image:: https://github.com/python-cas/python-cas/actions/workflows/CI.yml/badge.svg :target: https://github.com/python-cas/python-cas/actions/workflows/CI.yml
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.
API Documentation
_Sample integration with Flask
_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
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
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
_.Mehdi Benadda
_.django-cas-ng
_CAS protocol
_Jasig CAS server
_.. _CAS protocol: https://djangocas.dev/docs/latest/CAS-Protocol-Specification.html .. _django-cas-ng: https://github.com/django-cas-ng/django-cas-ng .. _django-cas: https://bitbucket.org/cpcc/django-cas .. _pip: http://www.pip-installer.org/ .. _PEP8: https://www.python.org/dev/peps/pep-0008/ .. _Django coding style: https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/coding-style .. _User custom model: https://docs.djangoproject.com/en/1.5/topics/auth/customizing/ .. _Jasig CAS server: http://jasig.github.io/cas .. _Piotr Buliński: https://github.com/piotrbulinski .. _Stefan Horomnea: https://github.com/choosy .. _Piper Merriam: https://github.com/pipermerriam .. _Nathan Brown: https://github.com/tsitra .. _Jason Brownbridge: https://github.com/jbrownbridge .. _Bryce Groff: https://github.com/bgroff .. _Jeffrey P Gill: https://github.com/jpg18 .. _timkung1: https://github.com/timkung1 .. _Domingo Yeray Rodríguez Martín: https://github.com/dyeray .. _Rayco Abad-Martín: https://github.com/Rayco .. _Édouard Lopez: https://github.com/edouard-lopez .. _Guillaume Vincent: https://github.com/guillaumevincent .. _Evgeny Fadeev: https://github.com/evgenyfadeev .. _Mehdi Benadda: https://github.com/mbenadda .. _API Documentation: https://djangocas.dev/docs/latest/modules/python_cas.html .. _Sample integration with Flask: https://djangocas.dev/blog/python-cas-flask-example/
FAQs
Python CAS client library
We found that python-cas demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.