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.7.tar.gz
(149.7 kB
view details)
Built Distribution
File details
Details for the file astro_observe_sdk-0.0.7.tar.gz
.
File metadata
- Download URL: astro_observe_sdk-0.0.7.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 | e35ec3b5ca3b27056546d2bdd7402f4b014769108c6bc595bc4290b70e206985 |
|
MD5 | 9cfc34c86a74685088d513c503b3536c |
|
BLAKE2b-256 | 551948c44346e2b91dfb23baeaf8720c5d89c3de9fb020078dee522b15a81255 |
File details
Details for the file astro_observe_sdk-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: astro_observe_sdk-0.0.7-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 | 33d17e81f1c70c2f9dfa6a15d4074c80134657dc183c7db828ce342101c6c6dd |
|
MD5 | daef229459124c0b25fbb6eb3aad06f5 |
|
BLAKE2b-256 | 5fd9c36bbbaed00724d5046df5171b0f89b4c90dfa4978d89f8071876fbdb7e0 |