incubator-airflow/README.md

31 KiB

Apache Airflow

PyPI version Build Status Coverage Status Documentation Status License PyPI - Python Version Twitter Follow Slack Status

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.

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.

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.

Contributing

Want to help build Apache Airflow? Check out our contributing documentation.

Who uses Apache 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.

Currently officially using Airflow:

  1. 4G Capital [@posei]
  2. 6play [@lemourA, @achaussende, @d-nguyen, @julien-gm]
  3. 8fit [@nicor88, @frnzska]
  4. 90 Seconds [@aaronmak]
  5. 99 [@fbenevides, @gustavoamigo & @mmmaia]
  6. AdBOOST [AdBOOST]
  7. Adobe [@mishikaSingh, @ramandumcs, @vardancse]
  8. Agari [@r39132]
  9. Airbnb [@mistercrunch, @artwr]
  10. AirDNA
  11. Airfinity [@sibowyer]
  12. Airtel [@harishbisht]
  13. Alan [@charles-go]
  14. allegro.pl [@kretes]
  15. AltX [@pedromduarte]
  16. Apigee [@btallman]
  17. ARGO Labs [California Data Collaborative]
  18. ARMEDANGELS [@swiffer]
  19. Arquivei [@arquivei]
  20. Asana [@chang, @dima-asana, @jdavidheiser, @ricardoandresrojas]
  21. Astronomer [@schnie, @andscoop, @tedmiston, @benjamingregory]
  22. Auth0 [@sicarul]
  23. Away [@trunsky]
  24. Azri Solutions [@userimack]
  25. BalanceHero [@swalloow]
  26. Banco de Formaturas [@guiligan]
  27. BandwidthX [@dineshdsharma]
  28. Basetis
  29. BBM
  30. Beeswax
  31. Bellhops
  32. BelugaDB [@fabio-nukui & @joao-sallaberry & @lucianoviola & @tmatuki]
  33. Betterment [@betterment]
  34. BlaBlaCar [@puckel & @wmorin]
  35. Bloc [@dpaola2]
  36. Bloomberg [@dimberman]
  37. Blue Yonder [@blue-yonder]
  38. BlueApron [@jasonjho & @matthewdavidhauser]
  39. Bluecore [@JLDLaughlin]
  40. Boda Telecom Suite - CE [@erssebaggala, @bodastage]
  41. Bodastage Solutions [@erssebaggala, @bodastage]
  42. Bombora Inc [@jeffkpayne, @pakelley, @dNavalta, @TheOriginalAlex]
  43. Bonnier Broadcasting [@wileeam]
  44. BounceX [@JoshFerge, @hudsonrio, @ronniekritou]
  45. Branch [@sdebarshi, @dmitrig01]
  46. California Data Collaborative powered by ARGO Labs
  47. Capital One [@anoopengineer]
  48. Carbonite [@ajbosco]
  49. CarLabs [@sganz & @odannyc]
  50. CAVA [@minh5 & @patchus]
  51. Celect [@superdosh & @chadcelect]
  52. Censys [@zakird, @dadrian, & @andrewsardone]
  53. Change.org [@change, @vijaykramesh]
  54. Chartboost [@cgelman & @dclubb]
  55. Checkr [@tongboh]
  56. Children's Hospital of Philadelphia Division of Genomic Diagnostics [@genomics-geek]
  57. Cinimex DataLab [@kdubovikov]
  58. City of San Diego [@MrMaksimize, @andrell81 & @arnaudvedy]
  59. Civey [@WesleyBatista]
  60. Clairvoyant @shekharv
  61. Classmethod, Inc. [@shoito]
  62. Clover Health [@gwax & @vansivallab]
  63. Collectivehealth Inc. @retornam
  64. Compass [@wdhorton]
  65. ContaAzul [@bern4rdelli, @renanleme & @sabino]
  66. Cotap [@maraca & @richardchew]
  67. Craig@Work
  68. Credit Karma [@preete-dixit-ck & @harish-gaggar-ck & @greg-finley-ck]
  69. Creditas [@dcassiano]
  70. CreditCards.com[@vmAggies & @jay-wallaby]
  71. Custom Ink [@david-dalisay, @dmartin11 & @mpeteuil]
  72. Dailymotion [@germaintanguy & @hc]
  73. Danamica [@testvinder]
  74. Data Reply [@kaxil]
  75. DataCamp [@dgrtwo]
  76. DataFox [@sudowork]
  77. Digital First Media [@duffn & @mschmo & @seanmuth]
  78. DigitalOcean [@ajbosco]
  79. DocuTAP [@jshvrsn & @lhvphan & @cloneluke]
  80. DoorDash
  81. Dotmodus [@dannylee12]
  82. Drivy [@AntoineAugusti]
  83. Easy Taxi [@caique-lima & @diraol]
  84. Enigma [@hydrosquall]
  85. eRevalue [@hamedhsn]
  86. Etsy [@mchalek]
  87. evo.company [@orhideous]
  88. Fathom Health
  89. Firestone Inventing [@zihengCat]
  90. Flipp [@sethwilsonwishabi]
  91. Format [@format & @jasonicarter]
  92. FreshBooks [@DinoCow]
  93. Fundera [@andyxhadji]
  94. G Adventures [@samuelmullin]
  95. GameWisp [@tjbiii & @theryanwalls]
  96. GeneCards [@oferze]
  97. Gentner Lab [@neuromusic]
  98. Get Simpl [@rootcss]
  99. GitLab [@tlapiana & @tayloramurphy]
  100. Glassdoor [@syvineckruyk & @sid88in]
  101. Global Fashion Group [@GFG]
  102. GoDataDriven [@BasPH, @danielvdende, @ffinfo, @Fokko, @gglanzani, @hgrif, @jrderuiter, @NielsZeilemaker]
  103. GovTech GDS [@chrissng & @datagovsg]
  104. Gradeup [@gradeup]
  105. Grand Rounds [@richddr, @timz1290, @wenever, & @runongirlrunon]
  106. Groupalia [@jesusfcr]
  107. Groupon [@stevencasey]
  108. Gusto [@frankhsu]
  109. Handshake [@mhickman]
  110. Handy [@marcintustin / @mtustin-handy]
  111. happn [@PierreCORBEL]
  112. HAVAN [@botbiz]
  113. HBC Digital [@tmccartan & @dmateusp]
  114. HBO[@yiwang]
  115. Healthjump [@miscbits]
  116. HelloFresh [@tammymendt & @davidsbatista & @iuriinedostup]
  117. Hipages [@arihantsurana]
  118. Holimetrix [@thibault-ketterer]
  119. Hootsuite
  120. Hostnfly [@CyrilLeMat & @pierrechopin & @alexisrosuel]
  121. HotelQuickly [@zinuzoid]
  122. Iflix [@ChaturvediSulabh]
  123. IFTTT [@apurvajoshi]
  124. iHeartRadio[@yiwang]
  125. imgix [@dclubb]
  126. ING
  127. Intercom [@fox & @paulvic]
  128. Investorise [@svenvarkel]
  129. Jampp
  130. Jeitto [@BrennerPablo & @ds-mauri]
  131. Jetlore
  132. JobTeaser [@stefani75 & @knil-sama]
  133. Kalibrr [@charlesverdad]
  134. Karmic [@hyw]
  135. King [@nathadfield]
  136. Kiwi.com [@underyx]
  137. Kogan.com [@geeknam]
  138. Korbit [@jensenity]
  139. KPN B.V. [@biyanisuraj & @gmic]
  140. Lemann Foundation [@fernandosjp]
  141. LeMans Corporation [@alloydwhitlock] & [@tinyrye]
  142. LendUp [@lendup]
  143. LetsBonus [@jesusfcr & @OpringaoDoTurno]
  144. Liberty Global [@LibertyGlobal]
  145. liligo [@tromika]
  146. LingoChamp [@haitaoyao]
  147. Los Angeles Times [@standyro]
  148. Lucid [@jbrownlucid & @kkourtchikov]
  149. Lumos Labs [@rfroetscher & @zzztimbo]
  150. Lyft[@feng-tao]
  151. M4U [@msantino]
  152. Madrone [@mbreining & @scotthb]
  153. Markovian [@al-xv, @skogsbaeck, @waltherg]
  154. Mercadoni [@demorenoc]
  155. Mercari [@yu-iskw]
  156. MFG Labs
  157. MiNODES [@dice89, @diazcelsa]
  158. Modernizing Medicine[@kehv1n, @dalupus]
  159. Multiply [@nrhvyc]
  160. mytaxi [@mytaxi]
  161. Neoway [@neowaylabs]
  162. Nerdwallet
  163. New Relic [@marcweil]
  164. Newzoo [@newzoo-nexus]
  165. NEXT Trucking [@earthmancash2, @kppullin]
  166. Nextdoor [@SivaPandeti, @zshapiro & @jthomas123]
  167. Nine [@TheZepto]
  168. OdysseyPrime [@davideberdin]
  169. OfferUp
  170. OneFineStay [@slangwald]
  171. Open Knowledge International @vitorbaptista
  172. Overstock [@mhousley & @mct0006]
  173. Pagar.me [@pagarme
  174. Palo Alto Networks [@PaloAltoNetworks]
  175. Pandora Media [@Acehaidrey & @wolfier]
  176. PAYMILL [@paymill & @matthiashuschle]
  177. PayPal [@r39132 & @jhsenjaliya]
  178. Pernod-Ricard [@romain-nio]
  179. Plaid [@plaid, @AustinBGibbons & @jeeyoungk]
  180. Playbuzz [@clintonboys & @dbn]
  181. PMC [@andrewm4894]
  182. Poshmark
  183. Postmates [@syeoryn]
  184. Pronto Tools [@zkan & @mesodiar]
  185. Publicis Pixelpark [@feluelle]
  186. PubNub [@jzucker2]
  187. PXYData [@patchus]
  188. Qplum [@manti]
  189. Quantopian [@eronarn]
  190. Qubole [@msumit]
  191. Quizlet [@quizlet]
  192. Quora
  193. REA Group
  194. Reddit [@reddit]
  195. Robinhood [@vineet-rh]
  196. Scaleway [@kdeldycke]
  197. Semantics3 [@abishekk92]
  198. Sense360 [@kamilmroczek]
  199. Shopkick [@shopkick]
  200. Sidecar [@getsidecar]
  201. SimilarWeb [@similarweb]
  202. SmartNews [@takus]
  203. SocialCops [@vinayak-mehta & @sharky93]
  204. Société générale [@medmrgh & @s83]
  205. Spotahome [@spotahome]
  206. SpotHero [@benjigoldberg]
  207. Spotify [@znichols]
  208. Square
  209. Stackspace
  210. Strava [@strava, @dhuang & @liamstewart]
  211. Stripe [@jbalogh]
  212. Strongmind [@tomchapin & @wongstein]
  213. Surfline [@jawang35]
  214. T2 Systems [@unclaimedpants]
  215. Tails.com [@alanmcruickshank]
  216. TEK [@telac]
  217. Tesla [@thoralf-gutierrez]
  218. The Home Depot[@apekshithr]
  219. THE ICONIC [@revathijay] [@ilikedata]
  220. Thinking Machines [@marksteve]
  221. Thinknear [@d3cay1, @ccson, & @ababian]
  222. ThoughtWorks [@sann3]
  223. Thumbtack [@natekupp]
  224. Tictail
  225. Tile [@ranjanmanish]
  226. Tinder [@kbendick]
  227. Tokopedia @topedmaria
  228. Twine Labs [@ivorpeles]
  229. Twitter [@aoen]
  230. Ubisoft [@Walkoss]
  231. United Airlines [@ilopezfr]
  232. Upsight
  233. VeeR VR [@pishilong]
  234. Veikkaus [@hixus]
  235. Vente-Exclusive.com [@alexvanboxel]
  236. Vevo [@csetiawan & @jerrygillespie]
  237. Vidio
  238. Ville de Montréal@VilledeMontreal]
  239. Vnomics [@lpalum]
  240. Waze [@waze]
  241. WePay [@criccomini & @mtagle]
  242. WeTransfer [@jochem]
  243. Whistle Labs [@ananya77041]
  244. WiseBanyan
  245. Wooga
  246. Xero [@yan9yu]
  247. Xoom
  248. Yahoo!
  249. Yieldr [@ggeorgiadis]
  250. Zapier [@drknexus & @statwonk]
  251. Zego [@ruimffl, @james-welly, @ken-payne]
  252. Zendesk
  253. Zenly [@cerisier & @jbdalido]
  254. Zymergen

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.