awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
jonathanslenders avatar

jonathanslenders/ptpython

0
View on GitHub↗
5,439 星标·291 分支·Python·BSD-3-Clause·8 次浏览

Ptpython

ptpython is a programmable Python interactive shell and development console. It functions as an enhanced REPL for executing Python code and managing runtime state, featuring support for an asynchronous event loop that allows for top-level await statements.

The environment is highly customizable, offering pluggable keybinding schemes and adjustable interface appearances. It provides a programmable interface that can be embedded into other applications to facilitate runtime debugging and live state inspection.

The shell includes a suite of developer tools for interactive coding, such as automatic code completion, multiline editing, and real-time syntax highlighting. It also allows for the execution of system shell commands directly from the prompt.

Features

  • Interactive Code Block Execution - Provides an enhanced interactive REPL for executing and testing Python code with advanced editor features.
  • Python Development Tools - Functions as a specialized development environment and console for testing Python logic and managing runtime state.
  • Code Completion - Provides automatic code completion for variables, functions, and modules during interactive typing.
  • Multiline Input Support - Supports multiline input, allowing users to compose and edit complex code blocks before execution.
  • Asynchronous REPLs - Supports an asynchronous event loop enabling the use of top-level await statements during interactive sessions.
  • Code Prototyping - Facilitates rapid prototyping of asynchronous Python logic through top-level await support in a REPL.
  • Interactive REPLs - Provides an enhanced read-eval-print loop with multiline editing and real-time syntax highlighting for Python code.
  • Asynchronous Event Loops - Implements an asynchronous event loop to enable the use of top-level await statements within the interactive shell.
  • Programmable Shells - Implements a programmable shell that allows for deep integration and customization within the Python runtime.
  • Runtime State Namespaces - Manages a persistent runtime namespace to maintain variable and module state across multiple interactive sessions.
  • Interactive Async Execution - Provides an event loop that supports top-level await statements for interactive asynchronous prototyping.
  • Application Debugging - Enables runtime debugging by embedding a programmable console into a running application to inspect state.
  • Customizable Development Environments - Provides a highly customizable shell environment with tailored keybindings and visual themes.
  • Terminal Prompt Libraries - Integrates the prompt-toolkit library to handle terminal user interface elements, keyboard shortcuts, and input buffering.
  • Keybinding Presets - Supports pluggable keybinding presets that allow users to switch between different editor behavior schemes.
  • Rapid Prototyping Environments - Provides a high-performance environment for writing and validating multiline Python logic before committing it to scripts.
  • Syntax Validation - Validates Python syntax before execution and highlights the exact location of errors.
  • Modal Key Bindings - Offers configurable keyboard shortcuts, including support for modal key bindings to improve navigation speed.
  • Application-Context REPL Shells - Allows the programmable console to be embedded into other applications for live state inspection and debugging.
  • Text Buffer Management - Maintains a mutable text buffer that supports multiline editing and cursor navigation before code execution.
  • Syntax Highlighters - Provides real-time syntax highlighting for Python code by parsing the input buffer.
  • Interactive Interpreters - Advanced interactive Python shell with syntax highlighting.

Star 历史

jonathanslenders/ptpython 的 Star 历史图表jonathanslenders/ptpython 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

jonathanslenders/ptpython 是做什么的?

ptpython is a programmable Python interactive shell and development console. It functions as an enhanced REPL for executing Python code and managing runtime state, featuring support for an asynchronous event loop that allows for top-level await statements.

jonathanslenders/ptpython 的主要功能有哪些?

jonathanslenders/ptpython 的主要功能包括:Interactive Code Block Execution, Python Development Tools, Code Completion, Multiline Input Support, Asynchronous REPLs, Code Prototyping, Interactive REPLs, Asynchronous Event Loops。

jonathanslenders/ptpython 有哪些开源替代品?

jonathanslenders/ptpython 的开源替代品包括: prompt-toolkit/ptpython — ptpython is an enhanced interactive Python REPL and asynchronous console built on the prompt-toolkit library. It… ipython/ipython — IPython is an interactive computing environment and programmable extension of the Python read-eval-print loop. It… pry/pry — Pry is a programmable Ruby shell, REPL console, and runtime developer environment. It serves as a debugging toolkit… x-motemen/gore — gore is an interactive shell and read-eval-print loop for the Go language. It serves as a prototyping tool that allows… prompt-toolkit/python-prompt-toolkit — This project is a Python terminal user interface library and toolkit designed for building interactive command-line… jupyter/notebook — This project is a browser-based interactive computing environment and data science IDE. It serves as a literate…

Ptpython 的开源替代方案

相似的开源项目,按与 Ptpython 的功能重合度排序。
  • prompt-toolkit/ptpythonprompt-toolkit 的头像

    prompt-toolkit/ptpython

    5,439在 GitHub 上查看↗

    ptpython is an enhanced interactive Python REPL and asynchronous console built on the prompt-toolkit library. It provides a customizable command-line interface for executing Python code with support for multiline editing, autocompletion, and syntax highlighting. The environment supports top-level await statements and asynchronous execution via an integrated event loop. It allows for extensive interface customization, including configurable key bindings for Vi or Emacs navigation and personalized color schemes. The shell includes capabilities for real-time syntax validation and the execution

    Python
    在 GitHub 上查看↗5,439
  • ipython/ipythonipython 的头像

    ipython/ipython

    16,718在 GitHub 上查看↗

    IPython is an interactive computing environment and programmable extension of the Python read-eval-print loop. It serves as a development tool for writing, testing, and executing code in a live environment designed for rapid prototyping and data exploration. The system differentiates itself through a specialized set of magic commands for environment configuration and system shell integration. It features an object introspection engine for analyzing live program objects at runtime and a frontend-agnostic kernel that allows the execution logic to be embedded into other applications or graphical

    Python
    在 GitHub 上查看↗16,718
  • pry/prypry 的头像

    pry/pry

    6,832在 GitHub 上查看↗

    Pry is a programmable Ruby shell, REPL console, and runtime developer environment. It serves as a debugging toolkit for inspecting object state, navigating bindings, and evaluating code within a running Ruby program. The project differentiates itself through advanced introspection and live iteration capabilities. It allows users to inject an interactive console into a running program at specific points to inspect local state and navigate different object scopes. It further enables live code iteration by integrating with external system editors to modify and reload method definitions without r

    Ruby
    在 GitHub 上查看↗6,832
  • x-motemen/gorex-motemen 的头像

    x-motemen/gore

    5,472在 GitHub 上查看↗

    gore is an interactive shell and read-eval-print loop for the Go language. It serves as a prototyping tool that allows for the evaluation of expressions, statements, and function declarations in a terminal-based interface without requiring a full build cycle. The project integrates as a language server client to provide intelligent code completion, real-time code suggestions, and automatic package import resolution. It further distinguishes itself by generating temporary module files to resolve dependencies and automatically importing remote repositories during a session. The tool includes c

    Go
    在 GitHub 上查看↗5,472
  • 查看 Ptpython 的所有 30 个替代方案→