{ "info": { "author": "Samuel Abels", "author_email": "cheeseshop.python.org@debain.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License (GPL)", "Programming Language :: Python", "Topic :: Security", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Spiff Guard is a library implementing generic access lists for Python.\nIt was designed to provide a clean API, high security and high\nscalability. Working with an ACL is as simple as this:\n\n::\n\n from Guard import *\n guard = DB(db_connection)\n group = ResourceGroup(\"My Group\")\n user = Resource(\"My User\")\n website = ResourceGroup(\"My Website\")\n view = Action(\"View\")\n write = Action(\"Edit\")\n guard.register_type([Resource, ResourceGroup, Website])\n guard.add_action([view, write])\n guard.add_resource([user, group, website])\n guard.grant(group, view, website)\n guard.grant(user, edit, website)\n if guard.has_permission(user, view, website):\n print 'Permission granted.'\n\nSpiff Guard's features include recursion, groups, Python type awareness,\ninverse lookup, and a lot more. For a more complete example, have a look\ninto the `README file`_ included with the package. You may also look at the\n`API documentation`_.\n\n.. _README file: http://code.google.com/p/spiff-guard/source/browse/trunk/README\n.. _API documentation: http://spiff.debain.org/static/docs/spiff_guard/index.html", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://code.google.com/p/spiff-guard/", "keywords": "spiff guard acl acls security authentication object storage", "license": "GPLv2", "maintainer": null, "maintainer_email": null, "name": "SpiffGuard", "package_url": "https://pypi.org/project/SpiffGuard/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/SpiffGuard/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://code.google.com/p/spiff-guard/" }, "release_url": "https://pypi.org/project/SpiffGuard/1.9.2/", "requires_dist": null, "requires_python": null, "summary": "A Generic Access List Library", "version": "1.9.2" }, "last_serial": 84003, "releases": { "1.9.2": [ { "comment_text": "", "digests": { "md5": "adae9d6eb40b3373b82dc446799ee50e", "sha256": "b7a871c7142be3df313c4126337e76d5ac8224572b6d614b18e938f1cdab216f" }, "downloads": -1, "filename": "SpiffGuard-1.9.2.tar.gz", "has_sig": false, "md5_digest": "adae9d6eb40b3373b82dc446799ee50e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18560, "upload_time": "2009-01-09T17:14:16", "url": "https://files.pythonhosted.org/packages/8d/87/7851686bb233903e97183ab45329c0b1be3a3b9db21fcae82ccb3341ddf6/SpiffGuard-1.9.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "adae9d6eb40b3373b82dc446799ee50e", "sha256": "b7a871c7142be3df313c4126337e76d5ac8224572b6d614b18e938f1cdab216f" }, "downloads": -1, "filename": "SpiffGuard-1.9.2.tar.gz", "has_sig": false, "md5_digest": "adae9d6eb40b3373b82dc446799ee50e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18560, "upload_time": "2009-01-09T17:14:16", "url": "https://files.pythonhosted.org/packages/8d/87/7851686bb233903e97183ab45329c0b1be3a3b9db21fcae82ccb3341ddf6/SpiffGuard-1.9.2.tar.gz" } ] }