Comparison
prompt_toolkit vs pyreadline 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 python implmementation of GNU readline.
Likely abandoned. No release or commit for years (last release over 11 years ago).
$
pip install pyreadlineA 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
- pyreadline looks abandoned: avoid it for new projects.
- prompt_toolkit is the most used: 222.4M downloads a month, 46× more than urwid.
- urwid is better maintained: Pythie’s Index 82 against 43.
Side by side
| Metric | prompt_toolkit | pyreadline | urwid |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 43 | 19 |