Lightweight ML monitoring — drift, performance, data quality, and alerts in one library
Project description
mlwatch
Lightweight ML monitoring — drift detection, performance tracking, data quality, and alerts in one library.
Install
pip install mlwatch
Quickstart
import mlwatch
import numpy as np
import pandas as pd
monitor = mlwatch.Monitor(name="my_model")
result = monitor.log(
reference=train_data,
current=new_data,
y_true=y_true,
y_pred=y_pred,
)
print(result.to_dict())
Features
- Drift Detection (KS test, PSI, Mean Shift)
- Performance Monitoring (accuracy, F1, AUC, MAE, RMSE)
- Data Quality (nulls, outliers, schema)
- Alerts (webhook, custom callbacks)
- History storage (SQLite)
Why mlwatch?
| mlwatch | Evidently | WhyLogs | |
|---|---|---|---|
| Simple API | ✅ | ❌ | ❌ |
| Lightweight | ✅ | ❌ | ❌ |
| JSON output | ✅ | ❌ | ❌ |
| No setup | ✅ | ❌ | ❌ |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mlwatch-0.1.0.tar.gz
(5.5 kB
view details)
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 mlwatch-0.1.0.tar.gz.
File metadata
- Download URL: mlwatch-0.1.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c97c87c6ff7f73a6e56f46355f4febc5117ab69d243524b2069d74b45317bc8e
|
|
| MD5 |
df0505c9626374be5a70a1107469e314
|
|
| BLAKE2b-256 |
3cc7f114a450b3fccc6f0b14353dbf7ec5341bc975f3bce37ea09c24dadbe004
|
File details
Details for the file mlwatch-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mlwatch-0.1.0-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
daa81af15dc3daddc9f6dc1ee2cc28c059b8fdb7cda69aa65d5c9f0e3843689d
|
|
| MD5 |
1be88b069dff488139d8a13c24bdb1ba
|
|
| BLAKE2b-256 |
5e12bca5ae0f0099a75c314cc1796fcb8ea87612dc011d9065478cd772b44c2b
|