{ "info": { "author": "Adam Hopkins", "author_email": "admhpkns@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# Structured Scopes\n\n[View the documentation](https://ahopkins.github.io/structured-scopes/) to learn more.\n\n## Abstract\n\nThis is an abstract specification for the use of structured scopes in permission granting utilities.\n\n## Introduction\n\nThe goal of this endeavor is to standardize and define the meaning, and usage of \"scopes\" for implementation in an authorization utility. It is [licensed](https://github.com/ahopkins/structured-scopes/blob/master/LICENSE) under the [CC0 1.0 Universal (CC0 1.0)\nPublic Domain Dedication](https://creativecommons.org/publicdomain/zero/1.0/) All other copyrights and other rights, if any, are hereby reserved.\n\n## Purpose\n\nThe purpose of \"scoping\" is to provide a pass/fail response to a request for permission on a defined resource to authorized clients having the requisite permission level. A common application would be for permissioning on protected resources, for example, on web requests.\n\n## Install\n\n```\npip install sscopes\n```\n\n## Brief\n\nExamples in brief:\n\n```\nBase: user\nInbound: foobar\nResult: fail\n\n\nBase: user\nInbound: user\nResult: pass\n\n\nBase: user:write\nInbound: user\nResult: pass\n\n\nBase: user:write\nInbound: user:read\nResult: fail\n```\n\nSee [more examples](https://ahopkins.github.io/structured-scopes/examples/)\n\n\n## Implementations\n\n- Python - [source](https://github.com/ahopkins/sscopes-python) | [docs](https://ahopkins.github.io/structured-scopes/implementations/)\n- Javascript - [source](https://github.com/ahopkins/sscopes-javascript) | [docs](https://ahopkins.github.io/structured-scopes/implementations/)\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ahopkins/sscopes", "keywords": "sscopes", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "sscopes", "package_url": "https://pypi.org/project/sscopes/", "platform": "", "project_url": "https://pypi.org/project/sscopes/", "project_urls": { "Homepage": "https://github.com/ahopkins/sscopes" }, "release_url": "https://pypi.org/project/sscopes/0.2.0/", "requires_dist": null, "requires_python": "", "summary": "Python implementation of Structured Scopes", "version": "0.2.0" }, "last_serial": 5237898, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "feab85fc6254f94df4e1c7331cbec197", "sha256": "311dc7615d484be3a9930c518dff236e94f5d2020c61f4a88d8d031cca45234f" }, "downloads": -1, "filename": "sscopes-0.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "feab85fc6254f94df4e1c7331cbec197", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 5134, "upload_time": "2018-10-30T22:55:02", "url": "https://files.pythonhosted.org/packages/3c/ae/1eb6f1fb277f7041e181b470f2cca0ae03493ab062dd82db597ff0018814/sscopes-0.1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5a29e9bb16d859dda83721df17715fb1", "sha256": "f6e161f52a51539db865efb4cf1bbe486ea9df2ecfa5f4b53a22d5d5263fabed" }, "downloads": -1, "filename": "sscopes-0.1.0.tar.gz", "has_sig": false, "md5_digest": "5a29e9bb16d859dda83721df17715fb1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10617, "upload_time": "2018-10-30T22:55:03", "url": "https://files.pythonhosted.org/packages/66/21/621733071bbdba35beac2f8121ee2979f06b6cf29e8682877ea211f959b9/sscopes-0.1.0.tar.gz" } ], "0.1dev": [ { "comment_text": "", "digests": { "md5": "bbb8a364f64d5741ff6b1f4e45adfb70", "sha256": "bd7bca27b7e91f418943ef16cd185035427dcdbab28e2a86d799b0a142ca41f8" }, "downloads": -1, "filename": "sscopes-0.1dev.tar.gz", "has_sig": false, "md5_digest": "bbb8a364f64d5741ff6b1f4e45adfb70", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 735, "upload_time": "2018-04-29T10:57:34", "url": "https://files.pythonhosted.org/packages/02/be/986f41d1337880686822f03071ec7f249346c03017614c18f58c66c14e8a/sscopes-0.1dev.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "a11ecc73aa7a67be1b4774d9d226ac31", "sha256": "79d24b2ab441ba7a1709d21f71a699e4698c04e5010e241fdc57260e921372f1" }, "downloads": -1, "filename": "sscopes-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a11ecc73aa7a67be1b4774d9d226ac31", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5182, "upload_time": "2019-05-07T12:11:13", "url": "https://files.pythonhosted.org/packages/a7/80/fcf8350a360c55ea6390552a7d553cd3879f57a1ffa4abd7cd658a1b1bf6/sscopes-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f1aac1da9256bd25c47ff03d68aceb52", "sha256": "0b373a8cd6dcffdc5cd159a7941210369b218bd2541550318d74e1fc1b5288b0" }, "downloads": -1, "filename": "sscopes-0.2.0.tar.gz", "has_sig": false, "md5_digest": "f1aac1da9256bd25c47ff03d68aceb52", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11748, "upload_time": "2019-05-07T12:11:15", "url": "https://files.pythonhosted.org/packages/19/a5/ca6351e061625450d8efa753a0badb501bbfb60cfb4f8e279b263767e943/sscopes-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a11ecc73aa7a67be1b4774d9d226ac31", "sha256": "79d24b2ab441ba7a1709d21f71a699e4698c04e5010e241fdc57260e921372f1" }, "downloads": -1, "filename": "sscopes-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a11ecc73aa7a67be1b4774d9d226ac31", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5182, "upload_time": "2019-05-07T12:11:13", "url": "https://files.pythonhosted.org/packages/a7/80/fcf8350a360c55ea6390552a7d553cd3879f57a1ffa4abd7cd658a1b1bf6/sscopes-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f1aac1da9256bd25c47ff03d68aceb52", "sha256": "0b373a8cd6dcffdc5cd159a7941210369b218bd2541550318d74e1fc1b5288b0" }, "downloads": -1, "filename": "sscopes-0.2.0.tar.gz", "has_sig": false, "md5_digest": "f1aac1da9256bd25c47ff03d68aceb52", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11748, "upload_time": "2019-05-07T12:11:15", "url": "https://files.pythonhosted.org/packages/19/a5/ca6351e061625450d8efa753a0badb501bbfb60cfb4f8e279b263767e943/sscopes-0.2.0.tar.gz" } ] }