PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Monkey Patching Python Packages

Python packages with the GitHub topic monkey-patching. Sorted by monthly downloads, with stars and forks.
clarete
forbiddenfruit

Patch built-in python objects

2.7M 883 55
ionelmc
aspectlib

An aspect-oriented programming, monkey-patch and decorators library. It is useful when changing behavior in existing code is desired. It includes tools for debugging and testing: simple mock/record and a complete capture/replay framework.

47K 134 15
christophercrouzet
gorilla

Convenient approach to monkey patching.

37K 63 3
GrahamDumpleton
wrapture

Monkey patch, test, and trace Python by attaching bindings to call sites, without modifying the code being observed. Built on wrapt.

5K 78 1
karellen
geventmp

GeventMP - Gevent Multiprocessing Extension

1K 18 4
pomponchik
cbfa

Class-based views for the FastAPI

437 39 0
foorenxiang
patchymcpatchface

Monkey patching package using only standard Python library

386 1 1
jayvdb
flake8-putty

Flake8 plugin to control reporting per file and line

375 37 6
tpvasconcelos
maurice

Ship better machine learning projects, faster!

270 1 0
CNSeniorious000
dotenv-pth

load `.env` when python starts

263 0 0
devopspp
pyliveupdate

A runtime python code manipulation framework for profiling, debugging and bugfixing

220 66 10
boromir674
pytest-object-getter

Dynamically import any object from a python (3rd party) module, while mocking its namespace on demand.

214 0 0
dizballanze
django-eraserhead

💂🏻 Django package that provides hints to optimize database usage by deferring unused fields (and more)

170 191 3
nicwest
notsouid

not so unique ids

107 4 0
wikibusiness
asyncio-monkey

monkey patch asyncio modules for expected behaviour

107 7 2
jayvdb
django-dunder

Django app to attach usable __repr__ and __str__ to any and all Django models, using unmigrated __unicode__ on Python 3

104 2 2
samuelc254
simpylens

A low-intrusion GUI and debugger for Simpy simulations

103 0 0
bliutech
taintmonkey

MIT IEEE URTC 2025. GSET 2025. Repository for "TaintMonkey: Dynamic Taint Analysis of Python Web Applications Using Monkey Patching". A Pytest plugin incorporating fuzzing and taint analysis to uncover security vulnerabilities in Flask web applications.

91 16 1
AshokShau
ptbmod

Patch for python-telegram-bot providing decorator support for easy command handling and admin verification.

72 4 1
ale5000-git
pycompatlayer

PyCompatLayer - Compatibility layer for Python

69 6 1
qporest
pytest-exception-script

Pytest plugin that takes your application through a script of injected exceptions to determine its resiliency.

69 0 0
christophercrouzet
bana

Set of extensions for Autodesk Maya's Python API.

64 37 3
sasdf
firstblood

Write exploit faster with up-to-date python 3

31 37 1
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology