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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0616b0d3860d3918773c0ab770e036e131c814967fc42408796b18b044178ab4 |
|
MD5 | d41cf8679fe007c047334df6238001a6 |
|
BLAKE2b-256 | 2bb560f2c82ad3a1e2c845820651f27e0ad7984226e7965bfec4cd8a9ecbf806 |
Close
Hashes for apeman_model_client-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f63b6e152c24f55f4981ded62bd8fa9506b34115e062a73aa430306d3c910558 |
|
MD5 | 5ce21735db532f9b14ae971691d0534d |
|
BLAKE2b-256 | f794c3522f81d2f219b867347fcb6fd26906335dbef335149908cf141a98aa40 |