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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
107476c722deafb1b293ca0590308bb57ea80a199f743861081e2a1d9a66ae03
|
|
| MD5 |
d3d15d9d1598e183a75929c38c6da118
|
|
| BLAKE2b-256 |
cf9048d17301358223d83bf2ff0e29f5b29c22399eaf4a5a257ad0d10a16b9ae
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ai_sdk_stream_python-0.1.0.tar.gz -
Subject digest:
107476c722deafb1b293ca0590308bb57ea80a199f743861081e2a1d9a66ae03 - Sigstore transparency entry: 1069584249
- Sigstore integration time:
-
Permalink:
shloimy-wiesel/ai-sdk-stream-python@6d100c20b8243af8c562cd5c92b1b37d3dac2c6e -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/shloimy-wiesel
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@6d100c20b8243af8c562cd5c92b1b37d3dac2c6e -
Trigger Event:
release
-
Statement type:
File details
Details for the file ai_sdk_stream_python-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ai_sdk_stream_python-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b061b1f49818d8c9382d77aa90b705e3c8c9bde5585c82b4fffda97e8dfb9dae
|
|
| MD5 |
c5a916461719b256e09c7433bc5a2bc6
|
|
| BLAKE2b-256 |
56610cd08f5ec3bcafe995f34a31752f94a0f3461ee0c905e34dad79a0f0a0ec
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ai_sdk_stream_python-0.1.0-py3-none-any.whl -
Subject digest:
b061b1f49818d8c9382d77aa90b705e3c8c9bde5585c82b4fffda97e8dfb9dae - Sigstore transparency entry: 1069584316
- Sigstore integration time:
-
Permalink:
shloimy-wiesel/ai-sdk-stream-python@6d100c20b8243af8c562cd5c92b1b37d3dac2c6e -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/shloimy-wiesel
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@6d100c20b8243af8c562cd5c92b1b37d3dac2c6e -
Trigger Event:
release
-
Statement type: