{"id":18812428,"url":"https://github.com/warrant-dev/warrant-python","last_synced_at":"2025-04-13T21:13:59.363Z","repository":{"id":40397419,"uuid":"407029162","full_name":"warrant-dev/warrant-python","owner":"warrant-dev","description":"Python SDK for Warrant","archived":false,"fork":false,"pushed_at":"2024-06-03T19:09:44.000Z","size":48,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-13T21:13:49.539Z","etag":null,"topics":["abac","access-control","acl","attribute-based-access-control","authorization","authz","permissions","python","rbac","role-based-access-control"],"latest_commit_sha":null,"homepage":"","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/warrant-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-09-16T05:13:21.000Z","updated_at":"2025-04-01T17:32:14.000Z","dependencies_parsed_at":"2023-11-08T03:22:26.628Z","dependency_job_id":"5357da0f-ab95-4304-ac2a-d8d1e3973fb7","html_url":"https://github.com/warrant-dev/warrant-python","commit_stats":{"total_commits":24,"total_committers":6,"mean_commits":4.0,"dds":0.625,"last_synced_commit":"2d22c2744ab3a083b0b72234eb53b3ca68bb30e8"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warrant-dev%2Fwarrant-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warrant-dev%2Fwarrant-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warrant-dev%2Fwarrant-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warrant-dev%2Fwarrant-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/warrant-dev","download_url":"https://codeload.github.com/warrant-dev/warrant-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248782260,"owners_count":21160717,"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","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":["abac","access-control","acl","attribute-based-access-control","authorization","authz","permissions","python","rbac","role-based-access-control"],"created_at":"2024-11-07T23:32:57.718Z","updated_at":"2025-04-13T21:13:59.332Z","avatar_url":"https://github.com/warrant-dev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Warrant Python Library\n\nUse [Warrant](https://warrant.dev/) in Python projects.\n\n[![PyPI](https://img.shields.io/pypi/v/warrant-python)](https://pypi.org/project/warrant-python/)\n\n## Installation\n\n```python\npip install warrant-python\n```\n\n## Usage\n\n```python\nimport warrant\n\nwarrant.api_key = \"api_test_f5dsKVeYnVSLHGje44zAygqgqXiLJBICbFzCiAg1E=\"\n\nwarrant.User.create()\nwarrant.Tenant.create(id=\"dunder_mifflin\")\n```\n\n## Configuring the API Endpoint\n---\nThe API endpoint the SDK makes requests to is configurable via the `warrant.api_endpoint` attribute:\n\n```python\nimport warrant\n\n# Set api endpoint to http://localhost:8000\nwarrant.api_endpoint = 'http://localhost:8000'\n```\n\nWe’ve used a random API key in these code examples. Replace it with your\n[actual publishable API keys](https://app.warrant.dev) to\ntest this code through your own Warrant account.\n\nFor more information on how to use the Warrant API, please refer to the\n[Warrant API reference](https://docs.warrant.dev).\n\nNote that we may release new [minor and patch](https://semver.org/) versions of this library with small but backwards-incompatible fixes to the type declarations. These changes will not affect Warrant itself.\n\n## Warrant Documentation\n\n- [Warrant Docs](https://docs.warrant.dev/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarrant-dev%2Fwarrant-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwarrant-dev%2Fwarrant-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarrant-dev%2Fwarrant-python/lists"}