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.5.tar.gz
(149.6 kB
view details)
Built Distribution
File details
Details for the file astro_observe_sdk-0.0.5.tar.gz
.
File metadata
- Download URL: astro_observe_sdk-0.0.5.tar.gz
- Upload date:
- Size: 149.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cdc84cf5279fd8fdf85ae62db0718fc55c5bdf324e21efbd9ebe9ef081a3e62 |
|
MD5 | 74ced04dec2e9731ea4dc8a9f4660b23 |
|
BLAKE2b-256 | 09b10ebc22c5e8a5a62517c25b81068bd02e0400abbaa9a08a4dca8408f91c45 |
File details
Details for the file astro_observe_sdk-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: astro_observe_sdk-0.0.5-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fea52f1ffcbe54c2dfe47e39a0159a45844675bd263d14ed536cb4ae2123796c |
|
MD5 | fbc17edeb07c7f4b200d7514d6fcf346 |
|
BLAKE2b-256 | 0748d30e138779e3dbbc80752b898468ad99963d4fe373f5c41abe51db67eedd |