Skip to main content

Add your description here

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.1.0.tar.gz (2.6 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.1.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chronostrace_python-0.1.0.tar.gz
  • Upload date:
  • Size: 2.6 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.1.0.tar.gz
Algorithm Hash digest
SHA256 67c76c660068fc7786e77ef3373bd6feb87b2023e2225b31aca5dc04db83d38d
MD5 9798731944c8009490bb51112923da65
BLAKE2b-256 da9104a7d028982774d69b56b4d203d59dcc688d34de4eab1ec87d105bd6e8fb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chronostrace_python-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.0 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 acd66518c543d516f9d64337fb1a288cf9969c7f58dea5117f77f9daa8cf4911
MD5 02ea5712a17e96b99f581a5488b16e89
BLAKE2b-256 7f8a986bbda13d4608449448164e132c511b9c4858d369dfbd3b18bf2a65cb0d

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