Skip to main content

Interactive code execution and memory visualization for Python in Jupyter

Project description

🧠 tracernaut — Visualize Python Execution Like Never Before

PyPI Version Python Versions License

An intelligent, interactive visualizer for step-by-step Python code execution and memory tracing.
Built for students, educators, and curious minds.


🚀 What is Tracernaut?

Tracernaut is a pedagogical tool that captures and visually traces the execution of Python code — including variable states, memory references, object relationships, and the call stack — using rich, annotated diagrams.

It turns abstract Python behavior into something visible, intuitive, and beautifully structured.


📸 Example

from tracernaut import tracernaut

@tracernaut
def example():
    a = [1, 2, 3]
    b = {'x': a, 'y': 4}
    a.append(5)
    return b

example()

This opens an interactive widget (in Jupyter) that lets you step through each line and visualize changes in memory, objects, variables, and control flow.

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

tracernaut-0.1.2.tar.gz (17.8 kB view details)

Uploaded Source

Built Distribution

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

tracernaut-0.1.2-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file tracernaut-0.1.2.tar.gz.

File metadata

  • Download URL: tracernaut-0.1.2.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.4

File hashes

Hashes for tracernaut-0.1.2.tar.gz
Algorithm Hash digest
SHA256 936adc26b5c92351f7661c3d0e1157474e87ba1bd3454d40a6fd0ce9bce39930
MD5 2ccdb11790f2b57030b438f7ca30ac6e
BLAKE2b-256 f3955ca417cad86dbe4050157c34518a2446a6699dc5134690f3e737b6ae1456

See more details on using hashes here.

File details

Details for the file tracernaut-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: tracernaut-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 16.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.4

File hashes

Hashes for tracernaut-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1495464033e2b14604e2970f4eb8c47af8349c1d7dcf58900907183aef61a33d
MD5 d44b8b7a5e040624795a84e86d5ef93a
BLAKE2b-256 3aeb19216566289b48d24897401de27d84fafa306bfa24c643e0df684c212bad

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