aiotf
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
Metadata
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 | Provenance | Actions |
|---|---|---|---|---|
| aiotf-0.1.0.tar.gz | 3.5 kB | Without provenance | Details for aiotf-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aiotf-0.1.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for aiotf-0.1.0-py2.py3-none-any.whl |
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 |
Security for aiotf 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.