A command line tool for Piazza
This project provides an interactive, color-rich command-line interface to Piazza using the unofficial piazza-api.
-
Install dependencies:
pip install -r requirements.txt
-
Run the CLI:
python piazza_cli.py
- Auto-login if credentials are cached (skips login screen)
- List your courses with arrow-key navigation (Windows supported)
- Read course discussions in a Reddit-style, color-formatted thread view
- Scroll through questions and comments with up/down arrow keys
- Post comments directly from the CLI
- Rich text formatting for roles (instructor, student, OP, etc.)
- Cross-platform (tested on Windows)
- On first run, you'll be prompted for your Piazza email and password. Credentials are cached for future logins.
- Use the arrow keys to navigate course and question lists.
- When viewing a thread, use up/down arrows to scroll,
cto comment, andb/esc/qto go back. - Type
helpat the prompt to see available commands.
- This project uses the unofficial piazza-api: https://github.com/hfaran/piazza-api
- Requires Python 3.7+
- For best experience, use a terminal that supports ANSI colors (Windows Terminal, PowerShell, etc.)