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.1.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.1-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: my_platform_sdk_package-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 d86c77921fe5012e35da11b35f2f74c1e2b3ddf764d6be4a82cc719bc3591bd0
MD5 05d77a2d9824b2d02899f5ae8a827941
BLAKE2b-256 f7d34fe8a658c25ae933e3027a16887a0e77074181d7c4ed5d5e19fd88d1af77

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for my_platform_sdk_package-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 949b3c7a5a2aa1a06e493bdaac30a910f9a02765c31f7441afd6b0f3b1e50256
MD5 5fe46519404c79dfc776ba24ef13b9e1
BLAKE2b-256 e2b8a5d9f4a5c7e4897e84f1564ac7cca018481ddcdf616199463913278f111b

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