Custom Airflow operators for the Astro workflow builder
Project description
astro-custom-operators
Custom Apache Airflow operators for the Astro workflow builder.
Operators
- SlackChannelReadOperator — Read messages from a Slack channel or thread with automatic channel name-to-ID resolution and pagination.
- SlackChannelWriteOperator — Post, reply to, or update messages in a Slack channel with automatic channel name-to-ID resolution.
Installation
pip install astro-custom-operators
Usage
from custom_operators.slack_channel import SlackChannelReadOperator, SlackChannelWriteOperator
read_messages = SlackChannelReadOperator(
task_id="read_slack",
channel="general",
limit=50,
)
post_message = SlackChannelWriteOperator(
task_id="post_slack",
channel="general",
text="Hello from Airflow!",
)
Requires a Slack connection configured in Airflow (default conn id: slack_default).
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file astro_custom_operators_beta-0.1.0.tar.gz.
File metadata
- Download URL: astro_custom_operators_beta-0.1.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd85140d34b596085839099fb28889fdb237e5241cd98e9f00ddbf3a3f150171
|
|
| MD5 |
9061c9ecff008077e96cd02be54604fa
|
|
| BLAKE2b-256 |
dc38baedb8474d9006de699cd87f32b629b1988d8dc456fc47fc2da7db4bc70f
|
File details
Details for the file astro_custom_operators_beta-0.1.0-py3-none-any.whl.
File metadata
- Download URL: astro_custom_operators_beta-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ba52ac48a5cd7db7acf7729249a23650c38c69219bdd0f6646c30afc4bbb264
|
|
| MD5 |
d9e24aaf5947f3e65494cecfd21a1945
|
|
| BLAKE2b-256 |
823e626646694013ec6b4691d969734ecc2ed63584d923a309e1d60be9a425ae
|