Comparison
prompt_toolkit vs pyrepl vs textual vs urwid
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Library for building powerful interactive command lines in Python
Maintained. Last release 4 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and issue handling.
pip install prompt-toolkitA library for building flexible command line interfaces
Maintained. Last release 4 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install pyreplModern Text User Interface framework
Maintained. Last release 5 months ago, commits in 4 of the last 26 weeks. Weaker on commit activity and issue handling.
pip install textualA full-featured console (xterm et al.) user interface library
Actively maintained. Last release 6 days ago, commits in 25 of the last 26 weeks. A safe choice.
pip install urwidIn short
- prompt_toolkit is the most used: 222.4M downloads a month, 3.8× more than textual.
- urwid is better maintained: Pythie’s Index 82 against 43.
Side by side
| Metric | prompt_toolkit | pyrepl | textual | urwid |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 43 | 46 |