REST ML-AI API
Project description
ml_tracking-api
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
The ml_tracking
package is automatically generated by the OpenAPI Generator project:
- API version: v1
- Package version: 1.2.5
- Build date: 2021-07-31T11:10:57.661Z[GMT]
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
Requirements.
Python >= 3.6
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
- python-dateutil
Getting Started
In your own code, to use this library to connect and interact with ml_tracking-api, you can run the following:
import time
import ml_tracking
from pprint import pprint
from ml_tracking.api import data_rows_api
from ml_tracking.model.create_data_row_command import CreateDataRowCommand
from ml_tracking.model.data_row_dto_paginated_list import DataRowDtoPaginatedList
from ml_tracking.model.update_data_row_command import UpdateDataRowCommand
# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = ml_tracking.Configuration(
host = "http://localhost"
)
# Enter a context with an instance of the API client
with ml_tracking.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = data_rows_api.DataRowsApi(api_client)
page_number = 1 # int | (optional)
page_size = 1 # int | (optional)
try:
api_response = api_instance.api_data_rows_get(page_number=page_number, page_size=page_size)
pprint(api_response)
except ml_tracking.ApiException as e:
print("Exception when calling DataRowsApi->api_data_rows_get: %s\n" % e)
Documentation for API Endpoints
All URIs are relative to http://localhost
Class | Method | HTTP request | Description |
---|---|---|---|
DataRowsApi | api_data_rows_get | GET /api/DataRows | |
DataRowsApi | api_data_rows_id_delete | DELETE /api/DataRows/{id} | |
DataRowsApi | api_data_rows_id_put | PUT /api/DataRows/{id} | |
DataRowsApi | api_data_rows_limit_get | GET /api/DataRows/{limit} | |
DataRowsApi | api_data_rows_post | POST /api/DataRows | |
HostedServiceApi | api_hosted_service_get | GET /api/HostedService | |
MlModelApi | api_ml_model_after_epoch_post | POST /api/MlModel/AfterEpoch | |
MlModelApi | api_ml_model_iteration_post | POST /api/MlModel/Iteration | |
MlModelApi | api_ml_model_register_post | POST /api/MlModel/Register | |
MlModelApi | api_ml_model_save_path_session_id_get | GET /api/MlModel/SavePath/{sessionId} | |
MlModelApi | api_ml_model_save_script_post | POST /api/MlModel/SaveScript | |
MlModelApi | api_ml_model_update_status_post | POST /api/MlModel/UpdateStatus |
Documentation For Models
- CreateDataRowCommand
- DataRowDto
- DataRowDtoPaginatedList
- EpochUpdateCommand
- HostedServiceDto
- IterationUpdateCommand
- RegisterModelRunCommand
- SaveNotebookCodeCommand
- StatusUpdateCommand
- UpdateDataRowCommand
Documentation For Authorization
All endpoints do not require authorization.
Author
Notes for Large OpenAPI documents
If the OpenAPI document is large, imports in ml_tracking.apis and ml_tracking.models may fail with a RecursionError indicating the maximum recursion limit has been exceeded. In that case, there are a couple of solutions:
Solution 1: Use specific imports for apis and models like:
from ml_tracking.api.default_api import DefaultApi
from ml_tracking.model.pet import Pet
Solution 2: Before importing the package, adjust the maximum recursion limit as shown below:
import sys
sys.setrecursionlimit(1500)
import ml_tracking
from ml_tracking.apis import *
from ml_tracking.models import *
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ml_tracking-api-1.2.9.tar.gz
.
File metadata
- Download URL: ml_tracking-api-1.2.9.tar.gz
- Upload date:
- Size: 53.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db3ad0aa4520695d0b34d98c01192072d11a58027df5d5ef721b1bab1747c6f5 |
|
MD5 | 8d78b12622238c3855a2f937e0894067 |
|
BLAKE2b-256 | 32a76a06d15b91708472f5c4396fd163265831d47ad05ca81e1e7feeecc46e5d |
File details
Details for the file ml_tracking_api-1.2.9-py3-none-any.whl
.
File metadata
- Download URL: ml_tracking_api-1.2.9-py3-none-any.whl
- Upload date:
- Size: 121.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40602d3005d15e19f44329209950fa92dc1c6340ad1a4f39696c3b7148ab7d18 |
|
MD5 | 1fa5b22e79f4224f4669e13e9769212a |
|
BLAKE2b-256 | e232a6230f08c69c02d5101717aadfa9037e82e5eea0514bc592a839a9ddee2b |