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 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
Documentation
-------------
- `API Documentation`_
- `Sample integration with Flask`_
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
-------
* `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/
Raw data
{
"_id": null,
"home_page": "https://github.com/python-cas/python-cas",
"name": "python-cas",
"maintainer": "",
"docs_url": null,
"requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
"maintainer_email": "",
"keywords": "cas,cas2,cas3,client,sso,single sign-on,authentication,auth",
"author": "Ming Chen",
"author_email": "ming@djangocas.dev",
"download_url": "https://files.pythonhosted.org/packages/aa/2b/b8b595282bc6c4bc266e217205ee9ed421050f009d3e09fb959a218745b6/python-cas-1.6.0.tar.gz",
"platform": "",
"description": "Python CAS\n==========\n\n.. image:: https://github.com/python-cas/python-cas/actions/workflows/CI.yml/badge.svg\n :target: https://github.com/python-cas/python-cas/actions/workflows/CI.yml\n\n``Python CAS`` implements CAS protocol (Central Authentication Service) client.\n\nThis project was started by refactoring out **CASClient** classes from the\n`django-cas-ng`_ project.\n\nNow **CASClient** can be used by any python project,\ne.g. Django, Pyramid, Flask, Sanic, FastAPI, Tornado, web2py etc.\n\nFeatures\n--------\n\n- Support Client part of **CAS** version 1.0, 2.0 and 3.0.\n- Support Python 2.7, 3.5, 3.6, 3.7, 3.8\n\n\nDocumentation\n-------------\n\n- `API Documentation`_\n- `Sample integration with Flask`_\n\n\nInstallation\n------------\n\nInstall the latest stable release with `pip`_::\n\n pip install python-cas\n\nInstall the latest code::\n\n pip install https://github.com/python-cas/python-cas/archive/master.zip\n\nInstall from source code::\n\n git clone --depth 1 git@github.com:python-cas/python-cas.git\n cd python-cas\n python setup.py install\n\n\nTesting\n-------\n\nEvery code commit triggers a **travis-ci** build. checkout current build status at https://travis-ci.org/python-cas/python-cas\n\nTesting is managed by ``pytest`` and ``tox``.\nBefore run install, you need install required packages for testing::\n\n pip install -r requirements-dev.txt\n\n\nTo run testing on locally::\n\n py.test\n\n\nTo run all testing on all enviroments locally::\n\n tox\n\n\nContribution\n------------\n\nContributions are welcome!\n\nIf you would like to contribute this project.\nPlease feel free to fork and send pull request.\nPlease make sure tests are passed.\nAlso welcome to add your name to **Credits** section of this document.\n\nNew code should follow both `PEP8`_.\n\n\nCredits\n-------\n\n* `django-cas`_.\n* `Stefan Horomnea`_.\n* `Piotr Buli\u0144ski`_.\n* `Piper Merriam`_.\n* `Nathan Brown`_.\n* `Jason Brownbridge`_.\n* `Bryce Groff`_.\n* `Jeffrey P Gill`_.\n* `timkung1`_.\n* `Domingo Yeray Rodr\u00edguez Mart\u00edn`_.\n* `Rayco Abad-Mart\u00edn`_.\n* `\u00c9douard Lopez`_.\n* `Guillaume Vincent`_.\n* `Evgeny Fadeev`_.\n* `Mehdi Benadda`_.\n\nReferences\n----------\n\n* `django-cas-ng`_\n* `CAS protocol`_\n* `Jasig CAS server`_\n\n.. _CAS protocol: https://djangocas.dev/docs/latest/CAS-Protocol-Specification.html\n.. _django-cas-ng: https://github.com/django-cas-ng/django-cas-ng\n.. _django-cas: https://bitbucket.org/cpcc/django-cas\n.. _pip: http://www.pip-installer.org/\n.. _PEP8: https://www.python.org/dev/peps/pep-0008/\n.. _Django coding style: https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/coding-style\n.. _User custom model: https://docs.djangoproject.com/en/1.5/topics/auth/customizing/\n.. _Jasig CAS server: http://jasig.github.io/cas\n.. _Piotr Buli\u0144ski: https://github.com/piotrbulinski\n.. _Stefan Horomnea: https://github.com/choosy\n.. _Piper Merriam: https://github.com/pipermerriam\n.. _Nathan Brown: https://github.com/tsitra\n.. _Jason Brownbridge: https://github.com/jbrownbridge\n.. _Bryce Groff: https://github.com/bgroff\n.. _Jeffrey P Gill: https://github.com/jpg18\n.. _timkung1: https://github.com/timkung1\n.. _Domingo Yeray Rodr\u00edguez Mart\u00edn: https://github.com/dyeray\n.. _Rayco Abad-Mart\u00edn: https://github.com/Rayco\n.. _\u00c9douard Lopez: https://github.com/edouard-lopez\n.. _Guillaume Vincent: https://github.com/guillaumevincent\n.. _Evgeny Fadeev: https://github.com/evgenyfadeev\n.. _Mehdi Benadda: https://github.com/mbenadda\n.. _API Documentation: https://djangocas.dev/docs/latest/modules/python_cas.html\n.. _Sample integration with Flask: https://djangocas.dev/blog/python-cas-flask-example/\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Python CAS client library",
"version": "1.6.0",
"project_urls": {
"Download": "https://github.com/python-cas/python-cas/releases",
"Homepage": "https://github.com/python-cas/python-cas"
},
"split_keywords": [
"cas",
"cas2",
"cas3",
"client",
"sso",
"single sign-on",
"authentication",
"auth"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "79ac87bdc172ca4d96f3b535f9c9c4aae70a8939f69a4e782db0ff6c75584574",
"md5": "74c32b2cd81bb46fb9b77680a3022b5a",
"sha256": "2abc0dae93c3b14097999fb7062f23cd09bc9f4e33d93f03c0cc040bd71ed50e"
},
"downloads": -1,
"filename": "python_cas-1.6.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "74c32b2cd81bb46fb9b77680a3022b5a",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
"size": 7574,
"upload_time": "2021-09-17T14:47:04",
"upload_time_iso_8601": "2021-09-17T14:47:04.138867Z",
"url": "https://files.pythonhosted.org/packages/79/ac/87bdc172ca4d96f3b535f9c9c4aae70a8939f69a4e782db0ff6c75584574/python_cas-1.6.0-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "aa2bb8b595282bc6c4bc266e217205ee9ed421050f009d3e09fb959a218745b6",
"md5": "1bb82eb3c77ac1803a9da0aaaa867b0e",
"sha256": "b8f1dcb1b6c56b3ff4f86bbef47bcdfcf932061ccd4812ae35e3f63954dfdb28"
},
"downloads": -1,
"filename": "python-cas-1.6.0.tar.gz",
"has_sig": false,
"md5_digest": "1bb82eb3c77ac1803a9da0aaaa867b0e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
"size": 10476,
"upload_time": "2021-09-17T14:47:06",
"upload_time_iso_8601": "2021-09-17T14:47:06.022783Z",
"url": "https://files.pythonhosted.org/packages/aa/2b/b8b595282bc6c4bc266e217205ee9ed421050f009d3e09fb959a218745b6/python-cas-1.6.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2021-09-17 14:47:06",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "python-cas",
"github_project": "python-cas",
"travis_ci": true,
"coveralls": false,
"github_actions": true,
"requirements": [],
"tox": true,
"lcname": "python-cas"
}