Full-stack cross-end debug tracer — NDJSON + readable, scope-filtered, AI-friendly
Project description
tracelink
Full-stack cross-end debug tracer — NDJSON + readable, scope-filtered, AI-friendly.
Install
pip install tracelink
With FastAPI/Starlette support:
pip install tracelink[fastapi]
Quick Start
from tracelink import debug_tracer
debug_tracer.start_scope('delete-work')
debug_tracer.entry('router.py:delete', 'user clicked delete', {'user_id': 123}, scope='delete-work')
debug_tracer.end_scope('delete-work')
Features
- Scope-filtered: group related log entries by scope name
- AI-friendly NDJSON: each entry is one JSON line, easy for AI agents to parse
- Zero dependencies: core uses only Python stdlib
- FastAPI/Starlette middleware: plug-and-play HTTP middleware
- Dashboard: built-in web UI to browse traces
CLI
tracelink --port 8080
Links
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
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
tracelink-0.2.0-py3-none-any.whl
(31.7 kB
view details)
File details
Details for the file tracelink-0.2.0-py3-none-any.whl.
File metadata
- Download URL: tracelink-0.2.0-py3-none-any.whl
- Upload date:
- Size: 31.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33d90cbfa521b3295de6e2a95b6b87a7c538c225e4e775511f2d78dfccf835c8
|
|
| MD5 |
c67477c8ed969e2a33e2539dab7472f1
|
|
| BLAKE2b-256 |
b4f5c5ee3ea7d82d9952fc3cd83538e15e15198d0742dedb78cf67dc39f28cdd
|