Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Dagster + Apache Hamilton

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

see the side-by-side comparison in the Apache 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 Apache Hamilton framework.

Each directory contains instructions on how to run the code. We suggest going through the Dagster code first, then read the Apache 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 Apache Hamilton

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