Major mode for inspecting objects in a running Python 3.3+ process 🥴
After installing from MELPA:
(require 'pyinspect)
(define-key python-mode-map (kbd "C-c i") #'pyinspect-inspect-at-point)
Eval a Python buffer in a Python process (usually C-c C-c
once you’re in the buffer), then place
your cursor on a variable and hit C-c i
to open the inspection buffer
Key | Action |
---|---|
i / l / RET | Inspect field at point |
u / h | Go back to parent inspection buffer |
TAB | Next field |
S-TAB | Previous field |
n / j | Next line |
p / k | Previous line |
q | Kill all inspection buffers |
I wrote this package after rustling with Emacs to try and get a REPL-driven development workflow in Python. See this blog post for an idea of how to integrate this package into your cycle :)