Skip to main content

PyStreamAI

Deploy ML inference 40-50x faster. No YAML required.

Automatic optimization (batching, caching, quantization) turns slow inference into lightning-fast responses. Multi-cloud deployment without vendor lock-in.

Tests Python 3.10+ License: Proprietary


Quick Start

from pystreamai import Model

model = Model("inference-model")
response = model.generate("Your prompt here")

# Stream responses
async for chunk in model.stream("Tell me a story"):
    print(chunk, end="", flush=True)

Key Features

  • 40-50x faster inference than standard APIs
  • Multi-cloud deployment (AWS, GCP, Azure, on-prem)
  • Automatic optimization (batching, caching, quantization)
  • Built-in monitoring and cost tracking
  • Hot reload for zero-downtime updates
  • Edge deployment support
  • Optional configuration for advanced use cases

Performance

Standard inference: 200ms per request PyStreamAI: 5ms per request Result: 40-50x speedup

Core Features

Performance

  • 40-50x faster inference vs alternatives
  • Hardware-accelerated (ONNX, TensorRT)
  • Sub-millisecond latency
  • Batch processing optimization

Deployment

  • Multi-cloud support (AWS, GCP, Azure, edge)
  • Kubernetes-native
  • Auto-scaling
  • Zero downtime updates

Models

  • LLMs (Claude, GPT-4, Llama)
  • Vision (YOLOv8, SAM)
  • NLP (transformers)
  • Custom models (ONNX)

System Requirements

  • Python 3.10+
  • 2GB+ RAM
  • GPU optional (CUDA 11.8+ for NVIDIA)
  • Linux or macOS (Windows via WSL2)
  • Optional: Kubernetes 1.24+

Installation

pip install pystreamai
# or with uv
uv pip install streamai

# Verify installation
streamai --version

Use Cases

  • Fast inference serving
  • Cost optimization through batching
  • Real-time API responses
  • Local and edge deployment
  • Multi-model inference
  • Batch processing

Examples

See examples/ for complete working examples.

Configuration

PyStreamAI works with sensible defaults. For advanced configuration, optional YAML config files are available in the docs.

Documentation

License

See LICENSE

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

pystreamai-0.3.0-cp313-cp313-macosx_11_0_arm64.whl (206.0 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

File details

Details for the file pystreamai-0.3.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pystreamai-0.3.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e952eb72c3939a9aee4148d2ea0972ee1968fdcac739ed6ced9bc9d13274a238
MD5 a280e58fc88f98e7efad5a0921618d8d
BLAKE2b-256 bb574bff91b9a478e0eabd93aca10929e60616f7908d7452c4e49446bb589c67

See more details on using hashes here.

Supported by

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