alexandraabbas / airflow

Apache Airflow - A platform to programmatically author, schedule, and monitor workflows

Home Page:https://airflow.apache.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Table of contents

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.

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 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. Agoda [@akki]
  10. Airbnb [@mistercrunch, @artwr]
  11. AirDNA
  12. Airfinity [@sibowyer]
  13. Airtel [@harishbisht]
  14. Akamas [@GiovanniPaoloGibilisco, @lucacavazzana]
  15. Alan [@charles-go]
  16. allegro.pl [@kretes]
  17. AloPeyk [@blcksrx, @AloPeyk]
  18. AltX [@pedromduarte]
  19. AMPATH[@AMPATH, @fatmali]
  20. Apigee [@btallman]
  21. ARGO Labs [@California Data Collaborative]
  22. ARMEDANGELS [@swiffer]
  23. Arquivei [@arquivei]
  24. Arrive
  25. Asana [@chang, @dima-asana, @jdavidheiser, @ricardoandresrojas]
  26. Astronomer [@schnie, @ashb, @kaxil, @dimberman, @andriisoldatenko, @ryw, @andrewhharmon]
  27. Auth0 [@sicarul]
  28. Automattic [@anandnalya, @bperson, @khrol, @xyu]
  29. Away [@trunsky]
  30. Azri Solutions [@userimack]
  31. Bagelcode
  32. BalanceHero [@swalloow]
  33. Banco de Formaturas [@guiligan]
  34. BandwidthX [@dineshdsharma]
  35. Basetis
  36. BBM
  37. Beamly [@christopheralcock]
  38. Beeswax
  39. Bellhops
  40. BelugaDB [@fabio-nukui & @joao-sallaberry & @lucianoviola & @tmatuki]
  41. Betterment [@betterment]
  42. Bexs Bank [@felipefb & @ilarsen]
  43. BigQuant [@bigquant]
  44. Birdz by Veolia [@benjamingrenier]
  45. BlaBlaCar [@puckel & @wmorin]
  46. Blacklane [@serkef]
  47. Bloc [@dpaola2]
  48. Bloomberg [@dimberman]
  49. Blue Yonder [@blue-yonder]
  50. BlueApron [@jasonjho & @matthewdavidhauser]
  51. Bluecore [@JLDLaughlin]
  52. Bluekiri [@Bluekiri]
  53. Boda Telecom Suite - CE [@erssebaggala, @bodastage]
  54. Bodastage Solutions [@erssebaggala, @bodastage]
  55. Bombora Inc [@jeffkpayne, @pakelley, @dNavalta, @austynh, @TheOriginalAlex]
  56. Bonial International GmbH
  57. Bonnier Broadcasting [@wileeam]
  58. BounceX [@JoshFerge, @hudsonrio, @ronniekritou]
  59. Braintree [@coopergillan, @curiousjazz77, @raymondberg]
  60. Branch [@sdebarshi, @dmitrig01]
  61. Caesars Entertainment
  62. California Data Collaborative powered by ARGO Labs
  63. Capital One [@anoopengineer]
  64. Carbonite [@ajbosco]
  65. CarLabs [@sganz & @odannyc]
  66. CAVA [@minh5 & @patchus]
  67. Celect [@superdosh & @chadcelect]
  68. Censys [@zakird, @dadrian, & @andrewsardone]
  69. Change.org [@change, @vijaykramesh]
  70. Chartboost [@cgelman & @dclubb]
  71. Checkr [@tongboh]
  72. Children's Hospital of Philadelphia Division of Genomic Diagnostics [@genomics-geek]
  73. Cinimex DataLab [@kdubovikov]
  74. City of San Diego [@MrMaksimize, @andrell81 & @arnaudvedy]
  75. City of Toronto [@CityofToronto, @radumas]
  76. ciValue [@chencivalue, @YoavGaudin, @saleem-boshnak]
  77. Civey [@WesleyBatista]
  78. Clairvoyant [@shekharv]
  79. Classmethod, Inc. [@shoito]
  80. Cleartax [@anks & @codebuff]
  81. Clover Health [@gwax & @vansivallab]
  82. Collectivehealth Inc. [@retornam]
  83. Compass [@wdhorton]
  84. ConnectWise [@jacobeturpin]
  85. ContaAzul [@bern4rdelli, @renanleme & @sabino]
  86. Cotap [@maraca & @richardchew]
  87. Craig@Work
  88. Crealytics
  89. Credit Karma [@preete-dixit-ck & @harish-gaggar-ck & @greg-finley-ck]
  90. Creditas [@dcassiano]
  91. CreditCards.com[@vmAggies & @jay-wallaby]
  92. Cryptalizer.com
  93. Custom Ink [@david-dalisay, @dmartin11 & @mpeteuil]
  94. Cyscale [@ocical]
  95. Dailymotion [@germaintanguy & @hc]
  96. Danamica [@testvinder]
  97. Data Reply [@kaxil]
  98. DataCamp [@dgrtwo]
  99. DataFox [@sudowork]
  100. Dentsu Inc. [@bryan831 & @loozhengyuan]
  101. Digital First Media [@duffn & @mschmo & @seanmuth]
  102. DigitalOcean [@ajbosco]
  103. Digitas Pixelpark [@feluelle]
  104. DoorDash
  105. Dotmodus [@dannylee12]
  106. Drivy [@AntoineAugusti]
  107. Easy Taxi [@caique-lima & @diraol]
  108. EllisDon [@d2kalra & @zbasama]
  109. Endesa [@drexpp]
  110. Enigma [@hydrosquall]
  111. Datamaran [@valexharo]
  112. Etsy [@mchalek]
  113. evo.company [@orhideous]
  114. Experity (formerly DocuTAP) [@cloneluke & @tobyjoliver]
  115. Fathom Health
  116. Firestone Inventing [@zihengCat]
  117. Flipp [@sethwilsonwishabi]
  118. Format [@format & @jasonicarter]
  119. FreeNow [@freenowtech]
  120. FreshBooks [@DinoCow]
  121. Freshworks [@shaikshakeel]
  122. FullContact
  123. Fuller, Inc. [@wutali & @sh-tech]
  124. Fundera [@andyxhadji]
  125. G Adventures [@chchtv11, @tgumbley, @tomwross]
  126. GameWisp [@tjbiii & @theryanwalls]
  127. Geekie [@wolney]
  128. GeneCards [@oferze]
  129. Gentner Lab [@neuromusic]
  130. Get Simpl [@rootcss]
  131. GitLab [@tayloramurphy & @m_walker]
  132. Glassdoor [@syvineckruyk & @sid88in]
  133. Global Fashion Group [@GFG]
  134. GoDataDriven [@BasPH, @danielvdende, @ffinfo, @Fokko, @gglanzani, @hgrif, @jrderuiter, @NielsZeilemaker]
  135. GovTech GDS [@chrissng & @datagovsg]
  136. Grab [@calvintran]
  137. Gradeup [@gradeup]
  138. Grand Rounds [@richddr, @timz1290, @wenever, & @runongirlrunon]
  139. Groupalia [@jesusfcr]
  140. Groupon [@stevencasey]
  141. Growbots[@exploy]
  142. GSN Games
  143. Gusto [@frankhsu]
  144. Handshake [@mhickman]
  145. Handy [@marcintustin / @mtustin-handy]
  146. happn [@pcorbel]
  147. HAVAN [@botbiz]
  148. HBC Digital [@tmccartan & @dmateusp]
  149. HBO[@yiwang]
  150. Healthjump [@miscbits]
  151. HelloFresh [@tammymendt & @davidsbatista & @iuriinedostup]
  152. Hipages [@arihantsurana]
  153. Holimetrix [@thibault-ketterer]
  154. HomeToGo [@HomeToGo, @AurimasGr]
  155. Hootsuite
  156. Hostnfly [@CyrilLeMat & @pierrechopin & @alexisrosuel]
  157. HotelQuickly [@zinuzoid]
  158. Huq Industries [@huqindustries, @alepuccetti, @turbomerl]
  159. Iflix [@ChaturvediSulabh]
  160. IFTTT [@apurvajoshi]
  161. iHeartRadio[@yiwang]
  162. imgix [@dclubb]
  163. ING
  164. Instacart 🥕 [@arp1t & @code-sauce & @jasonlew & @j4p3 & @lubert & @mmontagna & @RyanAD &@zzadeh]
  165. Intercom [@fox & @paulvic]
  166. Interia
  167. Investorise [@svenvarkel]
  168. iS2.co [@iS2co]
  169. Jampp
  170. Jeitto [@BrennerPablo & @ds-mauri]
  171. Jetlore [@bderose]
  172. JobTeaser [@stefani75 & @knil-sama]
  173. JULO [@sepam & @tenapril & @verzqy]
  174. Kalibrr [@charlesverdad]
  175. Kargo [@chaithra-yenikapati, @akarsh3007 & @dineshanchan]
  176. Karmic [@hyw]
  177. King [@nathadfield]
  178. King Abdullah Petroleum Studies and Research Center(KAPSARC) [@saianupkumarp]
  179. Kiwi.com [@underyx]
  180. Kogan.com [@geeknam]
  181. Korbit [@jensenity]
  182. KPN B.V. [@biyanisuraj & @gmic]
  183. Kroton Educacional
  184. Lemann Foundation [@fernandosjp]
  185. LeMans Corporation [@alloydwhitlock] & [@tinyrye]
  186. LendUp [@lendup]
  187. LetsBonus [@jesusfcr & @OpringaoDoTurno]
  188. Liberty Global [@LibertyGlobal]
  189. liligo [@tromika]
  190. LingoChamp [@haitaoyao]
  191. Logitravel Group
  192. Los Angeles Times [@standyro]
  193. LokSuvidha [@saurabhwahile]
  194. Lucid [@jbrownlucid & @kkourtchikov]
  195. Lumos Labs [@rfroetscher & @zzztimbo]
  196. Lyft [@feng-tao, @milton0825, @astahlman, @youngyjd, @ArgentFalcon]
  197. M4U [@msantino]
  198. Madrone [@mbreining & @scotthb]
  199. Markovian [@al-xv, @skogsbaeck, @waltherg]
  200. Mercadoni [@demorenoc]
  201. Mercari [@yu-iskw]
  202. MFG Labs
  203. MiNODES [@dice89, @diazcelsa]
  204. Modernizing Medicine[@kehv1n, @dalupus]
  205. Multiply [@nrhvyc]
  206. National Bank of Canada [@brilhana]
  207. Neoway [@neowaylabs]
  208. Nerdwallet
  209. New Relic [@marcweil]
  210. Newzoo [@newzoo-nexus]
  211. NEXT Trucking [@earthmancash2, @kppullin]
  212. Nextdoor [@SivaPandeti, @zshapiro & @jthomas123]
  213. Nine [@TheZepto]
  214. OdysseyPrime [@davideberdin]
  215. OfferUp
  216. OneFineStay [@slangwald]
  217. Open Knowledge International @vitorbaptista
  218. Optum - UnitedHealthGroup [@hiteshrd]
  219. Outcome Health [@mikethoun, @rolandotribo]
  220. Overstock [@mhousley & @mct0006]
  221. OVH [@ncrocfer & @anthonyolea]
  222. Pagar.me [@pagarme]
  223. Palo Alto Networks [@PaloAltoNetworks]
  224. Pandora Media [@Acehaidrey & @wolfier]
  225. PayFit [@pcorbel]
  226. PAYMILL [@paymill & @matthiashuschle]
  227. PayPal [@r39132 & @jhsenjaliya]
  228. Pecan [@ohadmata]
  229. Pernod-Ricard [@romain-nio]
  230. Plaid [@plaid, @AustinBGibbons & @jeeyoungk]
  231. Playbuzz [@clintonboys & @dbn]
  232. PMC [@andrewm4894]
  233. Poshmark
  234. Postmates [@syeoryn]
  235. Premise [@jmccallum-premise]
  236. Pronto Tools [@zkan & @mesodiar]
  237. proton.ai [@prmsolutions]
  238. PubNub [@jzucker2]
  239. PXYData [@patchus]
  240. Qplum [@manti]
  241. Quantopian [@eronarn]
  242. Qubole [@msumit]
  243. Quizlet [@quizlet]
  244. Quora
  245. Rakuten
  246. Raízen [@rudlac & @guifneves]
  247. Rapido [@ChethanUK]
  248. REA Group
  249. Reddit [@reddit]
  250. Reverb[@reverbdotcom]
  251. Revolut [@sztanko & @nautilus28]
  252. Robinhood [@vineet-rh]
  253. Scaleway [@kdeldycke]
  254. Seasoned [@joshuacano] & [@mmyers] & [@tjward]
  255. Secret Escapes [@secretescapes]
  256. Semantics3 [@abishekk92]
  257. Sense360 [@kamilmroczek]
  258. Sentry.io [@tiopi]
  259. ShopBack [@shopback]
  260. Shopkick [@shopkick]
  261. Sidecar [@getsidecar]
  262. SimilarWeb [@similarweb]
  263. Skyscanner [@skyscanner]
  264. SmartNews [@takus]
  265. SnapTravel
  266. SocialCops [@vinayak-mehta & @sharky93]
  267. Société générale [@medmrgh & @s83]
  268. Spotahome [@spotahome]
  269. SpotHero [@benjigoldberg]
  270. Spotify [@znichols]
  271. Square
  272. Stackspace
  273. StoneCo [@lgwacker]
  274. Strava [@strava, @dhuang & @liamstewart]
  275. Stripe [@jbalogh]
  276. Strongmind [@tomchapin & @wongstein]
  277. Surfline [@jawang35]
  278. T2 Systems [@unclaimedpants]
  279. Tails.com [@alanmcruickshank]
  280. TEK [@telac]
  281. Telefonica Innovation Alpha [@Alpha-Health]
  282. Telia Company
  283. Ternary Data [@mhousley, @JoeReis]
  284. Tesla [@thoralf-gutierrez]
  285. The Home Depot[@apekshithr]
  286. THE ICONIC [@revathijay] [@ilikedata]
  287. Thinking Machines [@marksteve]
  288. Thinknear [@d3cay1, @ccson, & @ababian]
  289. ThoughtWorks [@sann3]
  290. Thumbtack [@natekupp]
  291. Tictail
  292. Tile [@ranjanmanish]
  293. Tinder [@kbendick]
  294. Tink [@tink-ab]
  295. TokenAnalyst [@simonohanlon101, @ankitchiplunkar, @sidshekhar, @sp6pe]
  296. Tokopedia [@topedmaria]
  297. Trocafone [@idontdomath & @gseva & @ordonezf & @PalmaLeandro]
  298. Twine Labs [@ivorpeles]
  299. Twitter [@aoen]
  300. Ubisoft [@Walkoss]
  301. Udacity [@dandikunited, @simon-uc]
  302. United Airlines [@ilopezfr]
  303. Upsight
  304. VeeR VR [@pishilong]
  305. Veikkaus [@hixus]
  306. Vente-Exclusive.com [@alexvanboxel]
  307. Vevo [@csetiawan & @jerrygillespie]
  308. Vidio
  309. Ville de Montréal@VilledeMontreal]
  310. Vnomics [@lpalum]
  311. Walmart Labs [@bharathpalaksha, @vipul007ravi]
  312. Waze [@waze]
  313. WePay [@criccomini & @mtagle]
  314. WeTransfer [@coredipper & @higee & @azclub]
  315. Whistle Labs [@ananya77041]
  316. Wildlifestudios
  317. WiseBanyan
  318. Wooga
  319. Wrike [@eliseealex & teoretic6]
  320. Xero [@yan9yu & adamantnz]
  321. Xoom
  322. Yahoo!
  323. Yieldr [@ggeorgiadis]
  324. Zapier [@drknexus & @statwonk]
  325. Zego [@ruimffl, @james-welly, @ken-payne]
  326. Zendesk
  327. Zenly [@cerisier & @jbdalido]
  328. Zymergen
  329. Zynga

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

About

Apache Airflow - A platform to programmatically author, schedule, and monitor workflows

https://airflow.apache.org/

License:Apache License 2.0


Languages

Language:Python 96.0%Language:Shell 2.1%Language:HTML 1.3%Language:JavaScript 0.2%Language:Dockerfile 0.1%Language:CSS 0.1%Language:Jupyter Notebook 0.0%Language:Mako 0.0%Language:TSQL 0.0%