Skip to content

it-is-wednesday/pyinspect.el

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyinspect.el

https://melpa.org/packages/pyinspect-badge.svg

Major mode for inspecting objects in a running Python 3.3+ process 🥴

./demo.gif

Setup

After installing from MELPA:

(require 'pyinspect)
(define-key python-mode-map (kbd "C-c i") #'pyinspect-inspect-at-point)

Usage

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

Default keybindings

KeyAction
i / l / RETInspect field at point
u / hGo back to parent inspection buffer
TABNext field
S-TABPrevious field
n / jNext line
p / kPrevious line
qKill all inspection buffers

Background

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 :)

About

Python object inspector for Emacs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published