Favicon of Apache Hamilton

Apache Hamilton

A Python dataflow library for data, ML and LLM pipelines, with dependency graphs, validation and a UI that runs locally or on your server.

Screenshot of Apache Hamilton website

Apache Hamilton is a Python library for data scientists and engineers building data, machine learning and LLM workflows. It connects ordinary Python functions into dependency graphs while keeping transformation logic reusable.

  • Function-based pipelines: Express dependencies through Python functions and compute only the transformations needed for a requested result.
  • Lineage and monitoring: Visualize dependencies and use the companion UI to catalog code and artifacts, inspect results and debug failed runs.
  • Data validation: Check output properties and dataframe schemas, including pandas, Polars and Ibis objects.
  • Reusable execution: Use the same transformation logic in notebooks, scripts, Airflow pipelines or FastAPI services, with caching and execution integrations such as Spark, Ray and Dask.

Hamilton uses Apache 2.0 and runs locally within Python applications. Its UI can run as a local web server or a self-hosted Docker application. Data stores and model services can be local or remote, according to the workflow. The project is incubating at the Apache Software Foundation.

Similar to Apache Hamilton