Metadata-Version: 2.1
Name: apeman-model-client
Version: 0.1.3
Summary: Apeman model service client SDK
Home-page: UNKNOWN
Author: Apeman
Author-email: admin@apeman.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown

#### This library enables you to report the status of tasks in your model at runtime
#### publish:
```shell
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
```shell
export apeman_meta_server_addr='localhost:9090'
```
```python
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')

```


