Some utilities for tensorflow serving
Project description
# serving-utils
[![Build Status](https://travis-ci.org/Yoctol/serving-utils.svg?branch=master)](https://travis-ci.org/Yoctol/serving-utils) [![PyPI version](https://badge.fury.io/py/serving-utils.svg)](https://badge.fury.io/py/serving-utils)
Some python utilities when using tensorflow-serving.
## Installation
1. Manually install tensorflow CPU or GPU version.
2. `pip install serving-client`
## Usage
```python
from serving_utils import Client
client = Client(addr="localhost:8500")
client.predict(...)
# or async
await client.async_predict(...)
```
## Test
Run the following commands:
```
make lint
make test
```
[![Build Status](https://travis-ci.org/Yoctol/serving-utils.svg?branch=master)](https://travis-ci.org/Yoctol/serving-utils) [![PyPI version](https://badge.fury.io/py/serving-utils.svg)](https://badge.fury.io/py/serving-utils)
Some python utilities when using tensorflow-serving.
## Installation
1. Manually install tensorflow CPU or GPU version.
2. `pip install serving-client`
## Usage
```python
from serving_utils import Client
client = Client(addr="localhost:8500")
client.predict(...)
# or async
await client.async_predict(...)
```
## Test
Run the following commands:
```
make lint
make 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
serving-utils-0.2.0.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for serving_utils-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbe3bf1ff4eeaf3c600cc873deacabd1a26e7b97625d6f45fc377914244e1e4c |
|
MD5 | 69888f16aca4619bf55dfa04d59e1434 |
|
BLAKE2b-256 | b8c5baec2f68a73424833834c1ddeb046aebe4975a9922dfc6a7286e24068ed7 |