Skip to main content

A simple my_platform_sdk_package

Project description

AIOZApiClient

API for AIOZ AI Platform

The aioz_api_client package is automatically generated by the OpenAPI Generator project:

  • API version: 1.0
  • Package version: 1.0.0
  • Generator version: 7.9.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit http://www.swagger.io/support

Requirements.

Python 3.7+

Installation & Usage

This python library package is generated without supporting files like setup.py or requirements files

To be able to use it, you will need these dependencies in your own package that uses this library:

  • urllib3 >= 1.25.3, < 3.0.0
  • python-dateutil >= 2.8.2
  • pydantic >= 2
  • typing-extensions >= 4.7.1

Getting Started

In your own code, to use this library to connect and interact with AIOZApiClient, you can run the following:

import aioz_api_client
from aioz_api_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost/api/v1
# See configuration.py for a list of all supported configuration parameters.
configuration = aioz_api_client.Configuration(
    host = "http://localhost/api/v1"
)



# Enter a context with an instance of the API client
with aioz_api_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = aioz_api_client.ApiKeyApi(api_client)
    x_api_key = 'x_api_key_example' # str | api-key (optional)

    try:
        # Get Api Key Balance
        api_response = api_instance.api_key_balance_get(x_api_key=x_api_key)
        print("The response of ApiKeyApi->api_key_balance_get:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling ApiKeyApi->api_key_balance_get: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost/api/v1

Class Method HTTP request Description
ApiKeyApi api_key_balance_get GET /api-key/balance Get Api Key Balance
ApiKeyApi api_key_permission_get GET /api-key/permission Get Api Key Permission
ApiKeyApi api_key_statistics_post POST /api-key/statistics Get Api Key Statistics
ApiKeyApi api_key_task_histories_get GET /api-key/task/histories Get Tasks Histories
ApiKeyApi api_key_task_id_cancel_delete DELETE /api-key/task/{id}/cancel Cancel Task By Api Key
ApiKeyApi api_key_task_id_result_get GET /api-key/task/{id}/result Get Task Result
ApiKeyApi api_key_task_post POST /api-key/task Distribute Task (Api-Key)
ApiKeyModelApi api_key_model_id_info_get GET /api-key/model/{id}/info Get Api Key Model Info
ApiKeyModelApi api_key_model_id_serving_get GET /api-key/model/{id}/serving Check Model Is Serving
ApiKeyModelApi api_key_model_id_statistics_post POST /api-key/model/{id}/statistics Get Model Statistics
ApiKeyModelApi api_key_model_id_task_cost_get GET /api-key/model/{id}/task/cost Get cost to compute task by model api key
ApiKeyModelApi api_key_model_verify_support_platforms_get GET /api-key/model/verify/support/platforms Get List Platforms Support By Api Key
ApiKeyModelVerifyApi api_key_model_id_pre_verify_post POST /api-key/model/{id}/pre-verify Check Valid Source code To Verify Ai Model By Api Key
ApiKeyModelVerifyApi api_key_model_id_verify_cost_post POST /api-key/model/{id}/verify/cost Calculate Cost To Verify Ai Model By Api Key
ApiKeyModelVerifyApi api_key_model_id_verify_post POST /api-key/model/{id}/verify Verify Ai Model By Api Key
ApiKeyModelVerifyApi api_key_model_id_verify_task_get GET /api-key/model/{id}/verify/task Get List Verify Model Task By Commit Hash And Status
ApiKeyModelVerifyApi api_key_model_verify_hub_task_id_get GET /api-key/model/verify/hub/task/{id} Get Model Versioning By Hub Task Id By Api Key
ApiKeyModelVerifyApi api_key_model_verify_platform_task_id_get GET /api-key/model/verify/platform/task/{id} Get Verify Platform Task By Id By Api Key
ApiKeyModelVersioningApi api_key_model_id_versioning_delete DELETE /api-key/model/{id}/versioning Delete Model Versioning By Commit Hash By Api Key
ApiKeyModelVersioningApi api_key_model_id_versioning_get GET /api-key/model/{id}/versioning Get Current Model Versioning By Model Id By ApiKey
ApiKeyModelVersioningApi api_key_model_id_versioning_list_get GET /api-key/model/{id}/versioning/list Get Verified List Model Versioning By Api Key
ApiKeyModelVersioningApi api_key_model_id_versioning_put PUT /api-key/model/{id}/versioning Change Model Versioning By Commit Hash By Api Key
ApiKeyRepositoryApi api_key_repository_owner_username_repository_name_commit_history_get GET /api-key/repository/{ownerUsername}/{repositoryName}/commit/history Get commit history by repository name and branch name by api key

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

BearerAuth

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Author

support@swagger.io

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

my_platform_sdk_package-0.1.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

my_platform_sdk_package-0.1.0-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file my_platform_sdk_package-0.1.0.tar.gz.

File metadata

  • Download URL: my_platform_sdk_package-0.1.0.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for my_platform_sdk_package-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d8e125e144b9f054156df7e00e3d58b7bb1dc57e63139859410c8e9e64f32e28
MD5 12028b8e301aba1948a23e9ebdac3932
BLAKE2b-256 61bfc84daeefeb172b9123f1112d10aab98a52270e02778bf5ec7efe11b1e0f3

See more details on using hashes here.

File details

Details for the file my_platform_sdk_package-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for my_platform_sdk_package-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4387901f26f6a1acba7aea2b973024c9ab015a21f185b9d39447bf2b5ceddfa0
MD5 c3cf66f8da34083b3a701373aaba5dd8
BLAKE2b-256 5b992415efa0a66b0094bef2cfdf861c23ce71fcbb04339df5097caa4dace36c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page