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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 559ee6976e55295466c25dbb3205868ad9ce4827bd74ffc2ae580c0c8192bd97 |
|
MD5 | fe2ba686931ea057c7193b6879817744 |
|
BLAKE2b-256 | 722f816faade8ba0274277e18292faba6c4e63db9bde14925b1e31f5725cfd70 |
Close
Hashes for apeman_model_client-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5b45fff42b6400615f4ab94b2e554c55a42cf66d0b3596b7c3b05fb380c6462 |
|
MD5 | eb62c20570ed9a6c6ec438462cbf5ea0 |
|
BLAKE2b-256 | 864717761c9fc6ffbe99914524786768a06d03bbd18afca89ea0672ebdc5d858 |