aiotf
Asyncio-based
Tensorflow Serving Prediction
Features
- asyncio: better use of your cpu idle time
- pep8 compliant: following best code standards
- high-performance prediction: we use
aio-grpc
Example
import aiotf
async def make_prediction(model_name: str, data):
async with aiotf.AsyncTensorflowServing('localhost:9000') as client:
predictions = await client.predict(model_name, data)
You can find more examples in the examples/ subdirectory.
Installation
$ pip install aiotf
License
Release files for aiotf 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aiotf-0.1.0.tar.gz | 3.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aiotf-0.1.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size:8.0 kB
Release files / aiotf-0.1.0.tar.gz
| Download URL | aiotf-0.1.0.tar.gz |
|---|---|
| Size | 3.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dda57a96b82ad9e163adba6785daa65ffe8627cd3248382fec31c675b0748209
|
|
BLAKE2b-256 checksum How to use checksums |
ab82a354a2744fcdf88271419e5daec7efc478ad9e092a1c9e66c0d9c4970898
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / aiotf-0.1.0-py2.py3-none-any.whl
| Download URL | aiotf-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
48a0e854db3ca26770723382dd56cab73df07bbe0c1420bc528bc8a0d4beab65
|
|
BLAKE2b-256 checksum How to use checksums |
07816448a6e9a17a55ee53425d8e786e48076354466dc9cc86cd53b9e37d60df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |