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

Uploaded CPython 3.13macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for pystreamai-0.2.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 508790350a0a0f0881baa4e4436ce6eb94d9dc928263aa498aafcbfdaab198fa
MD5 faf665788c1731fdb6ee98a63d4ad3b5
BLAKE2b-256 d089903f22b110177fa1d611f45743f1a0a1607e376b68fcef771152cc22c5c1

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