The SDK that revolutionizes debugging and tracing.
Project description
TraceRoot Python SDK
Please see the Python SDK Docs for details.
Installation
pip install traceroot
Examples
import traceroot
import asyncio
logger = traceroot.get_logger()
@traceroot.trace(name="greet")
async def greet(name: str) -> str:
logger.info(f"Greeting inside traced function: {name}")
# Simulate some async work
await asyncio.sleep(0.1)
return f"Hello, {name}!"
async def main():
result = await greet("world")
logger.info(f"Greeting result: {result}")
if __name__ == "__main__":
asyncio.run(main())
Contact Us
Please reach out to founders@traceroot.ai if you have any questions.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
traceroot-0.0.5a1.tar.gz
(24.9 kB
view details)
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 traceroot-0.0.5a1.tar.gz.
File metadata
- Download URL: traceroot-0.0.5a1.tar.gz
- Upload date:
- Size: 24.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
324d34f79102af139fe0cd7c13f17e1eb52df4115fb9a7fb61ef8dd6c1850d6b
|
|
| MD5 |
dc363c2acabaa1bdabe6b5b71ca59b25
|
|
| BLAKE2b-256 |
15bfd933e5d4f512613d4c0669de762563f8d3e4d6c465796f743882336bbdfa
|
File details
Details for the file traceroot-0.0.5a1-py3-none-any.whl.
File metadata
- Download URL: traceroot-0.0.5a1-py3-none-any.whl
- Upload date:
- Size: 23.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0535bacbecd1ef1d077300ac9508f6232e46bd65e3c8d602aa46d7c07bca6ac3
|
|
| MD5 |
6af75a550e109eda1b16315f1dbc452f
|
|
| BLAKE2b-256 |
8b0b9800df19fd73900f3881b212f0c680dd94e97a33a3748036df22ac50fdcd
|