Skip to main content

airflow-dag

A tool to manage Airflow dags.

Installation

You can use pip to install airflow-dag:

$ pip install airflow-dag

Usage

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.

Options:
  -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

Versioning

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

License

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

Release files for airflow-dag 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for airflow-dag 0.1.0
File Size Uploaded
airflow-dag-0.1.0.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for airflow-dag 0.1.0
File Interpreter ABI Platform
airflow_dag-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.6 kB

Release files / airflow-dag-0.1.0.tar.gz

Download URL airflow-dag-0.1.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
de16ce07256456a7845163849b724aade3e3124856082a3ac84fd35de636b83b
BLAKE2b-256 checksum
How to use checksums
63c227fe8b9136a32d93b7a5f42224c3d9745b0760805ca1f2b52a20ece494ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

Release files / airflow_dag-0.1.0-py3-none-any.whl

Download URL airflow_dag-0.1.0-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cac8c137bc75527b14fe67b476dbe28374fde2bb234916455a3fe2e5cdb435bd
BLAKE2b-256 checksum
How to use checksums
e08d9428b0c397d142563bebe50b6a221ab8f0b63b236a17bd3b5bbd57785b5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page