prompt-toolkit/python-prompt-toolkit
Library for building powerful interactive command line applications in Python observed · 2026-08-28
Health v2 · maintenance only
87/100
- Activity 94
- Release rhythm 71
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 116
- age_days: 4603
- days_rel: 38
- days_push: 38
- n_releases_24m: 6
Adoption not part of the score
10561 stars · 802 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A pure Python library for building powerful interactive command line and terminal applications, serving as an advanced replacement for GNU readline. It supports syntax highlighting, code completion, Emacs/Vi key bindings, mouse support, and full-screen terminal UIs.
Use cases
- build interactive command line prompts in python
- add syntax highlighting and autocompletion to a cli input
- replace gnu readline in a python tool
- build full-screen terminal applications
- support vi and emacs key bindings in a repl
- handle unicode and cjk input in terminal apps
When to choose
- you need rich interactive input handling in a Python CLI
- you want cross-platform terminal support including Windows
- you need advanced readline features like incremental search and multi-line editing
When to avoid
- you need a GUI or web-based interface
- you are building a non-interactive batch script
- you need a terminal UI in a language other than Python
Facets
library · maturity stable
cli terminal-ui developer-tools developer-tools cross-platform python windows bsd cli readline-replacement interactive-prompts syntax-highlighting key-bindings full-screen-apps autocompletion command-line linux macos
2 sources
- readme: https://github.com/prompt-toolkit/python-prompt-toolkit · fetched 2026-08-28 · 685f55f124bf
- homepage: https://python-prompt-toolkit.readthedocs.io/ · fetched 2026-08-29 · f655c78991c8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| prompt-toolkit/python-prompt-toolkit | main | 87 |
For agents
markdown · JSON · MCP: product_card(name="prompt-toolkit/python-prompt-toolkit")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem