Skip to main content

A tool to manage Airflow dags.

Project description


A tool to manage Airflow dags.


You can use pip to install airflow-dag:

$ pip install airflow-dag


You can use the build command to convert a yaml config to an Airflow dag:

$ airflow-dag build -t examples/ -c examples/notebook.yml -o examples/out
$ airflow-dag build --help
Usage: airflow-dag build [OPTIONS]

  Convert a yaml config to an Airflow dag.

  -t, --template-dir TEXT  Path to dag templates
  -c, --config TEXT        Path to dag config
  -o, --output-dir TEXT    Output path
  --help                   Show this message and exit.

If a template path is not provided, airflow-dag will look into the default templates.

You can define your own dag templates too, and put them in a templates directory in Airflow's home folder. The dag yaml configs can be placed in a configs directory in the same home folder, and the output path can then be the Airflow dags folder. The usage will look like:

$ airflow-dag build -t airflow/templates -c airflow/configs/dag.yml -o airflow/dags


airflow-dag uses Semantic Versioning. For the available versions, see the tags on the GitHub repository.


This project is licensed under the Apache License, see the LICENSE file for details.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

airflow-dag-0.1.0.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

airflow_dag-0.1.0-py3-none-any.whl (8.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page