Pyrasite
Inject code into running Python processes
Install / Use
/learn @lmacken/PyrasiteREADME
.. image:: docs/logo.png
pyrasite
.. image:: https://api.travis-ci.org/lmacken/pyrasite.png?branch=develop :target: http://travis-ci.org/lmacken/pyrasite .. image:: https://coveralls.io/repos/lmacken/pyrasite/badge.png?branch=develop :target: https://coveralls.io/r/lmacken/pyrasite?branch=develop .. image:: https://img.shields.io/pypi/v/pyrasite?style=flat :target: https://pypi.python.org/pypi/pyrasite
.. split here
Tools for injecting arbitrary code into running Python processes.
:homepage: https://github.com/lmacken/pyrasite :documentation: https://pyrasite.rtfd.org :download: https://pypi.python.org/pypi/pyrasite :source: https://github.com/lmacken/pyrasite :screenshots: http://readthedocs.org/docs/pyrasite/en/latest/GUI.html :mailing list: https://fedorahosted.org/mailman/listinfo/pyrasite :jenkins: http://ci.csh.rit.edu/view/Pyrasite :irc: #pyrasite on Freenode
Requirements
* `gdb <https://www.gnu.org/s/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.
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
.. image:: http://lewk.org/img/pyrasite/pyrasite-info-thumb.png
Authors
~~~~~~~
Created by `Luke Macken <https://twitter.com/lmacken>`_ with the help of
`David Malcolm <https://dmalcolm.livejournal.com>`_ and many other
`contributors <https://github.com/lmacken/pyrasite/contributors>`_.
Logo by `Adam Saunders <https://fedorahosted.org/design-team/ticket/214>`_.
Licenses
~~~~~~~~
Code
^^^^
.. image:: https://www.gnu.org/graphics/gplv3-127x51.png
:target: https://www.gnu.org/licenses/gpl.txt
Logo
^^^^
.. image:: https://creativecommons.org/images/deed/nolaw.png
:target: https://creativecommons.org/publicdomain/zero/1.0/
Related Skills
node-connect
344.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
96.8kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
96.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
344.1kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
