/incubator-airflow

Apache Airflow (Incubating)

Primary LanguagePythonApache License 2.0Apache-2.0

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

Links