Inject code into a running Python process
Project description
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
Licenses
Code
Logo
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pyrasite-ng-2.0.1.tar.gz
.
File metadata
- Download URL: pyrasite-ng-2.0.1.tar.gz
- Upload date:
- Size: 42.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f4594723798fb8c813304e962c5831f75868c9197c4fdf6615de179e34e7ab3 |
|
MD5 | 16d28593cbd82cb63776a827cb0ef397 |
|
BLAKE2b-256 | 964d759623cb3ee6a57c95a6f64253e7fa9056eea236aad281911922db8c01b1 |
File details
Details for the file pyrasite_ng-2.0.1-py3-none-any.whl
.
File metadata
- Download URL: pyrasite_ng-2.0.1-py3-none-any.whl
- Upload date:
- Size: 37.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85d99ae56aa94641e665bfe6ffce4382c6c8ab394493036a8170b11fc45ad89c |
|
MD5 | 30e1195fbe3c395895354c775640a531 |
|
BLAKE2b-256 | 487d78113f487883df80233998f3d007a25327a6c4ca948bf2cd6f948b893af6 |