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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d015767c28bdfb80fd9d29fb3ad28b376efc1c82d8f3dfaec00304f46cf50ecb |
|
MD5 | 36ca27aca35b4a80d72c7f0028d9dada |
|
BLAKE2b-256 | 04eb09f471e9a941d905c53f023ed5e2f1784c30c1d985b4c3561660135c811e |
Close
Hashes for apeman_model_client-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40c9328e6563ab1383d2c12a03aaa970ecc80ca4de8b9f1eec1bcbb23956e241 |
|
MD5 | ed886d760055d066a4fa4d6533221c7e |
|
BLAKE2b-256 | 0eb177c2984ff228a5cb4c030724d44dd83a84f76cbb62e6fef7423be95140a9 |