Skip to main content

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

MIT

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)

Source distribution for aiotf 0.1.0
File Size Uploaded
aiotf-0.1.0.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aiotf 0.1.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page