Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

apache-airflow-providers-anomalo

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apache-airflow-providers-anomalo

An Apache Airflow provider for Anomalo

  • 0.2.1
  • PyPI
  • Socket score

Maintainers
2

Apache Airflow Provider for Anomalo

A set of native Airflow operators for Anomalo

Compatibility

These operators were created and tested with

  • Python 3.8-3.10
  • Airflow 2.3+
  • Anomalo python client 0.0.7

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 anomalo_dag_example.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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc