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 -i https://test.pypi.org/simple/ taskstatus-reporter==0.0.6
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()
client.report(task_id='xxxx', status=TaskStatus.RUNNING, progress=0.1, message='test', token='')
client.get_endpoint(model_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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef99f3d56e1bf93c7d8bd6f747f004120d0d892ac99434ef671daaa14416513c |
|
MD5 | 78e0cbcbb56f0815b07b3ff572d21e3a |
|
BLAKE2b-256 | e8556a71c168898da598d9d7dbd3639cd029b27aa988e1b1774228188f48a81f |
Close
Hashes for apeman_model_client-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5abf5072830e164208d20ce495af854ee971543881091a5250e71f8987a290ae |
|
MD5 | 671e7fa35e0a692cff460295d0a8e12a |
|
BLAKE2b-256 | ec78668d9482e210874714f6dd1f80f5ded01d87c25a81d8a4e9f001f1485a0d |