{"id":21404746,"url":"https://github.com/feluelle/airflow-diagrams","last_synced_at":"2025-10-08T19:32:54.211Z","repository":{"id":37465421,"uuid":"275790139","full_name":"feluelle/airflow-diagrams","owner":"feluelle","description":"Auto-generated Diagrams from Airflow DAGs. 🔮 🪄","archived":false,"fork":false,"pushed_at":"2025-05-05T17:46:25.000Z","size":1286,"stargazers_count":341,"open_issues_count":5,"forks_count":29,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-05T18:57:20.670Z","etag":null,"topics":["airflow","auto-generated","cli","diagrams","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/feluelle.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-06-29T11:13:10.000Z","updated_at":"2025-04-30T16:56:55.000Z","dependencies_parsed_at":"2024-06-13T22:43:30.536Z","dependency_job_id":"46cbe65c-4bc3-4ed7-a379-4a1764cc16b3","html_url":"https://github.com/feluelle/airflow-diagrams","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feluelle%2Fairflow-diagrams","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feluelle%2Fairflow-diagrams/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feluelle%2Fairflow-diagrams/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feluelle%2Fairflow-diagrams/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feluelle","download_url":"https://codeload.github.com/feluelle/airflow-diagrams/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254346624,"owners_count":22055808,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["airflow","auto-generated","cli","diagrams","python"],"created_at":"2024-11-22T16:17:53.942Z","updated_at":"2025-10-08T19:32:49.176Z","avatar_url":"https://github.com/feluelle.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# airflow-diagrams\n\n[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/feluelle/airflow-diagrams/main.svg)](https://results.pre-commit.ci/latest/github/feluelle/airflow-diagrams/main)\n![test workflow](https://github.com/feluelle/airflow-diagrams/actions/workflows/test.yml/badge.svg)\n![codeql-analysis workflow](https://github.com/feluelle/airflow-diagrams/actions/workflows/codeql-analysis.yml/badge.svg)\n[![codecov](https://codecov.io/gh/feluelle/airflow-diagrams/branch/main/graph/badge.svg?token=J8UEP8IVY4)](https://codecov.io/gh/feluelle/airflow-diagrams)\n[![PyPI version](https://img.shields.io/pypi/v/airflow-diagrams)](https://pypi.org/project/airflow-diagrams/)\n[![License](https://img.shields.io/pypi/l/airflow-diagrams)](https://github.com/feluelle/airflow-diagrams/blob/main/LICENSE)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/airflow-diagrams)](https://pypi.org/project/airflow-diagrams/)\n[![PyPI version](https://img.shields.io/pypi/dm/airflow-diagrams)](https://pypi.org/project/airflow-diagrams/)\n\n\u003e Auto-generated Diagrams from Airflow DAGs. 🔮 🪄\n\nThis project aims to easily visualise your [Airflow](https://github.com/apache/airflow) DAGs on service level\nfrom providers like AWS, GCP, Azure, etc. via [diagrams](https://github.com/mingrammer/diagrams).\n\n![demo](assets/images/demo.svg)\n\nBefore | After\n--- | ---\n![dag](assets/images/dbt_dag.png) | ![diagram](assets/images/dbt_diagram.png)\n\n## 🚀 Get started\n\nTo install it from [PyPI](https://pypi.org/) run:\n\n```console\npip install airflow-diagrams\n```\n\n\u003e **_NOTE:_** Make sure you have [Graphviz](https://www.graphviz.org/) installed.\n\nThen just call it like this:\n\n![usage](assets/images/usage.png)\n\n_Examples of generated diagrams can be found in the [examples](examples) directory._\n\n## 🤔 How it Works\n\n1. ℹ️ It connects, by using the official [Apache Airflow Python Client](https://github.com/apache/airflow-client-python), to your Airflow installation to retrieve all DAGs (in case you don't specify any `dag_id`) and all Tasks for the DAG(s).\n1. 🪄 It processes every DAG and its Tasks and 🔮 tries to find a diagram node for every DAGs task, by using [Fuzzy String Matching](https://github.com/seatgeek/thefuzz), that matches the most. If you are unhappy about the match you can also provide a `mapping.yml` file to statically map from Airflow task to diagram node.\n1. 🎨 It renders the results into a python file which can then be executed to retrieve the rendered diagram. 🎉\n\n## ❤️ Contributing\n\nContributions are very welcome. Please go ahead and raise an issue if you have one or open a PR. Thank you.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeluelle%2Fairflow-diagrams","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeluelle%2Fairflow-diagrams","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeluelle%2Fairflow-diagrams/lists"}