An Airflow plugin to launch and monitor Spark applications on the Data Mechanics platform
Project description
Data Mechanics Airflow Plugin
An Airflow plugin to launch and monitor Spark applications on the Data Mechanics platform.
Environment
- Python >= 3.5
- apache-airflow >= 1.10.x. Compatible with Airflow 2.
Installation and usage
A tutorial to configure and use this plugin is available in the Data Mechanics docs.
The main difference between Airflow 1 and Airflow 2 is how to import the plugin:
# Airflow 1
from airflow.operators.datamechanics import DataMechanicsOperator
# Airflow 2
from datamechanics_airflow_plugin.operator import DataMechanicsOperator
Example DAGs
You can see example DAGs for Airflow 1 and Airflow 2.
Development
Changelog
[1.1.0] 2021-03-10
Added
- Support for Airflow templating in Data Mechanics operator's arguments (by @jj-ookla)
- Minimal support for Airflow 2 (the code is unchanged, only the doc and the contributor dev environment have changed)
1.0.7 2020-09-11
Changed
- Changed bumversion config
1.0.6 2020-09-11
Changed
- Updated doc
1.0.5 2020-09-11
Fixed
- Dependency management
1.0.0 2020-09-11
Changed
- Converted the existing plugin into a Python package
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file datamechanics_airflow_plugin-1.1.0.tar.gz
.
File metadata
- Download URL: datamechanics_airflow_plugin-1.1.0.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 827bb01905ff1a555b562a61c7788d9548bb7ed7fcc03788f8b2242578760a06 |
|
MD5 | 0a9fcfc39b3dfeb599cff07136b8a541 |
|
BLAKE2b-256 | 0ec1f18c95bf602e705e12cca26b78e6c718850d60111e40459756aaaa8e6a76 |
File details
Details for the file datamechanics_airflow_plugin-1.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: datamechanics_airflow_plugin-1.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1a906727170174de699646f30f8322ee8de852ae313c9235ca994ea33de242d |
|
MD5 | 8e923bc282ab70b71a5959053a46e590 |
|
BLAKE2b-256 | 72a1383aa2ed0405a8d23c6e497a8c71465f88d73f60b94784b3b13c55e37e4e |