{"id":26316583,"url":"https://github.com/epilot-dev/sdk-python","last_synced_at":"2026-01-08T20:40:49.452Z","repository":{"id":128560111,"uuid":"596795204","full_name":"epilot-dev/sdk-python","owner":"epilot-dev","description":"Python SDK for Epilot APIs","archived":false,"fork":false,"pushed_at":"2024-04-13T00:20:08.000Z","size":5695,"stargazers_count":3,"open_issues_count":37,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-04-13T23:15:43.119Z","etag":null,"topics":["api","energy","energy-platform","energy-transition","python","sdk","sdk-python"],"latest_commit_sha":null,"homepage":"https://docs.epilot.io/docs/intro/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/epilot-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,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-02-02T23:58:32.000Z","updated_at":"2024-04-15T01:34:29.374Z","dependencies_parsed_at":"2023-12-19T04:48:23.636Z","dependency_job_id":"0ecf50a1-3ab3-4bd0-8e8e-88240b717ecf","html_url":"https://github.com/epilot-dev/sdk-python","commit_stats":{"total_commits":55,"total_committers":2,"mean_commits":27.5,"dds":"0.18181818181818177","last_synced_commit":"7935d40f87509bb2dbba21685158ce59351433bf"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epilot-dev%2Fsdk-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epilot-dev%2Fsdk-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epilot-dev%2Fsdk-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epilot-dev%2Fsdk-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/epilot-dev","download_url":"https://codeload.github.com/epilot-dev/sdk-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243732287,"owners_count":20338839,"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":["api","energy","energy-platform","energy-transition","python","sdk","sdk-python"],"created_at":"2025-03-15T13:16:10.386Z","updated_at":"2026-01-08T20:40:44.420Z","avatar_url":"https://github.com/epilot-dev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cpicture\u003e\n        \u003csource srcset=\"https://user-images.githubusercontent.com/68016351/221740028-fbe0a2da-c781-4641-ac18-0bb1d19d49e3.svg\" media=\"(prefers-color-scheme: dark)\" width=\"500\"\u003e\n        \u003cimg src=\"https://user-images.githubusercontent.com/68016351/221764522-4c54cadc-7697-49cf-a4f2-2838a8b30796.png\" width=\"500\"\u003e\n    \u003c/picture\u003e\n   \u003cp\u003eEpilot is the digital foundation for sales, service, network and implementation processes in the context of the energy transition..\u003c/p\u003e\n   \u003ca href=\"https://docs.epilot.io/api/access-token\"\u003e\u003cimg src=\"https://img.shields.io/static/v1?label=Docs\u0026message=API Ref\u0026color=000000\u0026style=for-the-badge\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-MIT-blue.svg?style=for-the-badge\" /\u003e\u003c/a\u003e\n\u003c/div\u003e\n\nThis is a monorepo of Python SDKs for the Epilot APIs. Please see the Epilot [developer documentation](https://docs.epilot.io/docs/intro/) for more information. Each SDK is an independent package with the folder name representing the API.\n\n## SDK Installation\n\nSDKs for each API are independently versioned and tagged enabling a per API installation. For example the sdk for the Automation API can be installed as follows: \n\n```bash\npip install epilot-automation\n```\n\n## Authentication\n\nTo call epilot APIs, requests must be authorized using a valid Access Token.\n\n### Using Access Token Authorization\nThe access token should be passed in the Authorization request header.\n\n```bash\nAuthorization: Bearer \u003cyour-access-token\u003e\n```\n\n### Creating Access Tokens\nUsers logged into the epilot 360 portal can manage their Access Tokens from Settings \u003e Access Tokens.\n\nCreating access tokens requires the `token:create` permission.\n\nAccess Token API\nAuthenticated users can generate long-term access tokens for 3rd party applications using the epilot Access Token API createAccessToken operation.\n\n```bash\nPOST /v1/access-tokens\n{\n  \"name\": \"Token for my application\"\n}\n```\nOptionally, you can pass a list of Role IDs, to define the roles the access token will have access to. By default, the access token inherits the caller's roles.\n\n```bash\nPOST /v1/access-tokens\n{\n  \"name\": \"Postman Access Token\",\n  \"assume_roles\": [\"123:owner\"]\n}\n```\nEach Access Token generated via the API gets a generated a unique ID.\n\n```bash\n// 201 - success\n{\n  \"id\": \"api_5ZugdRXasLfWBypHi93Fk\",\n  \"created_at\": \"2019-08-24T14:15:22Z\",\n  \"name\": \"Postman Access Token\",\n  \"assignments\": [\"123:owner\"]\n}\n```\nAccess tokens may also be revoked using the revokeAccessToken operation\n```bash\nDELETE /v1/access-tokens/api_5ZugdRXasLfWBypHi93Fk\n// 200 - success\n{\n  \"id\": \"api_5ZugdRXasLfWBypHi93Fk\",\n  \"created_at\": \"2019-08-24T14:15:22Z\",\n  \"name\": \"Postman Access Token\",\n  \"assignments\": [\"123:owner\"]\n}\n```\n## SDK Example Usage\n\nHere is an example of using the SDK. Please refer to each sub SDK folder for usage examples specific to an API. \n\n\u003c!-- Start SDK Example Usage --\u003e\n```python\nimport epilot\nfrom epilot.models import operations, shared\n\ns = epilot.Epilot(\n    security=shared.Security(\n        epilot_auth=\"Bearer YOUR_BEARER_TOKEN_HERE\",\n    ),\n)\n\n\nreq = operations.CancelExecutionRequest(\n    execution_id=\"9baf184f-bc81-4128-bca3-d974c90a12c4\",\n)\n    \nres = s.executions.cancel_execution(req)\n\nif res.automation_execution is not None:\n    # handle response\n```\n\u003c!-- End SDK Example Usage --\u003e\n\n### Contributions\n\nWhile we value open-source contributions to this SDK, this library is generated programmatically. Feel free to open a PR or a Github issue as a proof of concept and we'll do our best to include it in a future release !\n\n### SDK Created by [Speakeasy](https://docs.speakeasyapi.dev/docs/using-speakeasy/client-sdks)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepilot-dev%2Fsdk-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepilot-dev%2Fsdk-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepilot-dev%2Fsdk-python/lists"}