Skip to content

Show HN: History suggest box for your Python shell

github.com/adder46
1 pointadder461 comment
On HN

Comments

pyhstr is a history suggest box for Python shells. It lets you quickly access the commands in your shell history. Just search for the command you want to execute (regex mode is supported), or, if you don't exactly know what you're looking for, you can browse through the commands until you find the one you want to execute. Apart from this, you can delete unwanted items from your history, too, and more. It works on all terminals ranging from linux term to alacritty to xterm. It was initially made for the standard Python shell but it should work with IPython and bpython, too.

It has been my daily driver for a while now.

Check out the README for instructions if you want to try it out.

Suggestions, bug reports, etc. are welcome.

Let me know what you think:

https://github.com/adder46/pyhstr

AboutSource Built by g1lg1l

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