Apache Airflow Provider for Anomalo
A set of native Airflow operators for Anomalo
Requirements
python >=3.9.0 airflow >=2.8.0
Installation
pip install apache-airflow-providers-anomalo
You can validate that it is correctly installed by running airflow providers list on the command line and seeing if apache-airflow-providers-anomalo is a listed providers package.
Airflow Setup
From the airflow UI, go to Admin > Connections and hit the + button at the top to add a new connection.
From the "Connection Type" drop down, select "Anomalo".
Then fill in the fields for "Connection Id" (
anomalo-default is the default connection id), "Host", and "API Secret Token".
Usage
-
Obtain Anomalo table name from GUI. For example
would be
public-bq.covid19_nyt.us_counties -
This package includes 3 different operators. You can find documentation for them on the operator code itself.
- Run checks Operator:
airflow.providers.anomalo.operators.anomalo.AnomaloRunCheckOperator - Job Sensor
airflow.providers.anomalo.sensors.anomalo.AnomaloJobCompleteSensor - Validate table checks:
airflow.providers.anomalo.operators.anomalo.AnomaloPassFailOperator
- Run checks Operator:
-
See
example_anomalo.pyfor usage example
Releasing to PyPi
To release a new version to PyPi, you will need to
- Configure your pypi token by running:
poetry config pypi-token.pypi [token here]The token can be found in the AWS secrets manager - Bump the version number in pyproject.toml. Make sure that this change is committed.
- run
poetry publish --build
Metadata
Release files for apache-airflow-providers-anomalo 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| apache_airflow_providers_anomalo-0.2.2.tar.gz | 10.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| apache_airflow_providers_anomalo-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.9 kB
Release files / apache_airflow_providers_anomalo-0.2.2.tar.gz
| Download URL | apache_airflow_providers_anomalo-0.2.2.tar.gz |
|---|---|
| Size | 10.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b3a786b0be3d9d5f37a767129433ff2af731952063b58d7302f93c38b1273dec
|
|
BLAKE2b-256 checksum How to use checksums |
08fb5d1f2aef668f13b397ec402486038bc14876a13dde0a58cca57ef0ad9825
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.10.7 Darwin/22.6.0
|
Release files / apache_airflow_providers_anomalo-0.2.2-py3-none-any.whl
| Download URL | apache_airflow_providers_anomalo-0.2.2-py3-none-any.whl |
|---|---|
| Size | 12.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
290d7056cacfcfeca94a2d348e61158861ede020e84ee58606e5517473e294c4
|
|
BLAKE2b-256 checksum How to use checksums |
8089494601f7dc70537c78219e145249b120f12374be58cacbbcdc54014e2a2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.2 CPython/3.10.7 Darwin/22.6.0
|
Security for apache-airflow-providers-anomalo 0.2.2
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.