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 snapshotdash-pystreamai-live- Watch inference latency, costs, errors in real-timedash-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 referenceOTEL_SETUP_GUIDE.md- OpenTelemetry backend setup (6 options)PRODUCTION_DEPLOYMENT.md- K8s/Docker deployment patterns
Repository
- GitHub: https://github.com/Mullassery/PyStreamAI
- PyPI: https://pypi.org/project/pystreamai
- Issues: https://github.com/Mullassery/PyStreamAI/issues
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
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 pystreamai-0.2.2-cp313-cp313-macosx_11_0_arm64.whl.
File metadata
- Download URL: pystreamai-0.2.2-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 661.2 kB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4bc1443f90029809f1a9f8dcf0cd3ac81a6cff4a9513ffe8d47966ead8189a0
|
|
| MD5 |
9d944390ffd7dc0758683ed74686bc2b
|
|
| BLAKE2b-256 |
e991fef8ef719e832957779af2b155aca5d8c96b553d26c25a44cfc5cc8421b0
|