{"id":16868738,"url":"https://github.com/ahopkins/sscopes-python","last_synced_at":"2025-08-17T01:33:59.488Z","repository":{"id":87629491,"uuid":"131477717","full_name":"ahopkins/sscopes-python","owner":"ahopkins","description":"An implementation of Structured Scopes in Python","archived":false,"fork":false,"pushed_at":"2019-05-07T12:11:44.000Z","size":31,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T18:56:49.597Z","etag":null,"topics":["authentication","permissions","python","scopes","structured-scopes"],"latest_commit_sha":null,"homepage":"https://ahopkins.github.io/structured-scopes/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ahopkins.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.rst","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-04-29T08:22:36.000Z","updated_at":"2020-09-15T09:04:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"6a9bd7d4-5417-467b-b5d6-174f94c1ed0a","html_url":"https://github.com/ahopkins/sscopes-python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ahopkins/sscopes-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahopkins%2Fsscopes-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahopkins%2Fsscopes-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahopkins%2Fsscopes-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahopkins%2Fsscopes-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahopkins","download_url":"https://codeload.github.com/ahopkins/sscopes-python/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahopkins%2Fsscopes-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270796216,"owners_count":24647319,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-16T02:00:11.002Z","response_time":91,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["authentication","permissions","python","scopes","structured-scopes"],"created_at":"2024-10-13T14:59:17.088Z","updated_at":"2025-08-17T01:33:59.479Z","avatar_url":"https://github.com/ahopkins.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahopkins%2Fsscopes-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahopkins%2Fsscopes-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahopkins%2Fsscopes-python/lists"}