Skip to main content

Generate json traces from a python script

Project description

json-tracer

A python library that generates a json file that traces the execution of a python program.

It is heavily based on the backend of pythontutor. All credits go to the original author Philip Guo.

Can be run from command line or imported as a library.

install

pip install json-tracer

Run

python3 -m src.tracer examples/hello_world.py

publish

python -m build
python -m twine upload dist/*

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

json_tracer-0.7.0.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

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

json_tracer-0.7.0-py3-none-any.whl (20.0 kB view details)

Uploaded Python 3

File details

Details for the file json_tracer-0.7.0.tar.gz.

File metadata

  • Download URL: json_tracer-0.7.0.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for json_tracer-0.7.0.tar.gz
Algorithm Hash digest
SHA256 5ba97431c3925819991075b66cf9220e57b16151f8cce399ed41d400f5da352d
MD5 cad3690f0971c8fd4118a8c5cbc01d48
BLAKE2b-256 4e8743a1089cba5982223991719f20c088346634c43894a240e81e079b69e268

See more details on using hashes here.

File details

Details for the file json_tracer-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: json_tracer-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 20.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for json_tracer-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 56937fbe29f0fa0fec3e32ed9812e26e33229b9158be6cc7019480df2e98f26b
MD5 f1a965e9884d366710e597870e8d7acf
BLAKE2b-256 529a93e3cdafeda088c6d12161c6c40d43c5a2be92082b6d5bb1b455abfa344b

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