{"id":15048268,"url":"https://github.com/github/incubator-airflow","last_synced_at":"2025-10-04T08:31:17.221Z","repository":{"id":38206702,"uuid":"80634006","full_name":"github/incubator-airflow","owner":"github","description":"Apache Airflow (Incubating)","archived":true,"fork":true,"pushed_at":"2023-10-27T01:15:23.000Z","size":218106,"stargazers_count":25,"open_issues_count":24,"forks_count":28,"subscribers_count":28,"default_branch":"gh-2.0.2","last_synced_at":"2024-09-25T21:09:37.752Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"apache/airflow","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/github.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.txt","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.rst","support":null,"governance":null}},"created_at":"2017-02-01T15:34:55.000Z","updated_at":"2024-07-31T03:13:49.000Z","dependencies_parsed_at":"2023-09-25T03:56:46.057Z","dependency_job_id":null,"html_url":"https://github.com/github/incubator-airflow","commit_stats":{"total_commits":10589,"total_committers":1737,"mean_commits":6.096142774899252,"dds":0.9028236849560864,"last_synced_commit":"73f70e00b9fd294057f8ca6b714a85622f6d5dd5"},"previous_names":[],"tags_count":100,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fincubator-airflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fincubator-airflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fincubator-airflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/github%2Fincubator-airflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/github","download_url":"https://codeload.github.com/github/incubator-airflow/tar.gz/refs/heads/gh-2.0.2","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219876581,"owners_count":16554769,"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":[],"created_at":"2024-09-24T21:10:01.125Z","updated_at":"2025-10-04T08:31:14.085Z","avatar_url":"https://github.com/github.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!--\n Licensed to the Apache Software Foundation (ASF) under one\n or more contributor license agreements.  See the NOTICE file\n distributed with this work for additional information\n regarding copyright ownership.  The ASF licenses this file\n to you under the Apache License, Version 2.0 (the\n \"License\"); you may not use this file except in compliance\n with the License.  You may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing,\n software distributed under the License is distributed on an\n \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n KIND, either express or implied.  See the License for the\n specific language governing permissions and limitations\n under the License.\n--\u003e\n\n# Apache Airflow\n\n[![PyPI version](https://badge.fury.io/py/apache-airflow.svg)](https://badge.fury.io/py/apache-airflow)\n[![GitHub Build](https://github.com/apache/airflow/workflows/CI%20Build/badge.svg)](https://github.com/apache/airflow/actions)\n[![Coverage Status](https://img.shields.io/codecov/c/github/apache/airflow/master.svg)](https://codecov.io/github/apache/airflow?branch=master)\n[![License](http://img.shields.io/:license-Apache%202-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.txt)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/apache-airflow.svg)](https://pypi.org/project/apache-airflow/)\n[![Docker Pulls](https://img.shields.io/docker/pulls/apache/airflow.svg)](https://hub.docker.com/r/apache/airflow)\n[![Docker Stars](https://img.shields.io/docker/stars/apache/airflow.svg)](https://hub.docker.com/r/apache/airflow)\n[![PyPI - Downloads](https://img.shields.io/pypi/dm/apache-airflow)](https://pypi.org/project/apache-airflow/)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Twitter Follow](https://img.shields.io/twitter/follow/ApacheAirflow.svg?style=social\u0026label=Follow)](https://twitter.com/ApacheAirflow)\n[![Slack Status](https://img.shields.io/badge/slack-join_chat-white.svg?logo=slack\u0026style=social)](https://s.apache.org/airflow-slack)\n\n[Apache Airflow](https://airflow.apache.org/docs/stable/) (or simply Airflow) is a platform to programmatically author, schedule, and monitor workflows.\n\nWhen workflows are defined as code, they become more maintainable, versionable, testable, and collaborative.\n\nUse Airflow to author workflows as directed acyclic graphs (DAGs) of tasks. The Airflow scheduler executes your tasks on an array of workers while following the specified dependencies. Rich command line utilities make performing complex surgeries on DAGs a snap. The rich user interface makes it easy to visualize pipelines running in production, monitor progress, and troubleshoot issues when needed.\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n**Table of contents**\n\n- [Project Focus](#project-focus)\n- [Principles](#principles)\n- [Requirements](#requirements)\n- [Support for Python versions](#support-for-python-versions)\n- [Getting started](#getting-started)\n- [Installing from PyPI](#installing-from-pypi)\n- [Official source code](#official-source-code)\n- [Convenience packages](#convenience-packages)\n- [User Interface](#user-interface)\n- [Contributing](#contributing)\n- [Who uses Apache Airflow?](#who-uses-apache-airflow)\n- [Who Maintains Apache Airflow?](#who-maintains-apache-airflow)\n- [Can I use the Apache Airflow logo in my presentation?](#can-i-use-the-apache-airflow-logo-in-my-presentation)\n- [Airflow merchandise](#airflow-merchandise)\n- [Links](#links)\n\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n## Project Focus\n\nAirflow works best with workflows that are mostly static and slowly changing. When DAG structure is similar from one run to the next, it allows for clarity around unit of work and continuity. Other similar projects include [Luigi](https://github.com/spotify/luigi), [Oozie](https://oozie.apache.org/) and [Azkaban](https://azkaban.github.io/).\n\nAirflow is commonly used to process data, but has the opinion that tasks should ideally be idempotent (i.e. results of the task will be the same, and will not create duplicated data in a destination system), and should not pass large quantities of data from one task to the next (though tasks can pass metadata using Airflow's [Xcom feature](https://airflow.apache.org/docs/stable/concepts.html#xcoms)). For high-volume, data-intensive tasks, a best practice is to delegate to external services that specialize on that type of work.\n\nAirflow is not a streaming solution, but it is often used to process real-time data, pulling data off streams in batches.\n\n## Principles\n\n- **Dynamic**:  Airflow pipelines are configuration as code (Python), allowing for dynamic pipeline generation. This allows for writing code that instantiates pipelines dynamically.\n- **Extensible**:  Easily define your own operators, executors and extend the library so that it fits the level of abstraction that suits your environment.\n- **Elegant**:  Airflow pipelines are lean and explicit. Parameterizing your scripts is built into the core of Airflow using the powerful **Jinja** templating engine.\n- **Scalable**:  Airflow has a modular architecture and uses a message queue to orchestrate an arbitrary number of workers.\n\n## Requirements\n\nApache Airflow is tested with:\n\n|              | Master version (dev)      | Stable version (2.0.1)   | Previous version (1.10.14) |\n| ------------ | ------------------------- | ------------------------ | -------------------------  |\n| Python       | 3.6, 3.7, 3.8             | 3.6, 3.7, 3.8            | 2.7, 3.5, 3.6, 3.7, 3.8    |\n| PostgreSQL   | 9.6, 10, 11, 12, 13       | 9.6, 10, 11, 12, 13      | 9.6, 10, 11, 12, 13        |\n| MySQL        | 5.7, 8                    | 5.7, 8                   | 5.6, 5.7                   |\n| SQLite       | 3.15.0+                   | 3.15.0+                  | 3.15.0+                    |\n| Kubernetes   | 1.20, 1.19, 1.18          | 1.20, 1.19, 1.18         | 1.18, 1.17, 1.16           |\n\n**Note:** MySQL 5.x versions are unable to or have limitations with\nrunning multiple schedulers -- please see the \"Scheduler\" docs. MariaDB is not tested/recommended.\n\n**Note:** SQLite is used in Airflow tests. Do not use it in production. We recommend\nusing the latest stable version of SQLite for local development.\n\n## Support for Python versions\n\nAs of Airflow 2.0 we agreed to certain rules we follow for Python support. They are based on the official\nrelease schedule of Python, nicely summarized in the\n[Python Developer's Guide](https://devguide.python.org/#status-of-python-branches)\n\n1. We finish support for python versions when they reach EOL (For python 3.6 it means that we will remove it\n   from being supported on 23.12.2021).\n\n2. The \"oldest\" supported version of Python is the default one. \"Default\" is only meaningful in terms of\n   \"smoke tests\" in CI PRs which are run using this default version.\n\n3. We support a new version of Python after it is officially released, as soon as we manage to make\n   it works in our CI pipeline (which might not be immediate) and release a new version of Airflow\n   (non-Patch version) based on this CI set-up.\n\n### Additional notes on Python version requirements\n\n* Previous version [requires](https://github.com/apache/airflow/issues/8162) at least Python 3.5.3\n  when using Python 3\n\n## Getting started\n\nVisit the official Airflow website documentation (latest **stable** release) for help with [installing Airflow](https://airflow.apache.org/installation.html), [getting started](https://airflow.apache.org/start.html), or walking through a more complete [tutorial](https://airflow.apache.org/tutorial.html).\n\n\u003e Note: If you're looking for documentation for master branch (latest development branch): you can find it on [s.apache.org/airflow-docs](https://s.apache.org/airflow-docs/).\n\nFor more information on Airflow's Roadmap or Airflow Improvement Proposals (AIPs), visit the [Airflow Wiki](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Home).\n\nOfficial Docker (container) images for Apache Airflow are described in [IMAGES.rst](IMAGES.rst).\n\n## Installing from PyPI\n\nWe publish Apache Airflow as `apache-airflow` package in PyPI. Installing it however might be sometimes tricky\nbecause Airflow is a bit of both a library and application. Libraries usually keep their dependencies open and\napplications usually pin them, but we should do neither and both at the same time. We decided to keep\nour dependencies as open as possible (in `setup.py`) so users can install different versions of libraries\nif needed. This means that from time to time plain `pip install apache-airflow` will not work or will\nproduce unusable Airflow installation.\n\nIn order to have repeatable installation, however, introduced in **Airflow 1.10.10** and updated in\n**Airflow 1.10.12** we also keep a set of \"known-to-be-working\" constraint files in the\norphan `constraints-master`, `constraints-2-0` and `constraints-1-10` branches. We keep those \"known-to-be-working\"\nconstraints files separately per major/minor python version.\nYou can use them as constraint files when installing Airflow from PyPI. Note that you have to specify\ncorrect Airflow tag/version/branch and python versions in the URL.\n\n\n1. Installing just Airflow:\n\nNOTE!!!\n\nOn November 2020, new version of PIP (20.3) has been released with a new, 2020 resolver. This resolver\nmight work with Apache Airflow as of 20.3.3, but it might lead to errors in installation. It might\ndepend on your choice of extras. In order to install Airflow reliably, you might need to either downgrade\npip to version 20.2.4 `pip install --upgrade pip==20.2.4` or, in case you use Pip 20.3,\nyou might need to add option] `--use-deprecated legacy-resolver` to your pip install command.\nWhile `pip 20.3.3` solved most of the `teething` problems of 20.3, this note will remain here until we\nset `pip 20.3` as official version in our CI pipeline where we are testing the installation as well.\nDue to those constraints, only `pip` installation is currently officially supported.\n\nWhile they are some successes with using other tools like [poetry](https://python-poetry.org) or\n[pip-tools](https://pypi.org/project/pip-tools), they do not share the same workflow as\n`pip` - especially when it comes to constraint vs. requirements management.\nInstalling via `Poetry` or `pip-tools` is not currently supported.\n\nIf you wish to install airflow using those tools you should use the constraint files and convert\nthem to appropriate format and workflow that your tool requires.\n\n\n```bash\npip install apache-airflow==2.0.1 \\\n --constraint \"https://raw.githubusercontent.com/apache/airflow/constraints-2.0.1/constraints-3.7.txt\"\n```\n\n2. Installing with extras (for example postgres,google)\n\n```bash\npip install apache-airflow[postgres,google]==2.0.1 \\\n --constraint \"https://raw.githubusercontent.com/apache/airflow/constraints-2.0.1/constraints-3.7.txt\"\n```\n\nFor information on installing provider packages check\n[providers](http://airflow.apache.org/docs/apache-airflow-providers/index.html).\n\n## Official source code\n\nApache Airflow is an [Apache Software Foundation](http://www.apache.org) (ASF) project,\nand our official source code releases:\n\n- Follow the [ASF Release Policy](http://www.apache.org/legal/release-policy.html)\n- Can be downloaded from [the ASF Distribution Directory](https://downloads.apache.org/airflow)\n- Are cryptographically signed by the release manager\n- Are officially voted on by the PMC members during the\n  [Release Approval Process](http://www.apache.org/legal/release-policy.html#release-approval)\n\nFollowing the ASF rules, the source packages released must be sufficient for a user to build and test the\nrelease provided they have access to the appropriate platform and tools.\n\n## Convenience packages\n\nThere are other ways of installing and using Airflow. Those are \"convenience\" methods - they are\nnot \"official releases\" as stated by the `ASF Release Policy`, but they can be used by the users\nwho do not want to build the software themselves.\n\nThose are - in the order of most common ways people install Airflow:\n\n- [PyPI releases](https://pypi.org/project/apache-airflow/) to install Airflow using standard `pip` tool\n- [Docker Images](https://hub.docker.com/r/apache/airflow) to install airflow via\n  `docker` tool, use them in Kubernetes, Helm Charts, `docker-compose`, `docker swarm` etc. You can\n  read more about using, customising, and extending the images in the\n  [Latest docs](https://airflow.apache.org/docs/apache-airflow/stable/production-deployment.html), and\n  learn details on the internals in the [IMAGES.rst](IMAGES.rst) document.\n- [Tags in GitHub](https://github.com/apache/airflow/tags) to retrieve the git project sources that\n  were used to generate official source packages via git\n\nAll those artifacts are not official releases, but they are prepared using officially released sources.\nSome of those artifacts are \"development\" or \"pre-release\" ones, and they are clearly marked as such\nfollowing the ASF Policy.\n\n## User Interface\n\n- **DAGs**: Overview of all DAGs in your environment.\n\n  ![DAGs](/docs/apache-airflow/img/dags.png)\n\n- **Tree View**: Tree representation of a DAG that spans across time.\n\n  ![Tree View](/docs/apache-airflow/img/tree.png)\n\n- **Graph View**: Visualization of a DAG's dependencies and their current status for a specific run.\n\n  ![Graph View](/docs/apache-airflow/img/graph.png)\n\n- **Task Duration**: Total time spent on different tasks over time.\n\n  ![Task Duration](/docs/apache-airflow/img/duration.png)\n\n- **Gantt View**: Duration and overlap of a DAG.\n\n  ![Gantt View](/docs/apache-airflow/img/gantt.png)\n\n- **Code View**:  Quick way to view source code of a DAG.\n\n  ![Code View](/docs/apache-airflow/img/code.png)\n\n\n## Contributing\n\nWant to help build Apache Airflow? Check out our [contributing documentation](https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst).\n\n## Who uses Apache Airflow?\n\nMore than 350 organizations are using Apache Airflow [in the wild](https://github.com/apache/airflow/blob/master/INTHEWILD.md).\n\n## Who Maintains Apache Airflow?\n\nAirflow is the work of the [community](https://github.com/apache/airflow/graphs/contributors),\nbut the [core committers/maintainers](https://people.apache.org/committers-by-project.html#airflow)\nare responsible for reviewing and merging PRs as well as steering conversation around new feature requests.\nIf you would like to become a maintainer, please review the Apache Airflow\n[committer requirements](https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst#guidelines-to-become-an-airflow-committer).\n\n## Can I use the Apache Airflow logo in my presentation?\n\nYes! Be sure to abide by the Apache Foundation [trademark policies](https://www.apache.org/foundation/marks/#books) and the Apache Airflow [Brandbook](https://cwiki.apache.org/confluence/display/AIRFLOW/Brandbook). The most up to date logos are found in [this repo](/docs/apache-airflow/img/logos) and on the Apache Software Foundation [website](https://www.apache.org/logos/about.html).\n\n## Airflow merchandise\n\nIf you would love to have Apache Airflow stickers, t-shirt etc. then check out\n[Redbubble Shop](https://www.redbubble.com/i/sticker/Apache-Airflow-by-comdev/40497530.EJUG5).\n\n## Links\n\n- [Documentation](https://airflow.apache.org/docs/stable/)\n- [Chat](https://s.apache.org/airflow-slack)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub%2Fincubator-airflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgithub%2Fincubator-airflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgithub%2Fincubator-airflow/lists"}