tree: 6dd4d612c139e0bb58f8810d3f9953740767d6a4 [path history] [tgz]
  1. dagster_code/
  2. hamilton_code/
  3. README.md
  4. requirements.txt
examples/dagster/README.md

Dagster + Hamilton

This repository compares how to build dataflows with macro orchestrator Dagster and the micro orchestrator Hamilton.

see the side-by-side comparison in the Hamilton documentation

Content

  • dagster_code/ includes code from the Dagster tutorial to load data and compute statistics from the website HackerNews.
  • hamilton_code/ is a refactor of dagster_tutorial/ using the Hamilton framework.

Each directory contains instructions on how to run the code. We suggest going through the Dagster code first, then read the Hamilton refactor.

Setup

  1. Create a virtual environment and activate it

    python -m venv venv && . venv/bin/active
    
  2. Install requirements for both Dagster and Hamilton

    pip install -r requirements.txt
    
  3. Dagster-specific instructions are found under dagster_code/