Skip to main content

Quickly deploy AI models using http or Websockets

Project description

FastAi API

from fastaiapi import background_thread, WssClient, WssServer
from fastaiapi.utils import read_base64_image

TARGET_SOCKET_URL = "[ENTER TARGET WS URL]"

client = WssClient()

@client.from_video_source(TARGET_SOCKET_URL, 0)
def on_data_received(data):
    print(data)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

easyaiapi-0.0.6.tar.gz (5.9 kB view hashes)

Uploaded Source

Built Distribution

easyaiapi-0.0.6-py3-none-any.whl (9.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page