Python client for CelestialTree event provenance service
Project description
CelestialTree PyClient
A lightweight Python client for interacting with CelestialTree, providing event emission, lineage tracking, and basic querying capabilities.
This client is designed to be embedded into task systems (such as CelestialFlow) to record and trace the lifecycle of tasks through a causal event tree.
Features
- Emit structured events to a CelestialTree service
- Track parent–child relationships between events
- Designed for task execution and orchestration systems
- Simple, dependency-light Python interface
Installation
pip install celestialtree
Usage
from celestialtree import Client
client = Client(
base_url="http://localhost:7777",
)
event_id = client.emit(
event_type="task.success",
parents=[123456],
message="Task completed successfully"
)
print(event_id)
Contributing
Contributions are welcome! Please feel free to submit issues, feature requests, or pull requests.
License
This project is licensed under the MIT License - see the LICENSE file for details.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file celestialtree-0.1.0.tar.gz.
File metadata
- Download URL: celestialtree-0.1.0.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63615f1968e4e758bd0a5eab2824da47e11d7dbb5f1e3b1466dbb0564fea0722
|
|
| MD5 |
768250bc2f65da9ad74254340c2fb1e0
|
|
| BLAKE2b-256 |
a61981ec22872b55863c27e94d72bf14db04f988b15ccb0a61e454429f095640
|
File details
Details for the file celestialtree-0.1.0-py3-none-any.whl.
File metadata
- Download URL: celestialtree-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
efc36517482ba019198d42ad290c3656239cc266a9c82179bd66c01c42f2727b
|
|
| MD5 |
c770f8362c2c5c70dbecaaeb3be6ff86
|
|
| BLAKE2b-256 |
49007d06d91ec065df83001062135c64bbb3d2ca30bdcefe4976075a20e4f70c
|