Skip to main content

A Python package for AI SDK streaming utilities

Project description

ai-sdk-stream-python

A Python package for AI SDK streaming utilities built with FastAPI and Pydantic.

Installation

pip install ai-sdk-stream-python

To run the server, you'll also need an ASGI server such as uvicorn:

pip install uvicorn

Usage

from ai_sdk_stream_python import app
import uvicorn

uvicorn.run(app, host="0.0.0.0", port=8000)

Or run directly:

uvicorn ai_sdk_stream_python:app --reload

Endpoints

  • GET / — Returns package name and version.
  • GET /messages — Returns a list of dummy messages.

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

ai_sdk_stream_python-0.1.0.tar.gz (1.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_sdk_stream_python-0.1.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file ai_sdk_stream_python-0.1.0.tar.gz.

File metadata

  • Download URL: ai_sdk_stream_python-0.1.0.tar.gz
  • Upload date:
  • Size: 1.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ai_sdk_stream_python-0.1.0.tar.gz
Algorithm Hash digest
SHA256 107476c722deafb1b293ca0590308bb57ea80a199f743861081e2a1d9a66ae03
MD5 d3d15d9d1598e183a75929c38c6da118
BLAKE2b-256 cf9048d17301358223d83bf2ff0e29f5b29c22399eaf4a5a257ad0d10a16b9ae

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_sdk_stream_python-0.1.0.tar.gz:

Publisher: python-publish.yml on shloimy-wiesel/ai-sdk-stream-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ai_sdk_stream_python-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ai_sdk_stream_python-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b061b1f49818d8c9382d77aa90b705e3c8c9bde5585c82b4fffda97e8dfb9dae
MD5 c5a916461719b256e09c7433bc5a2bc6
BLAKE2b-256 56610cd08f5ec3bcafe995f34a31752f94a0f3461ee0c905e34dad79a0f0a0ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_sdk_stream_python-0.1.0-py3-none-any.whl:

Publisher: python-publish.yml on shloimy-wiesel/ai-sdk-stream-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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