Apeman model service client SDK
Project description
This library enables you to report the status of tasks in your model at runtime
publish:
python setup.py sdist bdist_wheel
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
install: pip install apeman-model-client==0.1.8
How to use
export apeman_meta_server_addr='localhost:9090'
import os
from apeman.model.openapi import apemanOpenApi
from apeman.model.openapi.model_instance_task_status import TaskStatus
client = apemanOpenApi.ApemanModelServiceClient()
# get endpoint of other model
client.get_endpoint(model_instance_id='test')
# report status
client.report(task_id='', status=TaskStatus.RUNNING, progress=0.1, message='test', token='')
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
Close
Hashes for apeman-model-client-0.1.10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a60342fa71b65d85ec0038ecc1145618e03b013226bf585660f69b9425a963e7 |
|
MD5 | 99c3d5cc17e61b1d27b5f7f7cdf5a73f |
|
BLAKE2b-256 | 1ce77f28459a7d99e98221600d348f891582a538437b0c180508eedaea97a4e6 |
Close
Hashes for apeman_model_client-0.1.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fd2da371ab2630c673465c9f4c2f44623a926590ac02925f3533ce7471820d7 |
|
MD5 | c9c12c408532593d8f4a843ff05c2dea |
|
BLAKE2b-256 | 45fce666b64d1d97b6a17c6159238d3e81f782c4afcadb97eaafe3e52a7c9215 |