Skip to main content

airflow-diagrams

pre-commit.ci status test workflow codeql-analysis workflow codecov PyPI version License PyPI - Python Version PyPI version

Auto-generated Diagrams from Airflow DAGs. 🔮 🪄

This project aims to easily visualise your Airflow DAGs on service level from providers like AWS, GCP, Azure, etc. via diagrams.

demo

Before After
dag diagram

🚀 Get started

To install it from PyPI run:

pip install airflow-diagrams

NOTE: Make sure you have Graphviz installed.

Then just call it like this:

usage

Examples of generated diagrams can be found in the examples directory.

🤔 How it Works

  1. ℹ️ It connects, by using the official Apache Airflow Python Client, to your Airflow installation to retrieve all DAGs (in case you don't specify any dag_id) and all Tasks for the DAG(s).
  2. 🪄 It processes every DAG and its Tasks and 🔮 tries to find a diagram node for every DAGs task, by using Fuzzy String Matching, 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.
  3. 🎨 It renders the results into a python file which can then be executed to retrieve the rendered diagram. 🎉

❤️ Contributing

Contributions are very welcome. Please go ahead and raise an issue if you have one or open a PR. Thank you.

Metadata

Release files for airflow-diagrams 2.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-diagrams 2.1.0
File Size Uploaded Provenance Actions
airflow-diagrams-2.1.0.tar.gz 14.8 kB Without provenance Details for airflow-diagrams-2.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for airflow-diagrams 2.1.0
File Interpreter ABI Platform Actions
airflow_diagrams-2.1.0-py3-none-any.whl Python 3 none any Details for airflow_diagrams-2.1.0-py3-none-any.whl

Total release size: 31.1 kB

Release files / airflow-diagrams-2.1.0.tar.gz

Download URL airflow-diagrams-2.1.0.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f94860129967b02660323cff2b6e110be18aeaa1d8240e5d94a76782b390a130
BLAKE2b-256 checksum
How to use checksums
e7a6dedf48001991b0d0588dc7c55ac11650e1d0a3152a05e8601910b7e91620
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.14 CPython/3.9.13 Linux/5.15.0-1014-azure

Release files / airflow_diagrams-2.1.0-py3-none-any.whl

Download URL airflow_diagrams-2.1.0-py3-none-any.whl
Size 16.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
236243a5b3264f62e122151255f77152456c8bd477169495daf65f79cbcbdce4
BLAKE2b-256 checksum
How to use checksums
8b606e5ba4a3963bb6b60a704a536b5c68a11711d68e2d5f448bed505ec8b608
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.14 CPython/3.9.13 Linux/5.15.0-1014-azure

Security for airflow-diagrams 2.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.

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