Skip to main content

PyStreamAI

Deploy and manage inference workloads across cloud providers. Real-time cost tracking, multi-model orchestration, endpoint management. 40-50x inference speedup with Rust+Python.

Latest Version: 0.2.1

Features

  • ✅ Multi-cloud deployment (AWS/GCP/Azure/on-prem)
  • ✅ 40-50x inference speedup (Rust+Python)
  • ✅ Real-time cost tracking (24h, per 1K, monthly)
  • ✅ Production-ready CLI dashboards
  • ✅ Keyboard shortcuts for quick access
  • ✅ OpenTelemetry support (6 backends)
  • ✅ Cross-platform (macOS/Linux/Windows)

Installation

pip install pystreamai

Quick Start

# Setup keyboard shortcuts (one-time)
bash scripts/setup_shortcuts.sh

# View dashboard
dash-pystreamai              # Static snapshot
dash-pystreamai-live         # Live monitoring
dash-pystreamai-export       # Export metrics

# Start deployment
pystreamai deploy --config models.yaml
pystreamai serve --port 8000

Dashboard

Access real-time metrics:

  • dash-pystreamai - View deployment metrics snapshot
  • dash-pystreamai-live - Watch inference latency, costs, errors in real-time
  • dash-pystreamai-export - Export to JSON for integration

Metrics tracked: Status, Uptime, Models Active, Endpoints, Requests, Latency (avg/p99/min/max), Errors, Cost

See DASHBOARD_SHORTCUTS.md for complete documentation.

OpenTelemetry

Export metrics to 6 monitoring backends (2-5 min setup):

# Prometheus (OSS)
export OTEL_EXPORTER_OTLP_PROTOCOL=prometheus
dash-pystreamai-live
curl http://localhost:8000/metrics

# Datadog (Enterprise)
export DD_API_KEY="your-key"
export OTEL_EXPORTER_OTLP_PROTOCOL=datadog
dash-pystreamai-live

# Honeycomb / New Relic / Jaeger / X-Ray also supported

See OTEL_SETUP_GUIDE.md for all 6 backends.

Production Deployment

Ready for Kubernetes and Docker:

# Kubernetes
kubectl apply -f PRODUCTION_DEPLOYMENT.md

# Docker Compose
docker-compose up -d

Complete K8s manifests, Docker Compose stack, health checks included.

See PRODUCTION_DEPLOYMENT.md for deployment patterns.

Documentation

  • DASHBOARD_SHORTCUTS.md - Keyboard shortcuts reference
  • OTEL_SETUP_GUIDE.md - OpenTelemetry backend setup (6 options)
  • PRODUCTION_DEPLOYMENT.md - K8s/Docker deployment patterns

Repository

License

MIT

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.2.2-cp313-cp313-macosx_11_0_arm64.whl (661.2 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for pystreamai-0.2.2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b4bc1443f90029809f1a9f8dcf0cd3ac81a6cff4a9513ffe8d47966ead8189a0
MD5 9d944390ffd7dc0758683ed74686bc2b
BLAKE2b-256 e991fef8ef719e832957779af2b155aca5d8c96b553d26c25a44cfc5cc8421b0

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