Install
DrToller.Framework
Declarative steps. Pure domain transforms. Orchestration and I/O stay in the framework.
Why Framework
Section titled “Why Framework”DrToller.Framework is a reusable runtime for independently packaged pipeline steps. The framework owns:
- loading and compiling DRTML (
*.drtml+ fragments); - storage (parquet / PostgreSQL / Qdrant / neo4j stub) via a single adapter registry;
- processing modes:
partition_loop,mapping,reduce_merge,embed_train; - telemetry (Prometheus emit, Grafana codegen);
- integrations (Streamlit, Airflow, Ray connect, local runner).
Step canon: receive data → transform → return data. No I/O, no Prometheus, no Airflow API in domain code.
Start here
Section titled “Start here”How a run works
Boundaries
Cookbook
Package map
Section titled “Package map”drtoller/framework/ contracts/ # layer-neutral DTOs (saturation, worker delta) drtml/ # load / validate / compile runtime/ # RunContext, import_symbol storage/ # session, feed, backends, registry adapters processing/ # dispatch + modes (orchestration only) mapping/ # merge / remap algorithms algorithms/ # embed, cluster, dataset metrics db/ # postgres / qdrant transport telemetry/ # prometheus + grafana codegen integration/ # UI, Airflow, Ray, envDependency canon:
drtml → contracts / storage.plan → db|storage → processing → telemetry|integrationReverse edges (storage → processing, telemetry → processing, …) are forbidden and caught by CI.
Docs status
Section titled “Docs status”v1 covers architecture after P0–P4 remediation (contracts, backend registry, train_loop, dispatch/metric registries). REST API — Coming soon.