Hacker News new | ask | show | jobs
Show HN: Plonk – Spotlight Search style Python interpreter (github.com)
1 points by JosephRedfern 18 days ago
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