Metadata-Version: 2.5
Name: dmlops
Version: 0.2.13
Summary: Track MLOps platform experiments from any self-managed machine: metrics, artifacts, weights, and failure/cancel state reporting.
Project-URL: Homepage, https://gitee.com/rmkj/MLOps
Project-URL: Documentation, https://gitee.com/rmkj/MLOps/blob/master/documentation/docs/experiments/external-runs.md
License: Proprietary
Requires-Python: >=3.9
Provides-Extra: image
Requires-Dist: fastapi>=0.100; extra == 'image'
Requires-Dist: pyyaml>=6.0; extra == 'image'
Requires-Dist: uvicorn>=0.23; extra == 'image'
Description-Content-Type: text/markdown

# dmlops

Track MLOps platform experiments from any self-managed machine. Python ≥ 3.9, standard-library only.

## Install

```bash
uv pip install dmlops
```

## Quick start

```python
import dmlops as mlops

mlops.login()
mlops.whoami()
runner = mlops.create_experiment(
    job="train",  # or mlops.Job.TRAIN; "val" / "export" also accepted
    name="yolo-coco128",  # optional — auto-generated when omitted
)
runner.log_metric({"loss": {"total": 1.2}, "lr": {"lr": 1e-3}}, epoch=0, split="train")
runner.log_metric(ap5095={"box": {"mean": 0.42}}, epoch=0, split="val")
runner.upload("weights/best.pt")
runner.finish()
```
