Skip to main content

Airflow Airflow

Airflow Datazone Provider

A provider package for Apache Airflow that provides a set of operators and hooks to interact with Datazone.

Installation

You can install this package using pip:

pip install airflow-datazone-provider

Usage

Creating a connection

To integrate with Datazone on Airflow, you can create a connection in the Airflow UI with the following parameters:

  • Conn Id: <your_conn_id>
  • Conn Type: Datazone
  • Host: <your_datazone_host>
  • API Key: <your_datazone_api_key>
  • Extra: Optional extra parameters in JSON format. For example, to specify a compute, you can use the following JSON:
{
    "compute": "XSMALL"
}

DatazoneRunExecutionOperator

The DatazoneRunExecutionOperator is an operator that allows you to run an execution on Datazone.

from airflow import DAG
from datazone_provider.operators.datazone_run_execution import DatazoneRunExecutionOperator
from datetime import datetime

dag = DAG(
    "my_dag",
    start_date=datetime(2021, 1, 1),
    schedule_interval=None
)

dz_task = DatazoneRunExecutionOperator(
    dag=dag,
    task_id="run_datazone_execution",
    conn_id="<your_conn_id>",
    pipeline_id="<your_pipeline_id>",
    run_config={
        "compute": "XSMALL",
        "env_vars": {
            "DEMO_KEY": "DEMO_VALUE"
        }
    }
)

dz_task

Metadata

Release files for airflow-provider-datazone 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for airflow-provider-datazone 1.0.1
File Size Uploaded Provenance Actions
airflow_provider_datazone-1.0.1.tar.gz 10.1 kB Without provenance Details for airflow_provider_datazone-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for airflow-provider-datazone 1.0.1
File Interpreter ABI Platform Actions
airflow_provider_datazone-1.0.1-py3-none-any.whl Python 3 none any Details for airflow_provider_datazone-1.0.1-py3-none-any.whl

Total release size: 22.2 kB

Release files / airflow_provider_datazone-1.0.1.tar.gz

Download URL airflow_provider_datazone-1.0.1.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
930886a816da5ff65530de5a0a019db5a8d616e70cbdee874ae7a897efaea5e1
BLAKE2b-256 checksum
How to use checksums
5e7e00b37b8205391a20cb0c009328eab58346cc0b69b016b46bbf2cd48dd948
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.13

Release files / airflow_provider_datazone-1.0.1-py3-none-any.whl

Download URL airflow_provider_datazone-1.0.1-py3-none-any.whl
Size 12.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
308676c5923d34ae884db491552fc0c1a37c9d387b8f78225be6418948186532
BLAKE2b-256 checksum
How to use checksums
da0a329ba04c854f19f656a878616bd7d745ebb1220346786c5c8b7705a42966
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.13

Security for airflow-provider-datazone 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page