incubator-airflow/README.md

17 KiB

Airflow

PyPI version Build Status Coverage Status Documentation Join the chat at https://gitter.im/apache/incubator-airflow

NOTE: The transition from 1.8.0 (or before) to 1.8.1 (or after) requires uninstalling Airflow before installing the new version. The package name was changed from airflow to apache-airflow as of version 1.8.1.

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.

Getting started

Please visit the Airflow Platform documentation for help with installing Airflow, getting a quick start, or a more complete tutorial.

For further information, please visit the Airflow Wiki.

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. Airflow is ready to scale to infinity.

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.

Who uses Airflow?

As the 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:

Currently officially using Airflow:

  1. Airbnb [@mistercrunch, @artwr]
  2. Agari [@r39132]
  3. allegro.pl [@kretes]
  4. AltX [@pedromduarte]
  5. Apigee [@btallman]
  6. ARGO Labs [California Data Collaborative]
  7. Astronomer [@schnie, @andscoop, @tedmiston, @benjamingregory]
  8. Auth0 [@sicarul]
  9. Away [@trunsky]
  10. BalanceHero [@swalloow]
  11. Azri Solutions [@userimack]
  12. BandwidthX [@dineshdsharma]
  13. Bellhops
  14. BlaBlaCar [@puckel & @wmorin]
  15. Bloc [@dpaola2]
  16. BlueApron [@jasonjho & @matthewdavidhauser]
  17. Blue Yonder [@blue-yonder]
  18. California Data Collaborative powered by ARGO Labs
  19. Carbonite [@ajbosco]
  20. Celect [@superdosh & @chadcelect]
  21. Change.org [@change, @vijaykramesh]
  22. Checkr [@tongboh]
  23. Children's Hospital of Philadelphia Division of Genomic Diagnostics [@genomics-geek]
  24. City of San Diego [@MrMaksimize, @andrell81 & @arnaudvedy]
  25. Clairvoyant @shekharv
  26. Clover Health [@gwax & @vansivallab]
  27. Chartboost [@cgelman & @dclubb]
  28. ContaAzul [@bern4rdelli, @renanleme & @sabino]
  29. Cotap [@maraca & @richardchew]
  30. CreditCards.com[@vmAggies & @jay-wallaby]
  31. Credit Karma [@preete-dixit-ck & @harish-gaggar-ck & @greg-finley-ck]
  32. Creditas [@dcassiano]
  33. DataFox [@sudowork]
  34. Data Reply [@kaxil]
  35. Digital First Media [@duffn & @mschmo & @seanmuth]
  36. Drivy [@AntoineAugusti]
  37. Easy Taxi [@caique-lima & @WesleyBatista]
  38. eRevalue [@hamedhsn]
  39. evo.company [@orhideous]
  40. FreshBooks [@DinoCow]
  41. Fundera [@andyxhadji]
  42. GameWisp [@tjbiii & @theryanwalls]
  43. Gentner Lab [@neuromusic]
  44. Glassdoor [@syvineckruyk]
  45. Global Fashion Group [@GFG]
  46. GovTech GDS [@chrissng & @datagovsg]
  47. Grand Rounds [@richddr, @timz1290, @wenever, & @runongirlrunon]
  48. Groupalia [@jesusfcr]
  49. Gusto [@frankhsu]
  50. Handshake [@mhickman]
  51. Handy [@marcintustin / @mtustin-handy]
  52. Healthjump [@miscbits]
  53. HBO[@yiwang]
  54. HelloFresh [@tammymendt & @davidsbatista & @iuriinedostup]
  55. Holimetrix [@thibault-ketterer]
  56. Hootsuite
  57. Hostnfly [@CyrilLeMat & @pierrechopin & @alexisrosuel]
  58. HotelQuickly [@zinuzoid]
  59. IFTTT [@apurvajoshi]
  60. iHeartRadio[@yiwang]
  61. imgix [@dclubb]
  62. ING
  63. Jampp
  64. Kiwi.com [@underyx]
  65. Kogan.com [@geeknam]
  66. Lemann Foundation [@fernandosjp]
  67. LendUp [@lendup]
  68. LetsBonus [@jesusfcr & @OpringaoDoTurno]
  69. liligo [@tromika]
  70. LingoChamp [@haitaoyao]
  71. Lucid [@jbrownlucid & @kkourtchikov]
  72. Lumos Labs [@rfroetscher & @zzztimbo]
  73. Lyft[@SaurabhBajaj]
  74. Madrone [@mbreining & @scotthb]
  75. Markovian [@al-xv, @skogsbaeck, @waltherg]
  76. Mercadoni [@demorenoc]
  77. Mercari [@yu-iskw]
  78. MiNODES [@dice89, @diazcelsa]
  79. MFG Labs
  80. mytaxi [@mytaxi]
  81. Nerdwallet
  82. New Relic [@marcweil]
  83. Nextdoor [@SivaPandeti, @zshapiro & @jthomas123]
  84. OfferUp
  85. OneFineStay [@slangwald]
  86. Open Knowledge International @vitorbaptista
  87. Pandora Media [@Acehaidrey]
  88. PAYMILL [@paymill & @matthiashuschle]
  89. PayPal [@r39132 & @jhsenjaliya]
  90. Playbuzz [@clintonboys & @dbn]
  91. Postmates [@syeoryn]
  92. Pronto Tools [@zkan & @mesodiar]
  93. Qubole [@msumit]
  94. Quizlet [@quizlet]
  95. Quora
  96. Robinhood [@vineet-rh]
  97. Scaleway [@kdeldycke]
  98. Sense360 [@kamilmroczek]
  99. Shopkick [@shopkick]
  100. Sidecar [@getsidecar]
  101. SimilarWeb [@similarweb]
  102. SmartNews [@takus]
  103. Spotify [@znichols]
  104. Stackspace
  105. Stripe [@jbalogh]
  106. Tails.com [@alanmcruickshank]
  107. Thumbtack [@natekupp]
  108. Tictail
  109. T2 Systems [@unclaimedpants]
  110. Ubisoft [@Walkoss]
  111. United Airlines [@ilopezfr]
  112. Vente-Exclusive.com [@alexvanboxel]
  113. Vnomics [@lpalum]
  114. WePay [@criccomini & @mtagle]
  115. WeTransfer [@jochem]
  116. Whistle Labs [@ananya77041]
  117. WiseBanyan
  118. Wooga
  119. Xoom [@gepser & @omarvides]
  120. Yahoo!
  121. Zapier [@drknexus & @statwonk]
  122. Zendesk
  123. Zenly [@cerisier & @jbdalido]
  124. Zymergen
  125. 99 [@fbenevides, @gustavoamigo & @mmmaia]