{"id":19678900,"url":"https://github.com/emilrex/airflow-demo","last_synced_at":"2026-05-13T11:33:26.937Z","repository":{"id":82171915,"uuid":"534276548","full_name":"EmilRex/airflow-demo","owner":"EmilRex","description":null,"archived":false,"fork":false,"pushed_at":"2022-09-08T15:31:33.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T06:22:55.953Z","etag":null,"topics":["airflow","prefect"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EmilRex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-09-08T15:30:53.000Z","updated_at":"2024-06-22T15:03:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"2b9456e5-9031-4333-8e85-9a4e2b05d61b","html_url":"https://github.com/EmilRex/airflow-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/EmilRex/airflow-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmilRex%2Fairflow-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmilRex%2Fairflow-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmilRex%2Fairflow-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmilRex%2Fairflow-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EmilRex","download_url":"https://codeload.github.com/EmilRex/airflow-demo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmilRex%2Fairflow-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32980775,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T11:31:52.688Z","status":"ssl_error","status_checked_at":"2026-05-13T11:31:52.072Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","prefect"],"created_at":"2024-11-11T17:39:52.711Z","updated_at":"2026-05-13T11:33:26.916Z","avatar_url":"https://github.com/EmilRex.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Airflow Demo\n\nThis repo shows what a minimal pipeline looks like in airflow. There are three versions,\n\n1. [original.py](./dags/original.py) shows the pipeline without any orchestration\n2. [airflow_classic.py](./dags/airflow_classic.py) shows the pipeline as a classic airflow DAG\n3. [airflow_taskflow.py](./dags/airflow_taskflow.py) shows the pipeline as a [TaskFlow](https://airflow.apache.org/docs/apache-airflow/stable/tutorial_taskflow_api.html) airflow DAG\n4. [prefectified.py](./dags/prefectified.py) shows the pipeline as a Prefect 2 flow\n\n## Getting Started\n\nCreate a new virtual environment and install the dependencies,\n\n```sh\nmake install\n```\n\nNow you can start a local instance of airflow,\n\n```sh\nmake start\n```\n\nOpen up [http://0.0.0.0:8080](http://0.0.0.0:8080) in your browser to access the UI.\n\n## Architecture\n\nThe component services of airflow can be understood by looking at the official [docker-compose.yaml](https://github.com/apache/airflow/blob/main/docs/apache-airflow/start/docker-compose.yaml). In a minimal setup you have,\n\n* a **database** for metadata which is sqlite by default but typically postgres\n* a **webserver** that serves the UI\n* a **scheduler** that runs tasks using an **executor** which is typically `LocalExecutor` for local execution and `CeleryExecutor` for distributed execution\n\nIn a more scalable setup using Celery you would add,\n\n* one or more **workers** that executes tasks\n* a **redis** instance to broker between scheduler and workers\n* optionally a **flower** UI for monitoring Celery\n\nAirflow also has extensive support for Kubernetes, including an [official Helm chart](https://airflow.apache.org/docs/helm-chart/stable/index.html).\n\n![](https://airflow.apache.org/docs/apache-airflow/stable/_images/arch-diag-basic.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femilrex%2Fairflow-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femilrex%2Fairflow-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femilrex%2Fairflow-demo/lists"}