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.0
How to use
export apeman_meta_server_addr='localhost:9090'
import os
from apeman_model_client import apemanModelClient
from apeman_model_client.model_instance_task_status import TaskStatus
client = apemanModelClient.ApemanModelServiceClient()
# report status of the model instance task
client.report(task_id='xxxx', status=TaskStatus.RUNNING, progress=0.1, message='test', token='')
# get endpoint of the model instance
client.get_endpoint(model_instance_id='test')
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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bcdc86185200af10f91bea4b4972b070c0f30f798e36c7a5a2bf64d42b449c2 |
|
MD5 | 3d704b328513f528bd637dded9cb2fe2 |
|
BLAKE2b-256 | 8b16b690c3cdee80387393e21ac474f87febc6bb99d220e1150a0af9b5c7e461 |
Close
Hashes for apeman_model_client-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 570d0310d84550dd29d3bb7e03c9d67f8d975e952328668ee9b3d85dafba6a30 |
|
MD5 | 520bd94b14aabb6d648535086368c339 |
|
BLAKE2b-256 | 9b168512c00d4af82a453f894738465cc7fdf8717733d26481ef519add908fef |