Skip to main content

Airflow Providers containing Deferrable Operators & Sensors from Astronomer

Project description

Apache Airflow Providers containing Deferrable Operators & Sensors from Astronomer.

Installation

pip install astronomer-providers

Example Usage

This repo is structured same as the Apache Airflow’s source code, so for example if you want to import Async operators, you can import it as follows:

from astronomer.providers.amazon.aws.sensors.s3 import S3KeySensorAsync as S3KeySensor

waiting_for_s3_key = S3KeySensor(
    task_id="waiting_for_s3_key",
    bucket_key="sample_key.txt",
    wildcard_match=False,
    bucket_name="sample-bucket",
)

Development Environment

Run the following commands from the root of the repository:

  • make dev - To create a development Environment using docker-compose file.

  • make logs - To view the logs of the all the containers

  • make stop - To stop all the containers

  • make clean - To remove all the containers along with volumes

  • make help - To view the available commands

  • make build-run - To build the docker image and then run containers

  • make restart - To restart Scheduler & Triggerer containers

  • make restart-all - To restart all the containers

  • make run-tests - Run CI tests

  • make run-static-checks - Run CI static code checks

Following ports are accessible from the host machine:

  • 8080 - Webserver

  • 5555 - Flower

  • 5432 - Postgres

Dev Directories:

  • dev/dags/ - DAG Files

  • dev/logs - Logs files of the Airflow containers

License

Apache License 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

astronomer_providers-1.0.0a1-py3-none-any.whl (55.9 kB view hashes)

Uploaded Python 3

Supported by

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