This package is a fork of https://github.com/lmacken/pyrasite containing several important fixes to make pyrasite work on modern systems.
Requirements
gdb (version 7.3+ (or RHEL5+))
On OS X you will need to have a codesigned gdb - see https://sourceware.org/gdb/wiki/BuildingOnDarwin if you get errors while running with –verbose which mention codesigning.
On Linux machines, run echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope before running pyrasite.
Compatibility
Pyrasite works with Python 2.4 and newer. Injection works between versions as well, so you can run Pyrasite under Python 3 and inject into 2, and vice versa.
pyrasite-gui
The graphical interface can be found here: https://github.com/lmacken/pyrasite-gui
Bugs
Report bug of this fork on GitHub: https://github.com/user202729/pyrasite-ng/issues
Alternatively, as a workaround while waiting for the bug to be fixed, it’s possible to use gdb to inject code into Python directly: https://stackoverflow.com/a/70312000/5267751
Licenses
Code
Logo
Metadata
Release files for pyrasite-ng 2.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyrasite_ng-2.0.3.tar.gz | 43.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyrasite_ng-2.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 81.5 kB
Release files / pyrasite_ng-2.0.3.tar.gz
| Download URL | pyrasite_ng-2.0.3.tar.gz |
|---|---|
| Size | 43.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f14b9be0c4e8fef0d0927577e1cd1a6dca6697dbd9d3c0670de247c3174b0461
|
|
BLAKE2b-256 checksum How to use checksums |
25c32507b837f9949d49e892929d02f63ad3c87c573dd8670a41f5dfcc1f433d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.1
|
Release files / pyrasite_ng-2.0.3-py3-none-any.whl
| Download URL | pyrasite_ng-2.0.3-py3-none-any.whl |
|---|---|
| Size | 37.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
874c413f98014c50df0d5d0cfa1708c50f364ff8b505327376f087c312f8e6dc
|
|
BLAKE2b-256 checksum How to use checksums |
1b3590a2c013b1738cf887bcd86a4701d4e8c2f0f5fa0e8e41928c8b61c016eb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.1
|