{ "info": { "author": "Ryan Fox", "author_email": "ryan@foxrow.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: Apache Software License", "Topic :: System :: Systems Administration :: Authentication/Directory", "Topic :: Utilities" ], "description": "===============\npycas v0.0.3\n===============\n\nNotice: this seems to not quite fit the needs of the project it was intended for. It will remain in its current form,\nbut consider the package no longer maintained. Feel free to improve it further if you choose, and submit pull\nrequests on github.\n\nWhat?\n===============\nThis is a copy of Jon Rifkin's Python CAS client. The original can be found at\nhttps://wiki.jasig.org/display/CASC/Pycas. This fork lives at https://github.com/ryanfox/pycas and on Pypi.\n\nThe original appears to have not been updated for some time now, and is not on Pypi. This is an attempt to rectify\nthat situation.\n\nPotential things to be added:\n - Unit tests\n - Better security:\n * Remove default secret key\n * Better yet, ditch md5 entirely\n * Add signed cookies (e.g. itsdangerous)\n - Enforce the timeout\n\nInstallation\n==============\n::\n\n pip install pycas\n\nWhy?\n==============\nThe pycas CAS client provides CAS authentication for your Python CGI web application.\n\nHow?\n==============\nSTEPS TO ADD CAS AUTHENTICATION\n\n1) Add four lines to your Python Web app like this: ::\n\n import pycas\n CAS_SERVER = \"https://casserver.mydomain\"\n SERVICE_URL = \"http://webserver.mydomain/cgi-bin/webapp.py\"\n status, userid, cookie = pycas.login(CAS_SERVER, SERVICE_URL)\n\n2) Process the returned variables::\n\n status carries the success or failure status.\n userid is the user's account name.\n cookie is the header string to send to the client if it's not empty.\n\nFor more information, see comments in the Python code.", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ryanfox/pycas", "keywords": "CAS authentication", "license": "Apache 2.0", "maintainer": null, "maintainer_email": null, "name": "pycas", "package_url": "https://pypi.org/project/pycas/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pycas/", "project_urls": { "Homepage": "https://github.com/ryanfox/pycas" }, "release_url": "https://pypi.org/project/pycas/0.0.3/", "requires_dist": null, "requires_python": null, "summary": "A pypi-downloadable version of Jon Rifkin's pycas client.", "version": "0.0.3" }, "last_serial": 1160195, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "d228b8be1563b8f0fcc74ac6affb4270", "sha256": "3d836b6c6f0ade2a5c11705e7327c17d18cda5ef3b89224a115b463bcf26d048" }, "downloads": -1, "filename": "pycas-0.0.1.tar.gz", "has_sig": false, "md5_digest": "d228b8be1563b8f0fcc74ac6affb4270", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6048, "upload_time": "2014-07-14T17:23:25", "url": "https://files.pythonhosted.org/packages/7d/3b/74857cefaf6877a93b3955bc8d68ab0c20928186c236ea024123a42ec10c/pycas-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "4b8e916d4655a0ae88efcf60009af436", "sha256": "dd39c692ecab03bed6026f1ad8ae99532a8b3c3dd31430599eec00933b5aaca6" }, "downloads": -1, "filename": "pycas-0.0.2.tar.gz", "has_sig": false, "md5_digest": "4b8e916d4655a0ae88efcf60009af436", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6310, "upload_time": "2014-07-15T16:45:08", "url": "https://files.pythonhosted.org/packages/8a/92/c201ba7842c255d503316edcdb9c23783b83982e78e85e487707aaff46df/pycas-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "239b8d3d446f4bd832e22e8f0a54dd24", "sha256": "877b28b0e26a95f18d5943062d9a97139591afb434f8481b7c6575feefc93025" }, "downloads": -1, "filename": "pycas-0.0.3.tar.gz", "has_sig": false, "md5_digest": "239b8d3d446f4bd832e22e8f0a54dd24", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6467, "upload_time": "2014-07-16T22:26:38", "url": "https://files.pythonhosted.org/packages/b0/65/1dca734c210bf44385f91a0c3b539c8c9019027b222e198fdb507becb045/pycas-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "239b8d3d446f4bd832e22e8f0a54dd24", "sha256": "877b28b0e26a95f18d5943062d9a97139591afb434f8481b7c6575feefc93025" }, "downloads": -1, "filename": "pycas-0.0.3.tar.gz", "has_sig": false, "md5_digest": "239b8d3d446f4bd832e22e8f0a54dd24", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6467, "upload_time": "2014-07-16T22:26:38", "url": "https://files.pythonhosted.org/packages/b0/65/1dca734c210bf44385f91a0c3b539c8c9019027b222e198fdb507becb045/pycas-0.0.3.tar.gz" } ] }