Provider package airflow-provider-sifflet for Apache Airflow
Project description
Sifflet Provider for Apache Airflow
This package provides operators and hook that integrate Sifflet into Apache Airflow.
All classes for this provider package are in the sifflet_provider Python package.
Installation
You can install this package on top of an existing Airflow 2.1+ installation
pip install airflow-provider-sifflet
The package supports the following python versions: 3.7, 3.8, 3.9, 3.10, 3.11, 3.12
Configuration
In the Airflow user interface, you can configure a Connection for Sifflet in
Admin -> Connections -> Add a new record.
You will need to fill out the following:
Connection Id: sifflet_default
Connection Type: Sifflet
Sifflet Tenant: <your_tenant_name> (for SaaS deployment)
Sifflet Backend URL: <your_backend_url> (for Self-hosted deployment)
Sifflet Token: <your_sifflet_access_token>
<your_sifflet_access_token>: you can find more information on how to generate it here
One of these two parameters is required, depending on your type of Sifflet deployment:
- SaaS deployments:
Sifflet Tenant, if you access Sifflet withhttps://abcdef.siffletdata.com, then your tenant would beabcdef - Self-hosted deployments:
Sifflet Backend URL, full URL to the Sifflet backend on your deployment, for instance:https://sifflet-backend.mycompany.com
Modules
Operators
SiffletDbtIngestOperator
SiffletDbtIngestOperator sends your DBT artifacts to the Sifflet application.
Example usage:
from sifflet_provider.operators.dbt import SiffletDbtIngestOperator
sifflet_dbt_ingest = SiffletDbtIngestOperator(
task_id="sifflet_dbt_ingest",
input_folder="<path to dbt project folder>",
target="prod",
project_name="<dbt project name>",
)
SiffletRunRuleOperator
SiffletRunRuleOperator Run one or several Sifflet rules - requires rule id(s).
Example usage:
from sifflet_provider.operators.rule import SiffletRunRuleOperator
sifflet_run_rule = SiffletRunRuleOperator(
task_id="sifflet_run_rule",
rule_ids=[
"3e2e2687-cd20-11ec-b38b-06bb20181849",
"3e19eb3e-cd20-11ec-b38b-06bb20181849",
"3e1a86f1-cd20-11ec-b38b-06bb20181849",
"3e2e1fc3-cd20-11ec-b38b-06bb20181849",
],
error_on_rule_fail=True
)
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file airflow_provider_sifflet-1.1.4.tar.gz.
File metadata
- Download URL: airflow_provider_sifflet-1.1.4.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d9a87181c19fc342ff1492356c63dfb99f093a245d6d8ce3aadfb8581cc274d
|
|
| MD5 |
270ea32c9a1db5b3f14dc50f389932d7
|
|
| BLAKE2b-256 |
87c51196b748b09d4677287c339fe2b8567054fb7b872342a926877c6891c034
|
File details
Details for the file airflow_provider_sifflet-1.1.4-py3-none-any.whl.
File metadata
- Download URL: airflow_provider_sifflet-1.1.4-py3-none-any.whl
- Upload date:
- Size: 6.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40ed3560dfd276327bf4f3b7d1edde20614d40efe40e8cc0f5ab22bd260efa98
|
|
| MD5 |
54dc6a3531a076483debc4adc9e29b49
|
|
| BLAKE2b-256 |
1f8c4079db1f5577fbfa54a72a9145e6a90ec07ec05cc37268087de457aa96a9
|