Programmatically author, schedule and monitor data pipelines
Project description
Apache Airflow
NOTE: The transition from 1.8.0 (or before) to 1.8.1 (or after) requires uninstalling Apache Airflow before installing the new version. The package name was changed from airflow
to apache-airflow
as of version 1.8.1.
Apache Airflow (or simply Airflow) is a platform to programmatically author, schedule, and monitor workflows.
When workflows are defined as code, they become more maintainable, versionable, testable, and collaborative.
Use 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.
Table of contents
- Requirements
- Getting started
- Beyond the Horizon
- Principles
- User Interface
- Using hooks and Operators from "master" in Airflow 1.10
- Contributing
- Who uses Airflow?
- Who Maintains Apache Airflow?
- Can I use the Apache Airflow logo in my presentation?
- Links
Requirements
Apache Airflow is tested with:
Master version (2.0.0dev)
- Python versions: 3.6, 3.7
- Postgres DB: 9.6, 10
- MySQL DB: 5.7
- Sqlite - latest stable (it is used mainly for development purpose)
Stable version (1.10.9)
- Python versions: 2.7, 3.5, 3.6, 3.7
- Postgres DB: 9.6, 10
- MySQL DB: 5.6, 5.7
- Sqlite - latest stable (it is used mainly for development purpose)
Getting started
Please visit the Airflow Platform documentation (latest stable release) for help with installing Airflow, getting a quick start, or a more complete tutorial.
Documentation of GitHub master (latest development branch): ReadTheDocs Documentation
For further information, please visit the Airflow Wiki.
Official container (Docker) images for Apache Airflow are described in IMAGES.rst.
Beyond the Horizon
Airflow is not a data streaming solution. Tasks do not move data from one to the other (though tasks can exchange metadata!). Airflow is not in the Spark Streaming or Storm space, it is more comparable to Oozie or Azkaban.
Workflows are expected to be mostly static or slowly changing. You can think of the structure of the tasks in your workflow as slightly more dynamic than a database structure would be. Airflow workflows are expected to look similar from a run to the next, this allows for clarity around unit of work and continuity.
Principles
- Dynamic: Airflow pipelines are configuration as code (Python), allowing for dynamic pipeline generation. This allows for writing code that instantiates pipelines dynamically.
- Extensible: Easily define your own operators, executors and extend the library so that it fits the level of abstraction that suits your environment.
- Elegant: Airflow pipelines are lean and explicit. Parameterizing your scripts is built into the core of Airflow using the powerful Jinja templating engine.
- Scalable: Airflow has a modular architecture and uses a message queue to orchestrate an arbitrary number of workers.
User Interface
-
DAGs: Overview of all DAGs in your environment.
-
Tree View: Tree representation of a DAG that spans across time.
-
Graph View: Visualization of a DAG's dependencies and their current status for a specific run.
-
Task Duration: Total time spent on different tasks over time.
-
Gantt View: Duration and overlap of a DAG.
-
Code View: Quick way to view source code of a DAG.
Using hooks and Operators from "master" in Airflow 1.10
Currently stable versions of Apache Airflow are released in 1.10.* series. We are working on the future, major version of Airflow from the 2.0.* series. It is going to be released in in 2020. However the exact time of release depends on many factors and is yet unknown. We have already a lot of changes in the hooks/operators/sensors for many external systems and they are not used because they are part of the master/2.0 release.
In the Airflow 2.0 - following AIP-21 "change in import paths" all the non-core operators/hooks/sensors of Apache Airflow have been moved to the "airflow.providers" package. This opened a possibility to use the operators from Airflow 2.0 in Airflow 1.10 - with the constraint that those packages can only be used in python3.6+ environment.
Therefore we decided to prepare and release backport packages that can be installed for older Airflow versions. Those backport packages are released more frequently. Users do not have to upgrade their Airflow version to use those packages. There are a number of changes between Airflow 2.0 and 1.10.* - documented in UPDATING.md. With backported providers package users can migrate their DAGs to the new providers package incrementally and once they convert to the new operators/sensors/hooks they can seamlessly migrate their environments to Airflow 2.0.
More information about the status and releases of the back-ported packages are available at Backported providers package page
Dependencies between packages are stored in airflow/providers/dependencies.json
. See
CONTRIBUTING.rst
Contributing
Want to help build Apache Airflow? Check out our contributing documentation.
Who uses Airflow?
As the Apache Airflow community grows, we'd like to keep track of who is using the platform. Please send a PR with your company name and @githubhandle if you may.
Committers:
- Refer to Committers
Currently officially using Airflow:
- AdBOOST [AdBOOST]
- Agari [@r39132]
- Airbnb [@mistercrunch, @artwr]
- Airtel [@harishbisht]
- Alan [@charles-go]
- allegro.pl [@kretes]
- AltX [@pedromduarte]
- Apigee [@btallman]
- ARGO Labs [California Data Collaborative]
- Astronomer [@schnie, @andscoop, @tedmiston, @benjamingregory]
- Auth0 [@sicarul]
- Away [@trunsky]
- Azri Solutions [@userimack]
- BalanceHero [@swalloow]
- Banco de Formaturas [@guiligan]
- BandwidthX [@dineshdsharma]
- Bellhops
- BelugaDB [@fabio-nukui & @joao-sallaberry & @lucianoviola & @tmatuki]
- BlaBlaCar [@puckel & @wmorin]
- Bloc [@dpaola2]
- Blue Yonder [@blue-yonder]
- BlueApron [@jasonjho & @matthewdavidhauser]
- Bluecore [@JLDLaughlin]
- Boda Telecom Suite - CE [@erssebaggala, @bodastage]
- Bodastage Solutions [@erssebaggala, @bodastage]
- Bonnier Broadcasting [@wileeam]
- BounceX [@JoshFerge, @hudsonrio, @ronniekritou]
- California Data Collaborative powered by ARGO Labs
- Carbonite [@ajbosco]
- Celect [@superdosh & @chadcelect]
- Change.org [@change, @vijaykramesh]
- Checkr [@tongboh]
- Children's Hospital of Philadelphia Division of Genomic Diagnostics [@genomics-geek]
- Cinimex DataLab [@kdubovikov]
- City of San Diego [@MrMaksimize, @andrell81 & @arnaudvedy]
- Clairvoyant @shekharv
- Clover Health [@gwax & @vansivallab]
- Chartboost [@cgelman & @dclubb]
- ContaAzul [@bern4rdelli, @renanleme & @sabino]
- Cotap [@maraca & @richardchew]
- Craig@Work
- Credit Karma [@preete-dixit-ck & @harish-gaggar-ck & @greg-finley-ck]
- CreditCards.com[@vmAggies & @jay-wallaby]
- Creditas [@dcassiano]
- Custom Ink [@david-dalisay, @dmartin11 & @mpeteuil]
- Data Reply [@kaxil]
- DataFox [@sudowork]
- Digital First Media [@duffn & @mschmo & @seanmuth]
- DocuTAP [@jshvrsn & @lhvphan & @cloneluke]
- Dotmodus [@dannylee12]
- Drivy [@AntoineAugusti]
- Easy Taxi [@caique-lima & @WesleyBatista & @diraol]
- eRevalue [@hamedhsn]
- evo.company [@orhideous]
- FreshBooks [@DinoCow]
- Fundera [@andyxhadji]
- GameWisp [@tjbiii & @theryanwalls]
- Gentner Lab [@neuromusic]
- Glassdoor [@syvineckruyk]
- Global Fashion Group [@GFG]
- GovTech GDS [@chrissng & @datagovsg]
- Grand Rounds [@richddr, @timz1290, @wenever, & @runongirlrunon]
- Groupalia [@jesusfcr]
- Groupon [@stevencasey]
- Gusto [@frankhsu]
- Handshake [@mhickman]
- Handy [@marcintustin / @mtustin-handy]
- HBC Digital [@tmccartan & @dmateusp]
- HBO[@yiwang]
- Healthjump [@miscbits]
- HelloFresh [@tammymendt & @davidsbatista & @iuriinedostup]
- Holimetrix [@thibault-ketterer]
- Hootsuite
- Hostnfly [@CyrilLeMat & @pierrechopin & @alexisrosuel]
- HotelQuickly [@zinuzoid]
- IFTTT [@apurvajoshi]
- iHeartRadio[@yiwang]
- imgix [@dclubb]
- ING
- Intercom [@fox & @paulvic]
- Investorise [@svenvarkel]
- Jampp
- JobTeaser [@stefani75 & @knil-sama]
- Kalibrr [@charlesverdad]
- Karmic [@hyw]
- Kiwi.com [@underyx]
- Kogan.com [@geeknam]
- Lemann Foundation [@fernandosjp]
- LendUp [@lendup]
- LetsBonus [@jesusfcr & @OpringaoDoTurno]
- liligo [@tromika]
- LingoChamp [@haitaoyao]
- Lucid [@jbrownlucid & @kkourtchikov]
- Lumos Labs [@rfroetscher & @zzztimbo]
- Lyft[@SaurabhBajaj]
- M4U [@msantino]
- Madrone [@mbreining & @scotthb]
- Markovian [@al-xv, @skogsbaeck, @waltherg]
- Mercadoni [@demorenoc]
- Mercari [@yu-iskw]
- MFG Labs
- MiNODES [@dice89, @diazcelsa]
- Multiply [@nrhvyc]
- mytaxi [@mytaxi]
- Nerdwallet
- New Relic [@marcweil]
- Newzoo [@newzoo-nexus]
- Nextdoor [@SivaPandeti, @zshapiro & @jthomas123]
- OdysseyPrime [@davideberdin]
- OfferUp
- OneFineStay [@slangwald]
- Open Knowledge International @vitorbaptista
- Overstock [@mhousley & @mct0006]
- Pandora Media [@Acehaidrey & @wolfier]
- PAYMILL [@paymill & @matthiashuschle]
- PayPal [@r39132 & @jhsenjaliya]
- Pernod-Ricard [@romain-nio]
- Plaid [@plaid, @AustinBGibbons & @jeeyoungk]
- Playbuzz [@clintonboys & @dbn]
- PMC [@andrewm4894]
- Postmates [@syeoryn]
- Pronto Tools [@zkan & @mesodiar]
- PubNub [@jzucker2]
- Qplum [@manti]
- Quantopian [@eronarn]
- Qubole [@msumit]
- Quizlet [@quizlet]
- Quora
- REA Group
- Reddit [@reddit]
- Robinhood [@vineet-rh]
- Scaleway [@kdeldycke]
- Sense360 [@kamilmroczek]
- Shopkick [@shopkick]
- Sidecar [@getsidecar]
- SimilarWeb [@similarweb]
- SmartNews [@takus]
- SocialCops [@vinayak-mehta & @sharky93]
- Spotahome [@spotahome]
- Spotify [@znichols]
- Stackspace
- Stripe [@jbalogh]
- Tails.com [@alanmcruickshank]
- Thinking Machines [@marksteve]
- Thinknear [@d3cay1, @ccson, & @ababian]
- Thumbtack [@natekupp]
- Tictail
- Tile [@ranjanmanish]
- Tokopedia @topedmaria
- Twine Labs [@ivorpeles]
- Twitter [@aoen]
- T2 Systems [@unclaimedpants]
- Ubisoft [@Walkoss]
- United Airlines [@ilopezfr]
- Upsight [@dhuang]
- Vente-Exclusive.com [@alexvanboxel]
- Vevo [@csetiawan & @jerrygillespie]
- Vnomics [@lpalum]
- WePay [@criccomini & @mtagle]
- WeTransfer [@jochem]
- Whistle Labs [@ananya77041]
- WiseBanyan
- Wooga
- Xero [@yan9yu]
- Xoom
- Yahoo!
- Yieldr [@ggeorgiadis]
- Zapier [@drknexus & @statwonk]
- Zego [@ruimffl]
- Zendesk
- Zenly [@cerisier & @jbdalido]
- Zymergen
- 99 [@fbenevides, @gustavoamigo & @mmmaia]
Who Maintains Apache Airflow?
Airflow is the work of the community, but the core committers/maintainers are responsible for reviewing and merging PRs as well as steering conversation around new feature requests. If you would like to become a maintainer, please review the Apache Airflow committer requirements.
Can I use the Apache Airflow logo in my presentation?
Yes! Be sure to abide by the Apache Foundation trademark policies and the Apache Airflow Brandbook. The most up to date logos are found in this repo and on the Apache Software Foundation website.
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file apache-airflow-1.10.10.tar.gz
.
File metadata
- Download URL: apache-airflow-1.10.10.tar.gz
- Upload date:
- Size: 4.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 046e16266e30a78c848f0fd53a910203bf141d9357e3179854a75909a1824a66 |
|
MD5 | 45ca5c66652e7909bb5cc3cc7e49d915 |
|
BLAKE2b-256 | b161a40271d4cec58e52749b6bc8c703b11b0e6d4e4ab5bbcbaf177a6a1ee096 |
File details
Details for the file apache_airflow-1.10.10-py2.py3-none-any.whl
.
File metadata
- Download URL: apache_airflow-1.10.10-py2.py3-none-any.whl
- Upload date:
- Size: 4.7 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95ba96ef7e7a5547105b5a256ed4bf51cea0901daf3ec19235bd28eb2bec5bb1 |
|
MD5 | 65de4887f635aea0a2237357c2de04b6 |
|
BLAKE2b-256 | f732600475e46b90f983ff093187425725cad9f3303665161328cd17d9ba974c |