pystack
The pystack is to python as jstack is to java.
It's a debug tool to print python threads or greenlet stacks.
Idea stolen from pyrasite.
Install
$ pip install pystack-debugger
Usage
You may need to run it with sudo.
$ sudo pystack [--include-greenlet] <pid>
Compatibility
The pystack is compatible with CPython 2.7+ and CPython 3.6+ in both client (the debugger) and server (the destination process).
Using PyPy may work in client (the debugger) but it is untested. Do not attempt to attach a PyPI process as destination since the pystack debugger uses gdb/lldb to invoke the CPython ABI.
Metadata
Release files for pystack-debugger-custom 0.10.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 |
|---|---|---|---|---|
| pystack_debugger_custom-0.10.0.tar.gz | 5.0 kB | Without provenance | Details for pystack_debugger_custom-0.10.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pystack_debugger_custom-0.10.0-py3-none-any.whl | Python 3 | none | any | Details for pystack_debugger_custom-0.10.0-py3-none-any.whl |
Total release size: 10.4 kB
Release files / pystack_debugger_custom-0.10.0.tar.gz
| Download URL | pystack_debugger_custom-0.10.0.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dee71dc8159f8330f2c8fe3a60c0eb6cd4d08c5b6bb657214841fb697483afe8
|
|
BLAKE2b-256 checksum How to use checksums |
7d06598fd8b52b0a93e5a14d74c8300efd94926de22a87d8a2173286127ace98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.8
|
Release files / pystack_debugger_custom-0.10.0-py3-none-any.whl
| Download URL | pystack_debugger_custom-0.10.0-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
114a9b355ad5e9de3a014ec82347653cdaa7f88c1a048ed91baed3c5619f37a6
|
|
BLAKE2b-256 checksum How to use checksums |
c27fd0ca878e8d9a767b14a52b6ffa874394ced0e09d846edfe317356faa36af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.8
|
Security for pystack-debugger-custom 0.10.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.