awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
prompt-toolkit avatar

prompt-toolkit/python-prompt-toolkit

0
View on GitHub↗
10,498 stars·793 forks·Python·BSD-3-Clause·21 viewspython-prompt-toolkit.readthedocs.io↗

Python Prompt Toolkit

This project is a Python terminal user interface library and toolkit designed for building interactive command-line applications. It provides a terminal input manager and a widget toolkit for rendering dashboards, menus, and editors within a terminal emulator.

The library enables the creation of full-screen terminal interfaces and interactive shells. It distinguishes itself with advanced input handling, including lexer-based syntax highlighting for visual feedback on code structure and support for industry-standard keyboard navigation modes such as Emacs and Vi.

The capability surface covers comprehensive input handling and user interface design. This includes multi-line editing, predictive ghost-text suggestions, auto-completion, and mouse-driven cursor control. It also provides tools for incremental input search and buffer management to track multiple input states.

Features

  • Interactive CLI Frameworks - Provides a comprehensive framework for building interactive terminal user interfaces with advanced input and layout management.
  • Advanced Prompt Inputs - Implements sophisticated text entry with syntax highlighting, auto-completion, and multi-line editing.
  • Custom Completion Providers - Provides a framework for defining custom dynamic command completion logic to accelerate user data entry.
  • Terminal Input Handlers - Manages raw keyboard and mouse events, cursor positioning, and autocomplete suggestions within the terminal.
  • Terminal Widget Toolkits - Provides a toolkit of reusable interface components like selection menus for keyboard-navigable terminal applications.
  • Event-Driven Input Handlers - Implements an asynchronous event loop to process raw terminal keystrokes and mouse events.
  • Text Buffer Management - Maintains independent text buffers to track input state separately from the terminal display logic.
  • Python TUI Libraries - Acts as a specialized library for building interactive command line applications with dynamic display updates in Python.
  • Syntax Highlighters - Provides lexer-based syntax highlighting to apply visual styles based on the grammatical structure of input text.
  • Syntax Highlighting - Uses lexers to provide real-time color-coded syntax highlighting for input text.
  • Terminal User Interfaces - Enables the creation of complex text-based dashboards and editors that occupy the entire terminal screen.
  • Full Screen TUI Layouts - Provides the capability to render complex terminal user interfaces that occupy the entire screen.
  • Layered Rendering Engines - Draws UI elements in overlapping tiers to manage complex layouts and full-screen terminal interfaces.
  • Incremental Search - Implements reverse and forward incremental search for navigating text patterns within the input buffer.
  • Incremental Searchers - Provides real-time character-by-character incremental search and navigation within the input buffer.
  • Custom Key Mappings - Implements custom keyboard shortcuts, including Emacs and Vi modes, for efficient text navigation.
  • Interactive Shells - Enables the development of interactive shells with read-eval-print loops for executing commands.
  • Multi-line Editing - Supports the composition and modification of text spanning multiple lines within interactive shells.
  • Modal Key Bindings - Maps keyboard shortcuts to specific actions using interchangeable modes like Emacs or Vi.
  • Input State Buffers - Provides independent text buffers to track input state separately from the terminal display logic.
  • Terminal Cursor Controllers - Enables mouse-driven cursor positioning and navigation using terminal escape sequences.
  • Keyboard Navigation - Integrates industry-standard keyboard shortcuts such as Emacs and Vi modes to improve editing efficiency.
  • Terminal Interface Design - Provides patterns and tools for designing structured, accessible user interfaces for command-line tools.
  • Predictive Text Inputs - Displays predictive ghost-text completions based on history or rules to anticipate user intent.
  • CLI Development - Enables building powerful interactive command-line applications.
  • Command Line Interface - Library for building interactive CLI applications.
  • Command Line Interfaces - Library for building interactive Python CLI applications.
  • Console Interfaces - Listed in the “Console Interfaces” section of the Awesome Go awesome list.
  • Python CLI Frameworks - Library for building powerful interactive CLI applications.
  • TUI Libraries - Interactive CLI library for Python.

Star history

Star history chart for prompt-toolkit/python-prompt-toolkitStar history chart for prompt-toolkit/python-prompt-toolkit

How this analysis was created: This summary and feature list were written by an AI model that read the project's README and public documentation pages. Each feature links to the documentation it came from; stars, license and language come straight from the GitHub API. The model does not read the source code, and the analysis is refreshed when the project is re-analysed. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Python Prompt Toolkit

Similar open-source projects, ranked by how many features they share with Python Prompt Toolkit.
  • jonathanslenders/python-prompt-toolkitjonathanslenders avatar

    jonathanslenders/python-prompt-toolkit

    10,498View on GitHub↗

    python-prompt-toolkit is a Python library and terminal user interface framework used for building interactive command line interfaces. It provides a toolkit for constructing complex terminal applications with advanced input handling and layout management. The project features a real-time syntax highlighting engine and a rendering system that ensures correct alignment and display of double-width Unicode characters. It includes specialized capabilities for command line autocompletion, providing ghost text suggestions and searchable input history. The framework covers a broad range of interface

    Python
    View on GitHub↗10,498
  • c-bata/go-promptc-bata avatar

    c-bata/go-prompt

    5,481View on GitHub↗

    go-prompt is a library for building interactive command-line interfaces in Go. It serves as a cross-platform console UI framework and terminal input manager, providing the tools necessary to capture user input and execute commands through a persistent interactive loop. The library features a dedicated auto-completion engine that provides real-time command suggestions. It also supports dynamic prompt prefixes updated via callback functions and a system for managing and recalling command history. The framework covers a broad range of terminal capabilities, including keyboard shortcut mapping,

    Goclicommand-lineinteractive
    View on GitHub↗5,481
  • jroimartin/gocuijroimartin avatar

    jroimartin/gocui

    10,575View on GitHub↗

    gocui is a console user interface library for the Go programming language. It provides a toolkit for building interactive terminal applications using a layout engine that organizes overlapping rectangular views and coordinates. The library features a terminal input handler to capture and map keyboard shortcuts and mouse events to specific application actions. It includes an ANSI escape sequence parser to manage text attributes, colors, and cursor positioning. The framework covers interface view management and overlapping window layering, allowing for a structured arrangement of content. Rend

    Gocuigogocui
    View on GitHub↗10,575
  • anomalyco/opentuianomalyco avatar

    anomalyco/opentui

    12,131View on GitHub↗

    Opentui is a terminal user interface framework for building interactive command line applications. It provides a component-based system featuring a flexbox layout engine, a virtual node component tree, and a low-level 2D cell array renderer. The project is distinguished by a sophisticated keyboard binding engine that maps complex multi-stroke sequences and chords to named commands using prioritized, reactive layers. It also implements a plugin architecture that allows external modules to inject custom UI components into designated layout slots and extend input logic at runtime. Its capabilit

    TypeScript
    View on GitHub↗12,131
See all 30 alternatives to Python Prompt Toolkit→

Frequently asked questions

What does prompt-toolkit/python-prompt-toolkit do?

This project is a Python terminal user interface library and toolkit designed for building interactive command-line applications. It provides a terminal input manager and a widget toolkit for rendering dashboards, menus, and editors within a terminal emulator.

What are the main features of prompt-toolkit/python-prompt-toolkit?

The main features of prompt-toolkit/python-prompt-toolkit are: Interactive CLI Frameworks, Advanced Prompt Inputs, Custom Completion Providers, Terminal Input Handlers, Terminal Widget Toolkits, Event-Driven Input Handlers, Text Buffer Management, Python TUI Libraries.

What are some open-source alternatives to prompt-toolkit/python-prompt-toolkit?

Open-source alternatives to prompt-toolkit/python-prompt-toolkit include: jonathanslenders/python-prompt-toolkit — python-prompt-toolkit is a Python library and terminal user interface framework used for building interactive command… c-bata/go-prompt — go-prompt is a library for building interactive command-line interfaces in Go. It serves as a cross-platform console… jroimartin/gocui — gocui is a console user interface library for the Go programming language. It provides a toolkit for building… anomalyco/opentui — Opentui is a terminal user interface framework for building interactive command line applications. It provides a… nsf/termbox-go — termbox-go is a Go terminal user interface library and cross-platform terminal emulator abstraction. It provides a… peterbrittain/asciimatics — Asciimatics is a cross-platform terminal user interface framework and console wrapper. It functions as a…