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).
Metadata
Release files for astro-custom-operators 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| astro_custom_operators-0.3.0.tar.gz | 4.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| astro_custom_operators-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.0 kB
Release files / astro_custom_operators-0.3.0.tar.gz
| Download URL | astro_custom_operators-0.3.0.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1336ab63035061e017597ce85bad2c62a3c27b1d3a0e783144cc2da3611a84c7
|
|
BLAKE2b-256 checksum How to use checksums |
b9c6a375bf42b90bd7fbd1079248f362bbf2a4ba00ae436dda8d1625fe2a3742
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|
Release files / astro_custom_operators-0.3.0-py3-none-any.whl
| Download URL | astro_custom_operators-0.3.0-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d4cc0e47824cb5adf59419b8e7fcf9837ba60fbbfddc23237dd8c9865cddea40
|
|
BLAKE2b-256 checksum How to use checksums |
a5574c47223c1e4324a6da2bc85686ed5e2d3a35c565ca511ee5b645e318070c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.1
|