Krysta Wing (krysta-wing)
A minimalist, local telemetry and reporting engine designed to audit machine learning models, log multi-modal interpretability artifacts, and flag performance regressions locally.
Core Architecture
Krysta Wing provides a lightweight alternative to heavyweight, cloud-dependent MLOps platforms. It executes entirely in your local runtime environment, tracking performance metrics across iterations and automatically identifying anomalies using moving statistical baselines ($\mu \pm 2\sigma$).
Key Capabilities
- Model-Agnostic Routing: Native abstraction paths for handling spatial feature maps, attention heatmaps (e.g., Grad-CAM), and NLP token confidence streams.
- Statistical Regression Detection: Automated tracking engine that runs calculations against historical baselines to intercept memory leaks or latency spikes.
- Configuration-Driven Portability: Decoupled architecture managing environment settings, directory structures, and alerting boundaries via standard YAML files.
Installation
Install the package directly from PyPI:
pip install krysta-wing
Quick Start
1. Define Environment Constraints
Create a kwing_config.yaml file in your root working directory to set evaluation thresholds and report destination directories dynamically:
```python
workspace_root: "production_reports"
thresholds:
token_confidence: 0.85
latency_limit_ms: 50.0
- Instrumentation Pipeline Integrate the telemetry tracking wrapper into your evaluation loop:
import numpy as np
from kwing_reporter import ModelReport
reporter = ModelReport(week=22, model_name="ResNet50-XAI", modality="hybrid-omni")
# Log performance telemetry
reporter.metrics = {
"latency": 14.2, # in milliseconds
"vram": 3120.0, # in Megabytes
"loss": 0.042
}
tokens = ["Initiating", "attention", "map"]
confidences = [0.94, 0.72, 0.91]
reporter.log_custom_artifact(
data=tokens,
artifact_type="tokens",
title="Layer 4 Token Confidence Pass",
confidences=confidences,
sample_phrase=" ".join(tokens)
)
reporter.compile()
License Distributed under the MIT License. See LICENSE for details.
Metadata
Release files for krysta-wing 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| krysta_wing-1.0.2.tar.gz | 7.4 kB | Without provenance | Details for krysta_wing-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| krysta_wing-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for krysta_wing-1.0.2-py3-none-any.whl |
Total release size: 15.2 kB
Release files / krysta_wing-1.0.2.tar.gz
| Download URL | krysta_wing-1.0.2.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d229d4b5d24f1acd9d2dc84d6dabaeb95a5356224b69c314613f6b383bdce30f
|
|
BLAKE2b-256 checksum How to use checksums |
777661d1a4d7199faa2bdd75cc847034e67b5d8f82a846b8cfad6d77013986b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.4
|
Release files / krysta_wing-1.0.2-py3-none-any.whl
| Download URL | krysta_wing-1.0.2-py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b98d62b9eb4e5b33826552accd010066cb4031fcd84b5a90669bee3b6dc4c598
|
|
BLAKE2b-256 checksum How to use checksums |
aaffa947f4de2892adece9988bba6e6c424b7a9f8ab5668cbbbdd6d5a59c0778
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.4
|
Security for krysta-wing 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.