{"repo":"Andarius/piou","free":true,"listed":false,"github":"https://github.com/Andarius/piou","clone":"git clone https://github.com/Andarius/piou.git","description":"A CLI tool to build beautiful rich text command-line interfaces with type validation.","language":"Python","stars":315,"topics":["cli","python","tui","shell","terminal","typehints","commad-line"],"license":"MIT","category":"cli-tools","readme_excerpt":"Piou A CLI tool to build beautiful command-line interfaces with type validation. Quick Example Installation Or with uv: Or with conda: Raw Formatter By default, Piou uses Rich for beautiful terminal output. If you prefer plain text output, you can use the raw formatter: Documentation Full documentation is available at andarius.github.io/piou . Features - FastAPI-like developer experience with type hints - Custom formatters (Rich-based by default) - Nested command groups / sub-commands - Derived options for reusable argument patterns - Async command support - Type validation and casting - Interactive TUI mode with command suggestions and history - Structured JSON help ( --help-json ) for tooling and programmatic CLI discovery Why Piou? I could not find a library that provided: - The same developer experience as FastAPI - Customization of the interface (to build a CLI similar to Poetry) - Type validation / casting Typer is the closest alternative but lacks the possibility to format the output in a custom way using external libraries (like Rich). Piou provides all these possibilities and lets you define your own Formatter. Async Commands Commands can be async functions — piou detects coroutines and runs them automatically, no manual asyncio.run() needed: This works the same way for commands inside command groups. Interactive TUI Mode Piou includes an optional interactive TUI (Text User Interface) mode powered by Textual. This provides a rich terminal experience with command sugg","default_branch":null,"files":null,"tree":[],"storefront":"/r/Andarius","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Andarius/piou/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}