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()
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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7e634472361b079a4a2c54a679f00da2613431508bb8a0dc580acd3fcf77d7b |
|
MD5 | e918dd397d5fb302e1049107f6907219 |
|
BLAKE2b-256 | 4d0a1f99d937f9d006846f307263f98675f87dfb4857cc899209f9a23b5e7356 |
Close
Hashes for apeman_model_client-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34197b019e7f25d46703eb7580f3f7d963fd57fdf01b2ea031e48e8a841ac658 |
|
MD5 | 3460d4ced59ec5f1851a6cd1211302bc |
|
BLAKE2b-256 | 103b5201579facb010cd1b97dd3463ffea66d5e350f1e17bee23847185adf6dc |