Skip to main content

Execution tracing & performance observability for Python services

Project description

Tracepulse

PyPI License Downloads

Tracepulse is a lightweight execution tracing and performance observability layer designed for backend and AI workloads where runtime visibility is critical.

It provides structured execution telemetry across synchronous and asynchronous code paths with minimal overhead.


Why Tracepulse Exists

Modern AI and service pipelines execute complex multi-step logic, often without runtime transparency.

Tracepulse introduces deterministic tracing at the function boundary, enabling:

  • Runtime performance visibility
  • Failure surface detection
  • Observability without external infra

Features

  • Sync + Async tracing
  • Structured execution logs
  • Failure telemetry capture
  • Duration measurement (ms precision)
  • Loguru-backed logging
  • Zero configuration setup

Installation

pip install tracepulse


Usage

from tracepulse import trace

@trace def compute(): return sum(range(1_000_000))

compute()


Async Example

import asyncio from tracepulse import trace

@trace async def fetch(): await asyncio.sleep(1)

asyncio.run(fetch())


Philosophy

Tracepulse is built on the principle that observability should exist at the code boundary — not only in external monitoring systems.

It is intentionally minimal, extensible, and production-safe.


License

MIT

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

tracepulse-0.1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tracepulse-0.1.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file tracepulse-0.1.0.tar.gz.

File metadata

  • Download URL: tracepulse-0.1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for tracepulse-0.1.0.tar.gz
Algorithm Hash digest
SHA256 055945029af9279ce4da6f13ac7a04ba99f1ae6296ad4022430acdd176898dda
MD5 e4768e669e1d2fd3d32947d948c20d1d
BLAKE2b-256 ea53d7a537267311b1e3b7316a962acf854098fb75607f9e44031851761f1e1a

See more details on using hashes here.

File details

Details for the file tracepulse-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tracepulse-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for tracepulse-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 93d7a789c933ab661c0df10656c520e2603923d0623991578cf3af0aca3898d9
MD5 a9a0985e7d98cc066632596a23548320
BLAKE2b-256 0f3fb41fea5bab993d8878e8641d3389a3dacc903de5f01f0cd47d4a8e61d698

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page