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.2.tar.gz
(148.9 kB
view details)
Built Distribution
File details
Details for the file astro_observe_sdk-0.0.2.tar.gz
.
File metadata
- Download URL: astro_observe_sdk-0.0.2.tar.gz
- Upload date:
- Size: 148.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2c5c0d26e88268d5c68a50031df64bc547215b2ea5dd9704d2b50ab21671acd |
|
MD5 | 84762dbadfb8af650d874052dbad3337 |
|
BLAKE2b-256 | 65efee70c7a8a143b5e7a89ba9caa1ee5749c2361e7898da68a8ce0e412b6fa9 |
File details
Details for the file astro_observe_sdk-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: astro_observe_sdk-0.0.2-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 108e28b52788412473740d184cad05261aab19899e89884dd3ec55c83d969b91 |
|
MD5 | a1a802739ec379e2e98f48727bf4cd88 |
|
BLAKE2b-256 | d3497ef367219bd3e9576ab7413fa2428404338212897ae1cdc637c3f247cb8c |