Skip to main content

A modern and intuitive calendar interface for visualizing your DAG schedules in Apache Airflow.

Project description

📅 Airflow Calendar

PyPI version License Downloads PyPI - Python Version Airflow Airflow

A modern and intuitive calendar interface for visualizing your DAG schedules in Apache Airflow. Transform complex cron expressions into a clear and searchable time grid inspired by the Google Calendar experience.

Airflow Calendar GIF


🎯 Why Airflow Calendar?

Imagine the following scenario: You have to deploy some new critical pipelines in production, but your Airflow environment is already loaded with a dozen of DAGs.

Then, the following question arises: will your new DAG scheduled at */45 2-6 * * 1-5 collide with that heavy Spark job running every 40 minutes?

This is where Airflow Calendar comes in. It provides a visual timeline of all your DAG schedules, allowing you to see at a glance when each DAG is set to run, identify potential overlaps, and avoid resource conflicts, making workflow orchestration human-readable.

You can check more details about the project in the Medium article.

✨ Key Features

Manage complex production environments is easier with Airflow Calendar. Here are some of the key features.

Informative Metadata Modal

Clicking on any event in the calendar opens an informative pop-up card with important details about your DAG.

It allows you to have a snapshot of everything you need to know about that specific DAG without navigating away to look up more information:

  • Duration: Shows the average execution time of the DAG based on past successful runs. This duration also defines how long the event block looks on your calendar.
  • Structural context: View the Cron string or timedelta interval, alongside the total task count.
  • Recent run history: A small timeline displaying the status of the last 5 executions so you can evaluate stability at a glance.

Informative modal

Native UI Navigation

A major annoyance with third-party dashboards is having to manually search for a pipeline once you find an issue. The plugin solves this by embedding a direct shortcut inside the metadata modal.

That said, if a DAG needs further attention, just click the event and hit the "Open DAG" button.

Menu deep linking GIF

Intuitive Grid View with Live Execution Status

In addition to showing when a DAG is scheduled to run, it also overlays the real-time execution status right on the calendar interface.

By leveraging color-coded borders, you can instantly see the health of your past and current runs:

  • Green Borders: Successful runs.
  • Red Borders: Failed runs that require your attention.
  • Blue Borders: Jobs that are in execution at the moment.
  • Gray Borders: Future scheduled runs or jobs currently in queue.

Event border colors

Custom Event Coloring

When managing complex production environments, it's common to have pipelines with different levels of criticality and use cases.

To address this, the Airflow Calendar also supports custom event coloring, allowing you to visually group certain pipelines together.

Custom Event Coloring GIF


🚀 Installation

The recommended way to install Airflow Calendar is via pip. In the environment where Airflow is installed, run the following command:

pip install airflow-calendar

Otherwise, you can also clone this repository and install it manually by moving the airflow_calendar directory to your Airflow plugins folder.

Note: You may need to restart your Airflow Webserver after installation for the plugin to be picked up.

Verifying Installation on Airflow 2

If everything is set up correctly, you should see a new "Calendar" option under the "Browse" menu in the Airflow UI:

Calendar Menu Option

Verifying Installation on Airflow 3

If you're using Airflow 3, you will notice a brand-new "Calendar" icon sitting in your main navigation bar. Click on it, and your visual schedule will instantly render:

Calendar Icon Airflow 3

⚙️ Configuration & Permissions

If the plugin is loaded but the Calendar option is not visible under the Browse menu, you likely need to grant permissions to your user role:

  1. Navigate to Security > List Roles.
  2. Edit your specific role (e.g., Admin, Op, or Viewer).
  3. Add the permission: menu access on Calendar.
  4. Save and refresh the page.

🔍 Troubleshooting

If the "Calendar" option still doesn't show up in the menu:

  • Check Plugin Status: Go to Admin > Plugins. You should see airflow_calendar listed there.
  • Logs: If it's not listed, check your webserver logs.
  • CLI: Run airflow plugins in your terminal to verify if the package was loaded correctly into the environment and check for any errors during loading.

🛠️ Roadmap

This project is a continuous work in progress. Feel free to suggest new features or report issues!

The upcoming features include:

  • Airflow 3 Compatibility: Support for the next generation of Airflow.
  • Dynamic Styling: Background colors for events based on DAG tags.
  • Search functionality: Quickly find specific events within the calendar.

🤝 Contributing

This project is open to contributions! Whether it's reporting a bug, suggesting a feature, or submitting a Pull Request:

  1. Open an issue to discuss the change you wish to make.
  2. Fork the repository and create your feature branch.
  3. Commit your changes with clear descriptions.
  4. Push to the branch and open a Pull Request.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

airflow_calendar-0.9.2.tar.gz (109.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

airflow_calendar-0.9.2-py3-none-any.whl (196.6 kB view details)

Uploaded Python 3

File details

Details for the file airflow_calendar-0.9.2.tar.gz.

File metadata

  • Download URL: airflow_calendar-0.9.2.tar.gz
  • Upload date:
  • Size: 109.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.9

File hashes

Hashes for airflow_calendar-0.9.2.tar.gz
Algorithm Hash digest
SHA256 c405a13f92e0b48740b364078a8b2c0384b100de4a26d333cb8ed4ee2f4696a0
MD5 a392b72cbb46774dc61e69968f899841
BLAKE2b-256 768628c74a54fac5b722f875afb088328c6728dea68d0c3fd06bbf857b035022

See more details on using hashes here.

File details

Details for the file airflow_calendar-0.9.2-py3-none-any.whl.

File metadata

File hashes

Hashes for airflow_calendar-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c3a941d8c32d4b747a899bad4771feb0628540764484d1fff1a664e8d545d52d
MD5 d7da5566bbbf5010a6bcaf82d57f9dad
BLAKE2b-256 894c346b11bb92bd59d3db8bec534afb4f615a590e370f102bebe1953bb75d9c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page