百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
P

python-cas

> 安全
开源

Python CAS (中央身份验证服务)客户端库支持 CAS 1.0/2.0/3.0

100 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

Python CAS (中央身份验证服务)客户端库支持 CAS 1.0/2.0/3.0

python-cas

.. image:: https://img.shields.io/pypi/v/python-cas.svg :target: https://pypi.org/project/python-cas/ .. 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 a CAS protocol (Central Authentication Service) client.

This project was started by refactoring CASClient classes out of the django-cas-ng_ project.

Features

  • Support Client part of CAS version 1.0, 2.0 and 3.0.
  • Support Python 3.10+

Documentation

  • API Documentation_
  • Sample integration with Flask_

Installation

Install the latest stable release with pip_::

bash
pip install python-cas

Install the latest code::

bash
pip install https://github.com/python-cas/python-cas/archive/master.zip

Install from source code::

bash
git clone --depth 1 [email protected]:python-cas/python-cas.git
cd python-cas
python setup.py install

Testing

Testing is managed by pytest and tox. Before run install, you need install required packages for testing::

bash
pip install -r requirements-dev.txt

To run testing on locally::

py.test

To run all testing on all enviroments locally::

tox

Contributing

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

  • 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_.

References

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

Issues· 6 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Pythonauthenticationcascasclientpython

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类安全
定价开源

> 相关工具

O
OWASP ZAP
开源 Web 应用安全扫描器
O
owasp-wstg-tracker
Simple web app to track OWASP WSTG security testing progress
H
homebridge-mi-gateway-security
XiaoMi Gateway Security plugin for HomeBridge.