Attention: this assumes you already have a Gust project.
Add
gust_pyto your Gust project'smix.exsfile:defp deps do [ # Your other deps, such as {:gust_web, "..."}, {:gust_py, "~> 0.1.0"}, # ... ] endDeclare the adapter in your
config.exs:config :gust, dag_adapter: [ python: %{ parser: GustPy.Parser.Adapter, runtime: GustPy.Runtime.Adapter, task_worker: GustPy.TaskWorker.Adapter } ]Install Python's uv package manager in your DAG folder.
Add the
gust-pydependency:uv add gust-py
You may also install any other dependencies your DAGs need, such as numpy or pytorch.