Using within your ETL System¶
Conceptually you can integrate Hamilton within your existing ETL system quite easily:
Compatibility Matrix¶
Framework / Scheduler |
Compatibility |
---|---|
✅ (see [airflow example](https://github.com/DAGWorks-Inc/hamilton/tree/main/examples/airflow)) |
|
✅ |
|
✅ (see [prefect example](https://github.com/DAGWorks-Inc/hamilton/tree/main/examples/prefect)) |
|
✅ |
|
✅ |
|
✅ (see dbt example) |
|
✅ but you need to setup kubernetes to run an image that can run python code - e.g. see Running a python application on kubernetes |
|
✅ but you need to setup a docker image that can execute python code. |
|
… in general if it runs python 3.7+ … |
✅ |
ETL Recipe¶
Write Hamilton functions & “driver” code.
Publish your Hamilton functions in a package, or import via other means (e.g. checkout a repository & include in python path).
Include sf-hamilton as a python dependency
Have your ETL system execute your “driver” code.
Profit.