Skip to content

Show HN: Plonk – Spotlight Search style Python interpreter

github.com/JosephRedfern
1 pointJosephRedferndiscuss
On HN

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

Comments

No comments yet.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.