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.
Metadata
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)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| airflow-dag-0.1.0.tar.gz | 3.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|
Security for airflow-dag 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.