ebiose-cloud-client
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
This Python package is automatically generated by the OpenAPI Generator project:
- API version: 1.0
- Package version: 0.1.137
- Generator version: 7.17.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Requirements.
Python 3.9+
Installation & Usage
pip install
If the python package is hosted on a repository, you can install directly using:
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)
Then import the package:
import ebiose_cloud_client
Setuptools
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install to install the package for all users)
Then import the package:
import ebiose_cloud_client
Tests
Execute pytest to run the tests.
Getting Started
Please follow the installation procedure and then run the following:
import ebiose_cloud_client
from ebiose_cloud_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = ebiose_cloud_client.Configuration(
host = "http://localhost"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure API key authorization: ApiKey
configuration.api_key['ApiKey'] = os.environ["API_KEY"]
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['ApiKey'] = 'Bearer'
# Configure Bearer authorization (JWT): Bearer
configuration = ebiose_cloud_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
async with ebiose_cloud_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = ebiose_cloud_client.ApiKeyApi(api_client)
api_key_input_model = ebiose_cloud_client.ApiKeyInputModel() # ApiKeyInputModel |
try:
api_response = await api_instance.add_api_key(api_key_input_model)
print("The response of ApiKeyApi->add_api_key:\n")
pprint(api_response)
except ApiException as e:
print("Exception when calling ApiKeyApi->add_api_key: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to http://localhost
| Class | Method | HTTP request | Description |
|---|---|---|---|
| ApiKeyApi | add_api_key | POST /apikeys | |
| ApiKeyApi | delete_api_key | DELETE /apikeys/{apiKeyUuid} | |
| ApiKeyApi | get_api_key | GET /apikeys/{apiKeyUuid} | |
| ApiKeyApi | get_api_keys | GET /apikeys | |
| ApiKeyApi | self_add_api_key | POST /apikeys/self | |
| ApiKeyApi | self_delete_api_key | DELETE /apikeys/self/{apiKeyUuid} | |
| ApiKeyApi | self_get_api_keys | GET /apikeys/self | |
| ApiKeyApi | update_api_key | PUT /apikeys/{apiKeyUuid} | |
| AuthEndpointsApi | login | POST /auth/login | |
| AuthEndpointsApi | login_github | GET /auth/github/login | |
| AuthEndpointsApi | refresh_token | GET /auth/refresh-token | |
| AuthEndpointsApi | self_update | PUT /auth/self-update | |
| AuthEndpointsApi | sign_up | POST /auth/signup | |
| AuthEndpointsApi | update_password | PUT /auth/update-password | |
| AuthEndpointsApi | user_info | GET /auth/user-info | |
| BackendApi | root_get | GET / | |
| EcosystemEndpointsApi | ecosystems_ecosystem_uuid_agent_agent_uuid_get | GET /ecosystems/{ecosystemUuid}/agent/{agentUuid} | |
| EcosystemEndpointsApi | ecosystems_ecosystem_uuid_agent_agent_uuid_put | PUT /ecosystems/{ecosystemUuid}/agent/{agentUuid} | |
| EcosystemEndpointsApi | ecosystems_ecosystem_uuid_agent_post | POST /ecosystems/{ecosystemUuid}/agent | |
| EcosystemEndpointsApi | ecosystems_ecosystem_uuid_agents_delete | DELETE /ecosystems/{ecosystemUuid}/agents | |
| EcosystemEndpointsApi | ecosystems_ecosystem_uuid_agents_get | GET /ecosystems/{ecosystemUuid}/agents | |
| EcosystemEndpointsApi | ecosystems_ecosystem_uuid_agents_post | POST /ecosystems/{ecosystemUuid}/agents | |
| EcosystemEndpointsApi | ecosystems_get | GET /ecosystems | |
| EcosystemEndpointsApi | ecosystems_post | POST /ecosystems | |
| EcosystemEndpointsApi | ecosystems_uuid_delete | DELETE /ecosystems/{uuid} | |
| EcosystemEndpointsApi | ecosystems_uuid_get | GET /ecosystems/{uuid} | |
| EcosystemEndpointsApi | ecosystems_uuid_put | PUT /ecosystems/{uuid} | |
| ForgeEndpointsApi | add_agent_during_forge_cycle | POST /forges/cycles/{forgeCycleUuid}/agent | |
| ForgeEndpointsApi | add_agents_during_forge_cycle | POST /forges/cycles/{forgeCycleUuid}/agents | |
| ForgeEndpointsApi | delete_forge | DELETE /forges/{forgeUuid} | |
| ForgeEndpointsApi | end_forge_cycle | POST /forges/cycles/{forgeCycleUuid}/end | |
| ForgeEndpointsApi | forges_cycles_forge_cycle_uuid_deduct_compute_banks_post | POST /forges/cycles/{forgeCycleUuid}/deduct-compute-banks | |
| ForgeEndpointsApi | forges_cycles_forge_cycle_uuid_select_agents_get | GET /forges/cycles/{forgeCycleUuid}/select-agents | |
| ForgeEndpointsApi | forges_cycles_forge_cycle_uuid_usage_post | POST /forges/cycles/{forgeCycleUuid}/usage | |
| ForgeEndpointsApi | get_forge | GET /forges/{forgeUuid} | |
| ForgeEndpointsApi | get_forge_cycles | GET /forges/cycles | |
| ForgeEndpointsApi | get_forges | GET /forges | |
| ForgeEndpointsApi | get_spend | GET /forges/cycles/{forgeCycleUuid}/spend | |
| ForgeEndpointsApi | start_new_forge_cycle | POST /forges/cycles/start | |
| ForgeEndpointsApi | update_forge | PUT /forges/{forgeUuid} | |
| FrontApiApi | front_api_agents_agent_uuid_get | GET /front-api/agents/{agentUuid} | |
| FrontApiApi | front_api_agents_get | GET /front-api/agents | |
| UsersApi | users_email_email_get | GET /users/email/{email} | |
| UsersApi | users_get | GET /users | |
| UsersApi | users_post | POST /users | |
| UsersApi | users_user_uuid_delete | DELETE /users/{userUuid} | |
| UsersApi | users_user_uuid_get | GET /users/{userUuid} | |
| UsersApi | users_user_uuid_put | PUT /users/{userUuid} |
Documentation For Models
- AgentInputModel
- AgentModelInputModel
- AgentModelOutputModel
- AgentModelType
- AgentOutputModel
- AgentType
- ApiKeyInputModel
- ApiKeyOutputModel
- EcosystemInputModel
- EcosystemOutputModel
- ForgeCycleInputModel
- ForgeCycleOutputModel
- ForgeCycleStatus
- ForgeInputModel
- ForgeOutputModel
- FrontApiAgentDetailsOutputModel
- FrontApiAgentOutputModel
- LoginInputModel
- LoginOutputModel
- NewCycleOutputModel
- NodeModel
- NodeType
- Role
- SelfApiKeyInputModel
- SelfUserInputModel
- SignupInputModel
- StartForgeCycleInputModel
- UserInputModel
- UserOutputModel
Documentation For Authorization
Authentication schemes defined for the API:
ApiKey
- Type: API key
- API key parameter name: ApiKey
- Location: HTTP header
Bearer
- Type: Bearer authentication (JWT)
Author
Metadata
Release files for ebiose-cloud-client 0.1.137
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ebiose_cloud_client-0.1.137.tar.gz | 51.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ebiose_cloud_client-0.1.137-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 140.0 kB
Release files / ebiose_cloud_client-0.1.137.tar.gz
| Download URL | ebiose_cloud_client-0.1.137.tar.gz |
|---|---|
| Size | 51.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2964c5871301464df31b2c2a1bb80c7866baf4472022564a8993322e1f14f552
|
|
BLAKE2b-256 checksum How to use checksums |
99101396ed046743ad45fc09a4f5972c13085726513f0e4c54134813aa3e7578
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / ebiose_cloud_client-0.1.137-py3-none-any.whl
| Download URL | ebiose_cloud_client-0.1.137-py3-none-any.whl |
|---|---|
| Size | 88.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3fb7a43b09145e327670da2ba57248e940babfe30cb505b51a67a97a70be2313
|
|
BLAKE2b-256 checksum How to use checksums |
e025c4b8ab5f4d7ad361118b69be5f2b5b0e2707c1c9107b75c47de474020f30
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|