An Airflow plugin for interacting with IOMETE platform.
Project description
IOMETE Airflow Plugin
This Plugin helps to trigger/run Spark Jobs created in IOMETE platform.
Installation
This plugin could be easily installed with pip
. Just run the following in your aiflow server:
pip install iomete-airflow-plugin
Restart you server and check the plugins page on Airflow's admin panel to make sure plugin loaded successfully.
Configuration
You need to add iomete_access_token
and iomete_host
keys to airflow's Variables page.
Check our documentation page on how to generate personal access token.
Usage
Here are sample DAG:
from airflow import DAG
from iomete_airflow_plugin.iomete_operator import IometeOperator
dag = DAG(dag_id="...", default_args={}, schedule_interval=None)
task = IometeOperator(
task_id="random_task_id",
job_id="1b0fc29b-5491-4c0a-94ea-48e304c3c72e", # Spark Job ID or Name in IOMETE platform.
dag=dag,
)
Resources
For more information check:
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
Close
Hashes for iomete_airflow_plugin-1.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11244da6d0501bbe5114281f08f02428455f0267310364017e351c4bd1dd0306 |
|
MD5 | 9d2466dbb9b1cf8d01665e0a3ad1ef83 |
|
BLAKE2b-256 | 8641415f7c8f922c8eca608ddaf1c506b4c43a3a0397ed4c71359f857af876a5 |
Close
Hashes for iomete_airflow_plugin-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1fbb4d07acdad44eada412311e7a800a3ac584ee205113dff93bd36fc78e0a5a |
|
MD5 | b3434ca13d5f0f8ddba33af37eb5c470 |
|
BLAKE2b-256 | 84075ec684bd5e2902b49e01b48cc81b8beb83b77f232a0850c2d629351c91f4 |