Settings

Theme

Show HN: Plonk – Spotlight Search style Python interpreter

github.com

1 points by JosephRedfern a month ago · 0 comments · 1 min read

Reader

I've just released Plonk, a Spotlight Search style Python interpreter interface for macOS.

As someone who often uses Spotlight Search for quick calculations, I was left yearning for more - a way of quickly running snippets of code and bridge the gap between a calculator and a full on script. Plonk solves that problem by dropping you in to a persistent Python interpreter with a global hotkey. The `%copy` command can be used to dump the previous output to the clipboard, or `%copy <expr>` to dump the output of a specific expression/variable.

Plonk plugs into system Python by default, but is also compatible with virtualenvs or uv projects.

Source and package are available via GitHub: https://github.com/JosephRedfern/plonk

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection