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.4.tar.gz
(149.6 kB
view details)
Built Distribution
File details
Details for the file astro_observe_sdk-0.0.4.tar.gz
.
File metadata
- Download URL: astro_observe_sdk-0.0.4.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 | 8eb921f9f80ce01d5c676b5b03c71444126e098cd887991c1dc61d700db7a848 |
|
MD5 | 41231eb4b0dae33f6e4587ba06789631 |
|
BLAKE2b-256 | 75997adf4c1a990fccdf0f62791b034184b0358e689f57589c96165931e04b92 |
File details
Details for the file astro_observe_sdk-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: astro_observe_sdk-0.0.4-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 | d8e3d3752cb3394494a4e31e3b66551ff261f215203007bd43f82c46f36fa5ac |
|
MD5 | e26a97a1d3f9c3392eb86a8f6ddb7558 |
|
BLAKE2b-256 | 6f1a91d06ac2dd45ab7f5076963b0b5849fa5714cc3284abb0240a69e7ed33e7 |