Coder Social home page Coder Social logo

Python CAS

image

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, 3.9, 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 [email protected]: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

python-cas's Projects

flask-example icon flask-example

An example repo to demo how to integrate python-cas into a Flask app

python-cas icon python-cas

Python CAS (Central Authentication Service) client library support CAS 1.0/2.0/3.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.