Pydvice: An attempt at bringing (defadvice ...) from Elisp to Python
An implementation of Emacs Lisp's defadvice, for Python.
Sadly thr library itself is very old (14 years old at the time of recording this), and only for Python 2. There is, however, a PR in the repo that makes it work with Python 3.