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.1.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.1-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tracernaut-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 5c056fbc05d3c12dca44ccec0a51960cf5bc07a18fc809c3e391f9080aed29df
MD5 0d9d07ca98de5f2b123e763af73c2b50
BLAKE2b-256 b87eaa696aec727ac50c76f710be8a703fdc1b7888a4c59f851a33d2916eaf14

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tracernaut-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4bab6e58989a6aa7a8bab239d5c5e844232d3570bf380b41270112c802cde69e
MD5 99acce41e9e1f7070a069e7f78c2fbee
BLAKE2b-256 e7fa16f683aebb354a9960ced29425319984b9be3a448ae025a4e862c01cb24d

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