
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
A simple, powerful, and fast terminal menu system for Python.
PPMenu is a lightweight pure Python menu builder focused on:
Built for terminal applications, system tools, games, shops,
and anywhere a clean text menu is needed.
hjkl
, quick letters[f] File
, [o] Open
, etc.)h/j/k/l
)Option 1: Local Project
uv pip install ppmenu
# or
pip install ppmenu
Option 2: Local Project
Clone the repository:
git clone https://github.com/sergey-samoylov/ppmenu.git
cd ppmenu/
Install development dependencies (optional, for testing):
pip install pytest
Create a quick menu in seconds:
from ppmenu import PPM
def say_hello():
print("Hello, world!")
menu_structure = {
'[h] Hello': say_hello,
'[q] Quit': lambda: exit(0),
}
menu = PPM(menu_structure, title='My Simple Menu')
menu.run()
✅ Arrow keys and Vim-keys move.
✅ Press h
to run "Hello".
✅ Press q
to quit.
Have a taste how it might work with your own projects by launching
one of these simple apps:
All are in examples
directory.
Will happily create a file with a list of your projects, that use PPMenu.
Run all tests:
pytest
(Optional: add pytest.ini
with [pytest] pythonpath = .
for clean imports.)
Contributions are welcome!
Feel free to:
Let's make PPMenu
even better together!
📢Please follow the Code Style Guide before submitting pull requests.
This project is licensed under the GNU General Public License v3.0 (GPLv3).
See LICENSE file for details.
Made with ❤️ by Sergey Samoylov
FAQs
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.