Skip to main content

An Apache Airflow provider for Anomalo

Project description

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". connection Then fill in the fields for "Connection Id" (anomalo-default is the default connection id), "Host", and "API Secret Token".

Usage

  1. Obtain Anomalo table name from GUI. For example table would be public-bq.covid19_nyt.us_counties

  2. This package includes 3 different operators. You can find documentation for them on the operator code itself.

    1. Run checks Operator: airflow.providers.anomalo.operators.anomalo.AnomaloRunCheckOperator
    2. Job Sensor airflow.providers.anomalo.sensors.anomalo.AnomaloJobCompleteSensor
    3. Validate table checks: airflow.providers.anomalo.operators.anomalo.AnomaloPassFailOperator
  3. See example_anomalo.py for usage example

Releasing to PyPi

To release a new version to PyPi, you will need to

  1. Configure your pypi token by running: poetry config pypi-token.pypi [token here] The token can be found in the AWS secrets manager
  2. Bump the version number in pyproject.toml. Make sure that this change is committed.
  3. run poetry publish --build

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

apache_airflow_providers_anomalo-0.2.2.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file apache_airflow_providers_anomalo-0.2.2.tar.gz.

File metadata

File hashes

Hashes for apache_airflow_providers_anomalo-0.2.2.tar.gz
Algorithm Hash digest
SHA256 b3a786b0be3d9d5f37a767129433ff2af731952063b58d7302f93c38b1273dec
MD5 e0bb79aadc3d979447cf2fcdde48d99e
BLAKE2b-256 08fb5d1f2aef668f13b397ec402486038bc14876a13dde0a58cca57ef0ad9825

See more details on using hashes here.

File details

Details for the file apache_airflow_providers_anomalo-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for apache_airflow_providers_anomalo-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 290d7056cacfcfeca94a2d348e61158861ede020e84ee58606e5517473e294c4
MD5 9e75c522804a3bb6194eb02bbee1d277
BLAKE2b-256 8089494601f7dc70537c78219e145249b120f12374be58cacbbcdc54014e2a2f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page