ptpython
« Back to VersTracker
Description:
Advanced Python REPL
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: python repl shell development prompt-toolkit
Install: brew install ptpython
About:
Ptpython is an advanced interactive Python REPL built on top of the prompt_toolkit library. It provides features like syntax highlighting, auto-completion, and multi-line editing for a more efficient coding experience. It serves as a powerful drop-in replacement for the standard Python shell.
Key Features:
  • Syntax highlighting
  • Auto-completion
  • Multi-line editing
  • Paste mode support
  • Interactive history browsing
Use Cases:
  • Interactive Python development and debugging
  • Running quick experiments and scripts
  • Learning Python with visual feedback
Alternatives:
  • IPython – IPython is a full-featured interactive computing environment, while ptpython focuses on being a lightweight, high-quality REPL.
  • bpython – bpython is another advanced REPL, but ptpython is built on prompt_toolkit, offering superior line editing and cross-platform support.
Version History
Detected Version Rev Change Commit
Oct 9, 2024 8:23pm 0 VERSION_BUMP ba425f88