Pyinspect — the python package for lazy programmers

Kalinin Dmitry
2 min readOct 9, 2020

Don’t remember a function’s name? Use pyinspect to look for it.
Don't remember what a function does? Use pyinspect to print its source code directly to your terminal.
Can't figure out why you keep getting an error? Use pyinspect's fancy tracebacks to figure it out
Still can't figure it out, but too lazy to google it? Use pyinspect to print Stack Overflow's top answer for your error message directly to your terminal!

… and a bunch of other features to make your life easier when coding.

An example of how `pyinspect` can be used to find and inspect functions lazily.

Example

# import pyinspect
import pyinspect as pi

# Find the functions you're looking for
pi.search(pi, name='what')
This results in a table with all the function’s matching your search name
# import pyinspect
import pyinspect as pi
pi.ask("python Concatenate two lists?")
When you got a question, ask Google

--

--