airflow-dag-0.1.0


توضیحات

A tool to manage Airflow dags.
ویژگی مقدار
سیستم عامل -
نام فایل airflow-dag-0.1.0
نام airflow-dag
نسخه کتابخانه 0.1.0
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Vinayak Mehta
ایمیل نویسنده vmehta94@gmail.com
آدرس صفحه اصلی https://github.com/vinayak-mehta/airflow-dag
آدرس اینترنتی https://pypi.org/project/airflow-dag/
مجوز Apache 2.0
# 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](https://github.com/vinayak-mehta/airflow-dag/blob/main/src/airflow_dag/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](https://semver.org/). For the available versions, see the tags on the GitHub repository. ## License This project is licensed under the Apache License, see the [LICENSE](https://github.com/vinayak-mehta/airflow-dag/blob/master/LICENSE) file for details.


نیازمندی

مقدار نام
>=7.0 Click
>=2.11.2 Jinja2
>=5.3.1 PyYAML
>=7.0 Click
>=2.11.2 Jinja2
>=5.3.1 PyYAML
>=2.2.1 Sphinx


نحوه نصب


نصب پکیج whl airflow-dag-0.1.0:

    pip install airflow-dag-0.1.0.whl


نصب پکیج tar.gz airflow-dag-0.1.0:

    pip install airflow-dag-0.1.0.tar.gz