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.4.tar.gz (18.9 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.4-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tracernaut-0.1.4.tar.gz
Algorithm Hash digest
SHA256 b18937baf58b0f48e78066dfef43e46140a57c7207e4e6ca3a9444da72536320
MD5 8023e4dfdf6cb5a738c62ed23ab3e478
BLAKE2b-256 c6b63aa3f455fb27a3d41b37a2b9a2049d8d94621cbd30b9808ff550964fe8e1

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for tracernaut-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9fb547cc61d913282919e078831cfdce176f5949109586e8d69d12ce3cc51537
MD5 ea50c07e5d7829b750c9e45cde64a0a3
BLAKE2b-256 4fe534a6362749572f583d7e2e10db7e94020e8de20d2332bdcddb7a0a4f16b1

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