Airflow plugin for visualising DAG schedules within 24 hour window of a day.
Project description
DAG Schedule Graph
Airflow plugin for visualising DAG schedules within 24 hour window of a day.
Each bubble indicates the number of DAGs that will run at that instant. Bubble radius is relative to the DAG count.
Install
pip install dag-schedule-graph
Trying it out using Docker
# Start the services
docker-compose up
# Access the webserver
open http://localhost:8082/dag-schedule-graph/
# Cleanup containers, networks and volumes
docker-compose down -v
Development
# Create virtual environment using conda
conda create -n dag-schedule-graph python=3.7.9
# Activate the environment
conda activate dag-schedule-graph
# Load environemnt variables
source .env
# Create Postgres database and user
createuser airflow_rbac
createdb -O airflow_rbac airflow_rbac
# Install plugin and all dependencies
pip install -e '.[dev]'
# Running tests
pytest tests
# Initialize Airflow
airflow initdb
# Create Airflow user
airflow create_user -u admin -e admin@gmail.com -p admin -f admin -l admin -r Admin
# Build static assets
npm run build
# Start Airflow Webserver
airflow webserver
# Access webserver
open http://localhost:8080/dag-schedule-graph/
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
dag-schedule-graph-0.2.2.tar.gz
(110.7 kB
view details)
File details
Details for the file dag-schedule-graph-0.2.2.tar.gz
.
File metadata
- Download URL: dag-schedule-graph-0.2.2.tar.gz
- Upload date:
- Size: 110.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2.post20201201 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e757856766c3ae8e9baac24087c8652380170aba169aaf7c2356bfc9a529ccc0 |
|
MD5 | c6e51568e065bbe2e3b1fa587843fc61 |
|
BLAKE2b-256 | 92c27aa2ccddd74868370f1b560881df403b834d45b12e2efaf73aa66b0ec952 |