This release is a pre-release and may not be stable for production use.
First Terminal
python3 examples/script_to_debug.py
Second terminal
pymontrace -p "$(pgrep '[Pp]ython')" -e 'line:*/script_to_debug.py:13 {{ print("a", ctx.a, "b", ctx.b) }}'
Waiting for process to reach safepoint...
Probes installed. Hit CTRL-C to end...
a 4 b 3
a 3 b 7
a 7 b 1
a 1 b 8
a 8 b 0
^CRemoving probes...
Waiting for process to reach safepoint...
.
INSTALLATION:
pymontrace can be installed with pip or pipx or just run with pipx run at
your preference.
pip install pymontrace
pipx install pymontrace
pipx run pymontrace
uvx pymontrace
DOCUMENTATION:
See pymontrace -h and https://cakemanny.com/pymontrace or
docs/SUMMARY.md in the github repository for some initial documentation.
WARNING:
- This is under early development and is in no way safe to use against
production workloads.
- The interface will change wildly without warning. There are no versioning
guarantees at this point.
CAVEATS:
- Use on macOS requires root. Use `sudo`.
- Probes will only fire if the function is entered after the probe has
been installed. This means that top level statements cannot be traced and
that the statements inside an outermost forever-loop cannot be traced.
Metadata
Release files for pymontrace 0.1.0.dev14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pymontrace-0.1.0.dev14.tar.gz | 68.6 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pymontrace-0.1.0.dev14-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl | CPython 3.9 | abi3 | Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 | Details |
| pymontrace-0.1.0.dev14-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl | CPython 3.9 | abi3 | Linux glibc 2.17+ ARM64, Linux glibc 2.28+ ARM64 | Details |
| pymontrace-0.1.0.dev14-cp39-abi3-macosx_10_15_universal2.whl | CPython 3.9 | abi3 | macOS 10.15+ universal2 (ARM64, x86-64) | Details |
Total release size: 398.7 kB
Release files / pymontrace-0.1.0.dev14.tar.gz
| Download URL | pymontrace-0.1.0.dev14.tar.gz |
|---|---|
| Size | 68.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0fdd72dc8fe0ae6cc27d58a954bf80a1458f9ee3f8951877990f3376457dadea
|
|
BLAKE2b-256 checksum How to use checksums |
a3b75e49195a15f645b35756fd6d51acbd88808e8c0bb0b1ca847254b5d61968
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 9, 2026.
Transparency logRelease files / pymontrace-0.1.0.dev14-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | pymontrace-0.1.0.dev14-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 122.6 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
0171d7d05e739d39587ce91cb12e9d3902672198879755ff4ac79f88215e65bb
|
|
BLAKE2b-256 checksum How to use checksums |
e493d4005bc0847c5e3547ea694b177c31e602180394a89d803549cf984f5de1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 9, 2026.
Transparency logRelease files / pymontrace-0.1.0.dev14-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
| Download URL | pymontrace-0.1.0.dev14-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 125.2 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
961d0e263a8aa661770a3c339007efa4b30e0246973f8a1f44da27899e8e5e2e
|
|
BLAKE2b-256 checksum How to use checksums |
fb82f11b6f702e23ac4389a41e4fb4970dfcf33f63fad62d2a3e7d71eac6cace
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 9, 2026.
Transparency logRelease files / pymontrace-0.1.0.dev14-cp39-abi3-macosx_10_15_universal2.whl
| Download URL | pymontrace-0.1.0.dev14-cp39-abi3-macosx_10_15_universal2.whl |
|---|---|
| Size | 82.2 kB |
| Tags | CPython 3.9 abi3 macOS 10.15+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
8b7bdbd5e3ae667d322d9ef1a8668a1a33dbd42f8e289977c0f1a5fff789daec
|
|
BLAKE2b-256 checksum How to use checksums |
5e4e2b8e5d752fb5dbff8ecd4d71101ed44acd034be9e1159acee21811fd1d0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 9, 2026.
Transparency log