CodeJourney
CodeJourney is an educational Python execution visualizer for Jupyter Notebooks. It helps beginner programmers understand execution through source-line highlighting, variable changes, loop-aware navigation, and educational warnings. It is not a full debugger or a security sandbox.
CodeJourney captures source lines, safe variable snapshots, variable diffs,
collection changes, aliases, loop iterations, condition previews, and
educational warnings. TraceResult exposes structured Python data and renders
a self-contained interactive HTML view in Jupyter.
Install the published package from PyPI with:
pip install codejourney
from codejourney import run_viz
trace = run_viz("x = 1\nx += 1")
trace.events
trace._repr_html_()
Importing codejourney in an IPython/Jupyter session registers the %%pyviz
cell magic automatically:
%%pyviz
total = 0
for number in [1, 2, 3]:
total += number
run_viz accepts a max_steps limit (default: 500):
trace = run_viz("count = 0\nwhile count < 3:\n count += 1", max_steps=100)
trace.warnings
Execution is not sandboxed: analyzed code runs with the Python process's normal permissions and may perform I/O or access the network. The step limit bounds traced Python lines only; it is not a timeout or security boundary.
CodeJourney is an educational visualizer, not a full debugger. It does not provide breakpoints or control a live execution session.
The project specification and roadmap are in SPEC.md.
Metadata
Release files for codejourney 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| codejourney-0.1.0.tar.gz | 18.6 kB | With provenance | Details for codejourney-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| codejourney-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for codejourney-0.1.0-py3-none-any.whl |
Total release size: 33.8 kB
Release files / codejourney-0.1.0.tar.gz
| Download URL | codejourney-0.1.0.tar.gz |
|---|---|
| Size | 18.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
accde10bcb0ef294d4dc0b8e98413e8ee209b9e45ee0ef006371af369e150389
|
|
BLAKE2b-256 checksum How to use checksums |
3ea6660bba5fe8ce3279fbf74eab54a2967692249d8b543877dcefea747b34f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Transparency logRelease files / codejourney-0.1.0-py3-none-any.whl
| Download URL | codejourney-0.1.0-py3-none-any.whl |
|---|---|
| Size | 15.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
73bcbd52b81cd6b87b1cc858f3a42e49e8b9642fc53caf19587821e5557a1e0f
|
|
BLAKE2b-256 checksum How to use checksums |
4f48a50eb9c23154fa7cd9449187a13b51a36638419cdeac64cdbfaf176968e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Transparency logSecurity for codejourney 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for codejourney-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.