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.8
How to use
export apeman_meta_server_addr='localhost:9090'
import os
from apeman.model.openapi import apemanOpenApi
from apeman.model.openapi.model_instance_task_status import TaskStatus
client = apemanOpenApi.ApemanModelServiceClient()
# get endpoint of other model
client.get_endpoint(model_instance_id='test')
# report status
client.report(task_id='', status=TaskStatus.RUNNING, progress=0.1, message='test', token='')
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.9.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 527adeb3b03db5106047310d60bd5503115c3bd79b1aa2a05793612096b89922 |
|
MD5 | 04cfe5481ed0b7c3bd71131d43f678d2 |
|
BLAKE2b-256 | f4de79666c8b2b4f501d47da6608cfd850b5762e0e0de065a5cb9966e2e7035c |
Close
Hashes for apeman_model_client-0.1.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4ad055068057dc1ba36e1586a9347900b24a4724f6ee70bff7cc4647b6cd62d |
|
MD5 | 9cbd8e60e74de5d9c6c38666f1886cb3 |
|
BLAKE2b-256 | 2d0939f4de9eae80cbbd60d5e5c337f1d1a25a55b79a79509257f5b72375be2b |