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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c73a0cd7cf0fdcfe4dfcf9dff238204036fcbe1edcf899ed72735d61ad85646e |
|
MD5 | a22d688229de11a7e76b5a59ef063d67 |
|
BLAKE2b-256 | fb783afccf49be03226b545288fa117c81f18ff3b928ac9bc16255533e7c5712 |
Close
Hashes for apeman_model_client-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e186d3cd07931a6cfee9f21dbcec58d23294890cc39e5861f844f0549acbe80 |
|
MD5 | 0636c490bfda3e27f1cbd1990f4fd450 |
|
BLAKE2b-256 | 05f7401696942f2dc301f6b9e8c9a542215973a33dd3a040cac1578c170276a3 |