Apache Airflow Providers containing Deferrable Operators & Sensors from Astronomer
Project description
Apache Airflow Providers containing Deferrable Operators & Sensors from Astronomer.
Installation
Install and update using pip:
pip install astronomer-providers
This only installs dependencies for core provider. To install all dependencies, run:
pip install 'astronomer-providers[all]'
To only install the dependencies for a specific provider, specify the integration name as extra argument, example to install Kubernetes provider dependencies, run:
pip install 'astronomer-providers[cncf.kubernetes]'
Extras
Extra Name |
Installation Command |
Dependencies |
---|---|---|
all |
pip install 'astronomer-providers[all]' |
All providers |
amazon |
pip install 'astronomer-providers[amazon]' |
Amazon |
cncf.kubernetes |
pip install 'astronomer-providers[cncf.kubernetes]' |
Kubernetes |
databricks |
pip install 'astronomer-providers[databricks]' |
Databricks |
pip install 'astronomer-providers[google]' |
Google Cloud |
|
http |
pip install 'astronomer-providers[http]' |
HTTP |
snowflake |
pip install 'astronomer-providers[snowflake]' |
Snowflake |
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",
)
Example DAGs for each provider is within the respective provider’s folder. For example, the Kubernetes provider’s DAGs are within the astronomer/providers/cncf/kubernetes/example_dags folder.
Principle
We will only create Async operators for the “sync-version” of operators that do some level of polling (take more than a few seconds to complete).
For example, we won’t create an async Operator for a BigQueryCreateEmptyTableOperator but will create one for BigQueryInsertJobOperator that actually runs queries and can take hours in the worst case for task completion.
Changelog
We follow Semantic Versioning for releases. Check CHANGELOG.rst for the latest changes.
Contributing Guide
All contributions, bug reports, bug fixes, documentation improvements, enhancements, and ideas are welcome.
A detailed overview on how to contribute can be found in the Contributing Guide.
As contributors and maintainers to this project, you are expected to abide by the Contributor Code of Conduct.
Goals for the project
Our focus is on the speed of iteration and development in this stage of the project and so we want to be able to quickly iterate with our community members and customers and cut releases as necessary
Airflow Providers are separate packages from the core apache-airflow package and we would like to avoid further bloating the Airflow repo
We want users and the community to be able to easily track features and the roadmap for individual providers that we develop
We would love to see the Airflow community members create, maintain and share their providers to build an Ecosystem of Providers.
License
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
File details
Details for the file astronomer-providers-1.1.0a1.tar.gz
.
File metadata
- Download URL: astronomer-providers-1.1.0a1.tar.gz
- Upload date:
- Size: 58.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.50.2 importlib-metadata/4.11.1 keyring/21.4.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 997a09b0e9cf4956675647ed682aaf62cb1e7117884dafae600084d089d0019e |
|
MD5 | 2c15c2f2de5830e6202d9eaf9fbebbdd |
|
BLAKE2b-256 | b3fa13d3dcd394af5cc02004c70566c235a2b3fc54f624127074456053406d98 |
File details
Details for the file astronomer_providers-1.1.0a1-py3-none-any.whl
.
File metadata
- Download URL: astronomer_providers-1.1.0a1-py3-none-any.whl
- Upload date:
- Size: 83.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/29.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.50.2 importlib-metadata/4.11.1 keyring/21.4.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b69c72af613103a93667bcd28e44812387810976c1b8fa4aea3aae38e50d7db |
|
MD5 | 6e245816f6ce92e696a29868dc6fbb05 |
|
BLAKE2b-256 | 11890994e55541a280536baf059069598b03dab5c48053878b25cbb0b412bf31 |