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 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.6.0.tar.gz (17.0 kB view hashes)

Uploaded Source

Built Distribution

json_tracer-0.6.0-py3-none-any.whl (20.1 kB view hashes)

Uploaded Python 3

Supported by

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