Show HN: Pysh – Python shell and REPL in one
Category: devtools
Tags: shell, python, repl, interactive, cli-tool
Score: 7.0/10 (Innovation: 6, Technical: 8, Documentation: 8, Utility: 6)
Pysh is a combined shell and Python REPL in a single executable, where each line is executed as Python if it parses, otherwise as a shell command. It embeds the system's CPython, supports a rich shell syntax (pipes, redirects, job control) and advanced interactive features like autosuggestions and tab completion. The project is technically impressive and well-documented, offering a novel way to blend shell and Python workflows.
Target audience: developers, devops, data scientists, system administrators
Repository: https://github.com/float64co/pysh · C · MIT
View on Hacker News