pyrasite: Inject code into running Python processes
pyrasite – Inject code into running Python processes
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.
Installation
Requirement
- 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.
Install
pyrasite
git clone https://github.com/lmacken/pyrasite.git
cd pyrasite
python setup.py install- pyrasite-gui
pip install pyrasite pyrasite-gui