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
key to airflow's Variables module.
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.
workspace_id="pceh7-816", # Your workspace ID 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-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d08915542b25938788aea166394e07c7a51001fcb22b4033f38b2a2afa2d7303 |
|
MD5 | e183139230888262b603ef10a4d282ed |
|
BLAKE2b-256 | 5326a4cc66da2c5269c7fc5c261bb0b3900d5fbd21054f4451752222898c83ab |
Close
Hashes for iomete_airflow_plugin-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da5bd503f17b707af38be3841e3a5e79ec5ea9d52ddea5a9ea058d73660961c9 |
|
MD5 | d3283f49b7cbe4290db46a30a72b542b |
|
BLAKE2b-256 | 5ab1ca3be72f8045019b13b1f7537b0794cd3ffbb5cb6aa7ca5293d1dd722415 |