Skip to main content

CelestialTree PyClient

一个轻量级的 Python 客户端,用于与 CelestialTree 交互,提供事件上报、血缘(lineage)追踪以及基础查询能力。

该客户端被设计为可嵌入到任务系统中(例如 CelestialFlow),用于记录并追踪任务在因果事件树中的完整生命周期。

功能特性

  • 向 CelestialTree 服务发送结构化事件
  • 追踪事件之间的父子关系
  • 面向任务执行与编排系统进行设计
  • 接口简洁、依赖极少的 Python 客户端

安装

pip install celestialtree

使用示例

from celestialtree import Client

client = Client(
    base_url="http://localhost:7777",
)

event_id = client.emit(
    event_type="task.success",
    parents=[123456],
    message="任务成功完成"
)

print(event_id)

Star 历史趋势(Star History)

如果对项目感兴趣的话,欢迎star。如果有问题或者建议的话, 欢迎提交Issues或者在Discussion中告诉我。

Star History Chart

许可(License)

This project is licensed under the MIT License - see the LICENSE file for details.

作者(Author)

Author: Mr-xiaotian Email: mingxiaomingtian@gmail.com Project Link: https://github.com/Mr-xiaotian/celestialtree-pyclient

Metadata

Release files for celestialtree 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for celestialtree 0.1.3
File Size Uploaded Provenance Actions
celestialtree-0.1.3.tar.gz 12.6 kB Without provenance Details for celestialtree-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for celestialtree 0.1.3
File Interpreter ABI Platform Actions
celestialtree-0.1.3-py3-none-any.whl Python 3 none any Details for celestialtree-0.1.3-py3-none-any.whl

Total release size: 24.6 kB

Release files / celestialtree-0.1.3.tar.gz

Download URL celestialtree-0.1.3.tar.gz
Size 12.6 kB
Tags Source
SHA-256 checksum
How to use checksums
64721bd020dae60b208cec875119ea6d07ae0b641c78f58588b6171e591e2db8
BLAKE2b-256 checksum
How to use checksums
37c2ca1eb4e65bec935f64830e36724dd430fcb6f8364da59b292e511abe1f68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / celestialtree-0.1.3-py3-none-any.whl

Download URL celestialtree-0.1.3-py3-none-any.whl
Size 12.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
667f0efccb256cc5a8beb229ec199a1efde6f531b5264b5ba7ce1f816fb16cb3
BLAKE2b-256 checksum
How to use checksums
cc04d754e9d911686384844fb2737163f2212655f236e21d0154de43e263ed55
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.6 {"installer":{"name":"uv","version":"0.10.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for celestialtree 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page