{"categories":[{"label":"Terminals","url":"https://skillfed.io/packages/category/terminals"}],"enrichment":{"capability":"ptpython is an advanced interactive Python shell that replaces the standard REPL with syntax highlighting, multiline editing, autocompletion, and configurable key bindings.","skillfed_tags":["repl","interactive-shell","developer-tools"],"use_cases":["Replace your default Python REPL with a more productive interactive shell for daily development and exploration.","Embed ptpython in a Python application to provide users with an advanced debugging or inspection interface.","Use ptipython to get IPython's magic functions and shell integration alongside ptpython's UI enhancements.","Configure Vi or Emacs key bindings to match your editor workflow in the interactive shell.","Debug asyncio code interactively with top-level await support via the --asyncio flag."],"what_it_does":"ptpython is a drop-in replacement for the standard Python REPL that adds modern terminal features: syntax highlighting via pygments, multiline editing with proper indentation handling, intelligent autocompletion through jedi, and support for both Vi and Emacs key bindings. It runs on Linux, BSD, macOS, and Windows, and can be invoked as a standalone command or embedded directly into Python applications.\n\nThe package depends on prompt_toolkit for terminal UI, pygments for syntax coloring, jedi for code completion, and appdirs for platform-aware configuration file discovery. It supports asyncio event loops for top-level await, custom color schemes, mouse input, and bracketed paste mode. You can customize behavior through a config.py file or command-line flags, and it integrates with IPython (via ptipython) and Django's shell_plus command.","worth_installing":"Yes. ptpython is a mature, well-maintained tool with low install friction and no known vulnerabilities. The aging maintenance status (267 days since last release) is not alarming given the active repository and stable feature set. Install it if you spend significant time in the Python REPL and want syntax highlighting, autocompletion, and better editing\u2014it's a straightforward quality-of-life upgrade."},"id":"ptpython","links":{"html":"https://skillfed.io/packages/ptpython","md":"https://skillfed.io/packages/ptpython.md","pypi":"https://pypi.org/project/ptpython/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-11-20","license_spdx":null,"license_treatment":"permissive","name":"ptpython","python_support":"supports_current","summary":"Python REPL build on top of prompt_toolkit"},"popularity":{"monthly_downloads":1768201,"position":3575,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"3.0.32"}
