Skip to main content

A beautiful time-travel debugger for Python: track variable changes line-by-line.

Project description

# ChronosTrace 🚀

ChronosTrace is a tiny, beautiful "time-travel" debugger for Python.

Just add a decorator to any function to see a line-by-line breakdown of variable changes and execution time.

## Installation

pip install chronostrace

Usage

Python



from chronostrace import chronos



@chronos

def my\_function(n):

    total = 0

    for i in range(n):

        total += i

    return total



my\_function(3)

text





---



\### Step 3: Configure `pyproject.toml`

This is the most important part for PyPI. Open your `pyproject.toml` and update the `\[project]` section. It should look something like this:



```toml

\[project]

name = "chronostrace-pro"  # Or something unique to you

version = "0.1.0"

description = "A time-traveling state logger for Python functions"

authors = \[

    { name = "Your Name", email = "your@email.com" }

]

dependencies = \[

    "rich>=13.0.0",

]

readme = "README.md"

requires-python = ">=3.8"



\[build-system]

requires = \["setuptools>=61.0"]

build-backend = "setuptools.build\_meta"



\[tool.setuptools.packages.find]

where = \["src"]

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

chronostrace_python-0.2.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

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

chronostrace_python-0.2.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file chronostrace_python-0.2.0.tar.gz.

File metadata

  • Download URL: chronostrace_python-0.2.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.14 {"installer":{"name":"uv","version":"0.9.14","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}

File hashes

Hashes for chronostrace_python-0.2.0.tar.gz
Algorithm Hash digest
SHA256 337d7ca16dc42e8ddddfccd1c055ab50be5d8bf94cbdad2243dee10834d7007e
MD5 5f5641cb0e224d7a3dc2b7f1e0651671
BLAKE2b-256 cf221f4ac1966e886724079f94be59c420e1da3ef80f60300725d0290ee1c7fe

See more details on using hashes here.

File details

Details for the file chronostrace_python-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: chronostrace_python-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.14 {"installer":{"name":"uv","version":"0.9.14","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}

File hashes

Hashes for chronostrace_python-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 be24a6f14685d5fa394dcccf236000f79090ec502ceae75cd3602597a9b17877
MD5 d6eeb808ed1029a33070aab8003d23e4
BLAKE2b-256 7ee6cbd4931afdc57914b56c475f147e4dd90bcecf9b0acfa94983302fc09c3c

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