prompt-toolkit/ptpython
A better Python REPL observed · 2026-08-28
Health v2 · maintenance only
55/100
- Activity 53
- Release rhythm 33
- 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: 109.5
- age_days: 4356
- days_rel: 286
- days_push: 285
- n_releases_24m: 3
Adoption not part of the score
5450 stars · 292 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
ptpython is an advanced Python REPL built on top of prompt_toolkit, offering syntax highlighting, multiline editing, autocompletion, and Vi/Emacs key bindings. It is a cross-platform drop-in replacement for the standard Python interactive shell.
Use cases
- a better Python REPL with syntax highlighting
- interactive Python shell with autocompletion
- multiline editing in the Python interpreter
- REPL with vi or emacs key bindings
- test Python snippets interactively in the terminal
- REPL with top-level asyncio await support
When to choose
- you spend significant time in the Python interactive shell and want autocomplete, syntax highlighting, and multiline editing
- you want vi or emacs key bindings and color schemes in your REPL
- you need a cross-platform REPL that works on Linux, macOS, Windows, and BSD
When to avoid
- you prefer IPython's rich ecosystem of magics, notebooks, and introspection features
- you need a GUI or notebook-style interface rather than a terminal REPL
- you are on a very old Python version unsupported by current releases
Facets
cli-tool · maturity active
cli developer-tools editor developer-tools programming-languages windows bsd cli python cross-platform python-repl interactive-shell syntax-highlighting autocompletion prompt-toolkit vi-keybindings emacs-keybindings command-line linux macos
2 sources
- readme: https://github.com/prompt-toolkit/ptpython · fetched 2026-08-28 · f0dd68b06b24
- registry_pypi: https://pypi.org/pypi/ptpython/json · fetched 2026-08-29 · c8f37f45ac71
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| prompt-toolkit/ptpython | main | 55 |
For agents
markdown · JSON · MCP: product_card(name="prompt-toolkit/ptpython")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem