awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
prompt-toolkit avatar

prompt-toolkit/ptpython

0
View on GitHub↗
5,439 stars·291 forks·Python·BSD-3-Clause·4 vues

Ptpython

ptpython est un REPL Python interactif amélioré et une console asynchrone construite sur la bibliothèque prompt-toolkit. Il fournit une interface en ligne de commande personnalisable pour exécuter du code Python avec un support pour l'édition multiligne, l'autocomplétion et la coloration syntaxique.

L'environnement supporte les instructions await au niveau supérieur et l'exécution asynchrone via une boucle d'événements intégrée. Il permet une personnalisation étendue de l'interface, incluant des raccourcis clavier configurables pour la navigation Vi ou Emacs et des jeux de couleurs personnalisés.

Le shell inclut des capacités pour la validation syntaxique en temps réel et l'exécution de commandes shell système sans quitter la session. Il peut être intégré en tant que REPL embarqué au sein d'autres applications ou utilisé pour envelopper des shells externes afin de fournir des fonctions magiques supplémentaires.

Features

  • Python Development Tools - Provides an enhanced interactive environment for writing and testing Python code with syntax highlighting and autocompletion.
  • Code Snippet Execution - Provides a command-line interface for executing Python code snippets with syntax highlighting, autocompletion, and multiline editing.
  • Customizable Development Environments - Provides a shell interface that allows users to tailor keybindings and visual themes to their specific workflow.
  • Asynchronous REPLs - Supports an interactive environment for executing asynchronous Python code with top-level await statements.
  • Interactive REPLs - Functions as an enhanced interactive REPL for executing Python code with multiline editing and real-time inspection.
  • REPL Configuration - Offers extensive customization of REPL settings, including color schemes and keyboard navigation bindings.
  • Terminal Interface Toolkits - Built on the prompt-toolkit library to deliver advanced text editing and keyboard navigation within the terminal.
  • Top-Level Await Support - Supports top-level await statements by integrating an asynchronous event loop directly into the interactive session.
  • Asynchronous Event Loops - Integrates an asynchronous event loop to support top-level await and non-blocking operations within the interactive session.
  • Real-time Input Validation - Implements real-time syntax validation that highlights errors with cursor warnings before code is executed.
  • Rapid Prototyping Environments - Provides a workspace optimized for quickly iterating on Python code snippets and system commands.
  • Shell Command Execution - Allows the execution of operating system shell commands directly from the interactive Python prompt.
  • Configurable Input Bindings - Maps keyboard events to specific editing modes like Vi or Emacs via a customizable binding system.
  • Configurable Editing Modes - Provides configurable key bindings and navigation modes for compatibility with Vi and Emacs.
  • Shell Process Wrapping - Encapsulates system shell processes to integrate advanced command-line capabilities and magic functions into the REPL.
  • Embedded Interactive Shells - Integrates a full interactive shell environment into other running applications as a primary input interface.
  • Object Representation Customization - Implements specialized formatting and color schemes for printing different Python object types for improved readability.
  • System Shell Integrations - Integrates external shell capabilities, such as IPython's magic functions, within the language runtime environment.
  • Visual Style Customization - Allows users to personalize the shell interface using custom color schemes and background themes.
  • Real-Time Syntax Validation - Provides real-time visual feedback and error highlighting for syntax mistakes as the user types in the shell.
  • Interactive Interpreters - Advanced REPL built on a powerful terminal toolkit.
  • Programming Tools - Python REPL with configurable Vi mode.

Historique des stars

Graphique de l'historique des stars pour prompt-toolkit/ptpythonGraphique de l'historique des stars pour prompt-toolkit/ptpython

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Ptpython

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Ptpython.
  • jonathanslenders/ptpythonAvatar de jonathanslenders

    jonathanslenders/ptpython

    5,439Voir sur GitHub↗

    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 automa

    Python
    Voir sur GitHub↗5,439
  • bobthecow/psyshAvatar de bobthecow

    bobthecow/psysh

    9,829Voir sur GitHub↗

    PsySH is an interactive read-eval-print loop and shell environment for PHP. It functions as a runtime debugger and application inspector, allowing for the execution of PHP code in real-time to experiment with snippets and inspect live application state. The project is distinguished by its ability to be embedded directly into running PHP applications for live troubleshooting. It provides specialized tools for state manipulation, including the ability to bypass visibility restrictions to inspect private or protected object members and the capacity to reload code without restarting the session.

    PHPcliphppsysh
    Voir sur GitHub↗9,829
  • ipython/ipythonAvatar de ipython

    ipython/ipython

    16,718Voir sur 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
    Voir sur GitHub↗16,718
  • charmbracelet/freezeAvatar de charmbracelet

    charmbracelet/freeze

    4,682Voir sur GitHub↗

    Freeze is a code-to-image generator and terminal output renderer that converts source code and ANSI terminal text into high-quality images. It functions as a command-line tool that transforms text and styled sequences into scalable vector graphics for use in documentation and presentations. The tool differentiates itself by capturing raw output from shell commands via a pseudo-terminal environment and translating ANSI escape codes and colors directly into SVG styles. It features a terminal user interface for real-time parameter adjustment and supports configuration profiles to maintain consis

    Go
    Voir sur GitHub↗4,682
Voir les 30 alternatives à Ptpython→

Questions fréquentes

Que fait prompt-toolkit/ptpython ?

ptpython est un REPL Python interactif amélioré et une console asynchrone construite sur la bibliothèque prompt-toolkit. Il fournit une interface en ligne de commande personnalisable pour exécuter du code Python avec un support pour l'édition multiligne, l'autocomplétion et la coloration syntaxique.

Quelles sont les fonctionnalités principales de prompt-toolkit/ptpython ?

Les fonctionnalités principales de prompt-toolkit/ptpython sont : Python Development Tools, Code Snippet Execution, Customizable Development Environments, Asynchronous REPLs, Interactive REPLs, REPL Configuration, Terminal Interface Toolkits, Top-Level Await Support.

Quelles sont les alternatives open-source à prompt-toolkit/ptpython ?

Les alternatives open-source à prompt-toolkit/ptpython incluent : jonathanslenders/ptpython — ptpython is a programmable Python interactive shell and development console. It functions as an enhanced REPL for… bobthecow/psysh — PsySH is an interactive read-eval-print loop and shell environment for PHP. It functions as a runtime debugger and… ipython/ipython — IPython is an interactive computing environment and programmable extension of the Python read-eval-print loop. It… charmbracelet/freeze — Freeze is a code-to-image generator and terminal output renderer that converts source code and ANSI terminal text into… janet-lang/janet — Janet is a Lisp-based dynamic programming language featuring a register-based bytecode virtual machine and an… crazyguitar/pysheeet — pysheeet is a technical reference library providing a curated collection of code snippets and implementation patterns…