An Airflow and Python SDK for working with the Astro Observe platform
Project description
observe-sdk
An Airflow and Python SDK for working with the Astro Observe platform
Installation
Add the following to your requirements.txt
:
astro-observe-sdk==0.0.1
Usage
Metrics
The Observe SDK allows you to emit metrics during Airflow task execution to get tracked in the Observe backend. To do so, use the astro_observe_sdk.log_metric
function like so:
import astro_observe_sdk as observe
# then, in your task
@task
def my_task():
observe.log_metric('my_metric', 42)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
astro_observe_sdk-0.0.6.tar.gz
(149.7 kB
view details)
Built Distribution
File details
Details for the file astro_observe_sdk-0.0.6.tar.gz
.
File metadata
- Download URL: astro_observe_sdk-0.0.6.tar.gz
- Upload date:
- Size: 149.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94630123a269df105b13927165c5ff55208e539a10a92c3e4aac5d56a6b05a94 |
|
MD5 | 54e8c97c0aa2bac56c731ca3b7fd03b5 |
|
BLAKE2b-256 | 0f4892d7133ad08c59dc7dd002f80a6699c6a3fdf7c514b00d0d3933fc1624c4 |
File details
Details for the file astro_observe_sdk-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: astro_observe_sdk-0.0.6-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab4035535cb9f23de3387717b28822203c575260084241ac8a0b554c60b45309 |
|
MD5 | f57d069a04964c67d65f9ccd20a8346e |
|
BLAKE2b-256 | f2b57ef1980773cfdc6ef66743a70100f22fa89d676269b681783327de727de3 |