hamilton-core
Installation
SKILL.md
Hamilton Core Development Assistant
Apache Hamilton is a lightweight Python framework for building Directed Acyclic Graphs (DAGs) of data transformations using declarative, function-based definitions.
Core Principles
Function-Based DAG Definition
- Functions with type hints define nodes in the DAG
- Function parameters automatically create edges (dependencies)
- Function names become node names in the DAG
- Pure functions enable easy testing and reusability
Key Architecture Components
- Functions: Define transformations with parameters as dependencies
- Driver: Builds and manages DAG execution (
.execute()runs the DAG) - FunctionGraph: Internal DAG representation
- Function Modifiers: Decorators that modify DAG behavior
- Adapters: Result formatters and lifecycle hooks