Apache Airflow (Incubating)
Перейти к файлу
Niels Zeilemaker 3b589a9f73 [AIRFLOW-1170] DbApiHook insert_rows inserts parameters separately
Instead of creating a sql statement with all
values, we send the values
separately to prevent sql injection

Closes #2270 from NielsZeilemaker/AIRFLOW-1170
2017-05-13 14:49:05 +02:00
.github [AIRFLOW-995] Remove reference to actual Airflow issue 2017-03-17 15:55:56 -04:00
airflow [AIRFLOW-1170] DbApiHook insert_rows inserts parameters separately 2017-05-13 14:49:05 +02:00
dags [AIRFLOW-1054] Fix broken import in test_dag 2017-04-03 13:10:51 -07:00
dev [AIRFLOW-1091] Add script that can compare jira target against merges 2017-04-17 11:24:54 +02:00
docs [AIRFLOW-1187][AIRFLOW-1185] Fix PyPi package names in documents 2017-05-10 09:28:22 -07:00
scripts [AIRFLOW-1179] Fix Pandas 0.2x breaking Google BigQuery change 2017-05-09 09:42:32 -07:00
tests [AIRFLOW-860][AIRFLOW-935] Fix plugin executor import cycle and executor selection 2017-05-13 12:56:16 +02:00
.codecov.yml [AIRFLOW-248] Add Apache license header to all files 2016-06-21 08:15:42 -07:00
.coveragerc Do not use migrations in coverage 2016-09-13 23:29:13 +02:00
.editorconfig Add Apache 2 License 2017-03-10 22:49:33 -08:00
.gitignore AIRFLOW-959 Cleanup and reorganize .gitignore 2017-03-09 11:37:49 -08:00
.landscape.yml [AIRFLOW-580] Prevent landscape warning on .format 2016-10-27 00:26:29 -07:00
.rat-excludes [AIRFLOW-1000] Rebrand distribution to Apache Airflow 2017-04-17 10:09:47 +02:00
.readthedocs.yml [AIRFLOW-956] Get docs working on readthedocs.org 2017-03-08 19:42:29 -08:00
.travis.yml [AIRFLOW-219][AIRFLOW-398] Cgroups + impersonation 2017-01-18 18:11:06 -08:00
CHANGELOG.txt [AIRFLOW-XXX] Updating CHANGELOG, README, and UPDATING after 1.8.1 release 2017-05-09 13:20:31 -07:00
CONTRIBUTING.md [AIRFLOW-641] Improve pull request instructions 2016-12-25 14:40:46 +01:00
DISCLAIMER Dropping .txt etension on repo's root files 2016-08-31 13:09:01 -07:00
LICENSE [AIRFLOW-1127] Move license notices to LICENSE 2017-04-20 15:24:15 -07:00
MANIFEST.in [AIRFLOW-1006] Add config_templates to MANIFEST 2017-03-20 23:48:08 -04:00
NOTICE [AIRFLOW-1127] Move license notices to LICENSE 2017-04-20 15:24:15 -07:00
README.md [AIRFLOW-1175] Add Pronto Tools to Airflow user list 2017-05-12 11:53:14 +02:00
TODO.md [AIRFLOW-112] no-op README change to close this jira's PR 2016-05-13 14:57:01 -07:00
UPDATING.md [AIRFLOW-XXX] Updating CHANGELOG, README, and UPDATING after 1.8.1 release 2017-05-09 13:20:31 -07:00
init.sh [AIRFLOW-248] Add Apache license header to all files 2016-06-21 08:15:42 -07:00
migrations.sql [AIRFLOW-248] Add Apache license header to all files 2016-06-21 08:15:42 -07:00
run_tox.sh [AIRFLOW-248] Add Apache license header to all files 2016-06-21 08:15:42 -07:00
run_unit_tests.sh [AIRFLOW-911] Add coloring and timing to tests 2017-02-25 22:10:14 +01:00
setup.cfg [AIRFLOW-997] Update setup.cfg to point to Apache 2017-03-16 13:35:13 -07:00
setup.py [AIRFLOW-1179] Fix Pandas 0.2x breaking Google BigQuery change 2017-05-09 09:42:32 -07:00
tox.ini [AIRFLOW-489] Add API Framework 2016-11-27 19:44:31 +01:00

README.md

Airflow

PyPI version Build Status Coverage Status Code Health Requirements 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. Astronomer [@schnie]
  7. Auth0 [@sicarul]
  8. BandwidthX [@dineshdsharma]
  9. Bellhops
  10. BlaBlaCar [@puckel & @wmorin]
  11. Bloc [@dpaola2]
  12. BlueApron [@jasonjho & @matthewdavidhauser]
  13. Blue Yonder [@blue-yonder]
  14. Celect [@superdosh & @chadcelect]
  15. Change.org [@change, @vijaykramesh]
  16. Checkr [@tongboh]
  17. Children's Hospital of Philadelphia Division of Genomic Diagnostics [@genomics-geek]
  18. City of San Diego [@MrMaksimize, @andrell81 & @arnaudvedy]
  19. Clairvoyant @shekharv
  20. Clover Health [@gwax & @vansivallab]
  21. Chartboost [@cgelman & @dclubb]
  22. Cotap [@maraca & @richardchew]
  23. Digital First Media [@duffn & @mschmo & @seanmuth]
  24. Easy Taxi [@caique-lima & @WesleyBatista]
  25. evo.company [@orhideous]
  26. FreshBooks [@DinoCow]
  27. Gentner Lab [@neuromusic]
  28. Glassdoor [@syvineckruyk]
  29. GovTech GDS [@chrissng & @datagovsg]
  30. Groupalia [@jesusfcr]
  31. Gusto [@frankhsu]
  32. Handshake [@mhickman]
  33. Handy [@marcintustin / @mtustin-handy]
  34. HBO[@yiwang]
  35. HelloFresh [@tammymendt & @davidsbatista & @iuriinedostup]
  36. Holimetrix [@thibault-ketterer]
  37. Hootsuite
  38. IFTTT [@apurvajoshi]
  39. iHeartRadio[@yiwang]
  40. ING
  41. Jampp
  42. Kiwi.com [@underyx]
  43. Kogan.com [@geeknam]
  44. Lemann Foundation [@fernandosjp]
  45. LendUp [@lendup]
  46. Letsbonus [@jesusfcr]
  47. liligo [@tromika]
  48. LingoChamp [@haitaoyao]
  49. Lucid [@jbrownlucid & @kkourtchikov]
  50. Lumos Labs [@rfroetscher & @zzztimbo]
  51. Lyft[@SaurabhBajaj]
  52. Madrone [@mbreining & @scotthb]
  53. Markovian [@al-xv, @skogsbaeck, @waltherg]
  54. Mercadoni [@demorenoc]
  55. MiNODES [@dice89, @diazcelsa]
  56. MFG Labs
  57. mytaxi [@mytaxi]
  58. Nerdwallet
  59. OfferUp
  60. OneFineStay [@slangwald]
  61. Open Knowledge International @vitorbaptista
  62. PayPal [@jhsenjaliya]
  63. Postmates [@syeoryn]
  64. Pronto Tools [@zkan & @mesodiar]
  65. Qubole [@msumit]
  66. Robinhood [@vineet-rh]
  67. Scaleway [@kdeldycke]
  68. Sense360 [@kamilmroczek]
  69. Shopkick [@shopkick]
  70. Sidecar [@getsidecar]
  71. SimilarWeb [@similarweb]
  72. SmartNews [@takus]
  73. Spotify [@znichols]
  74. Stackspace
  75. Stripe [@jbalogh]
  76. Tails.com [@alanmcruickshank]
  77. Thumbtack [@natekupp]
  78. T2 Systems [@unclaimedpants]
  79. Vente-Exclusive.com [@alexvanboxel]
  80. Vnomics [@lpalum]
  81. WePay [@criccomini & @mtagle]
  82. WeTransfer [@jochem]
  83. Whistle Labs [@ananya77041]
  84. WiseBanyan
  85. Wooga
  86. Xoom [@gepser & @omarvides]
  87. Yahoo!
  88. Zapier [@drknexus & @statwonk]
  89. Zendesk
  90. Zenly [@cerisier & @jbdalido]
  91. 99 [@fbenevides, @gustavoamigo & @mmmaia]