python-prompt-toolkit

Library for building powerful interactive command line applications in Python (by prompt-toolkit)

Python-prompt-toolkit Alternatives

Similar projects and alternatives to python-prompt-toolkit

  1. thefuck

    Magnificent app which corrects your previous console command.

  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. fd

    A simple, fast and user-friendly alternative to 'find'

  4. textual

    Lean TUI application framework for Python. Build sophisticated terminal user interfaces with a simple Python API. Run your apps in the terminal and a web browser.

  5. rich

    Rich is a Python library for rich text and beautiful formatting in the terminal.

  6. notcurses

    blingful character graphics/TUI library. definitely not curses.

  7. typer

    Typer, build great CLIs. Easy to code. Based on Python type hints.

  8. pkg

    96 python-prompt-toolkit VS pkg

    Discontinued Package your Node.js project into an executable

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. llm

    Access large language models from the command-line

  11. Warp

    Warp is the agentic development environment, built for coding with multiple AI agents.

  12. pytermgui

    Python TUI framework with mouse support, modular widget system, customizable and rapid terminal markup language and more!

  13. Loguru

    Python logging made (stupidly) simple

  14. Turbo Vision

    A modern port of Turbo Vision 2.0, the classical framework for text-based user interfaces. Now cross-platform and with Unicode support.

  15. FINAL CUT

    The modern text-based widget toolkit.

  16. blessed

    A high-level terminal interface library for node.js.

  17. urwid

    Console user interface library for Python (official repo)

  18. jellex

    TUI to filter JSON and JSON Lines data with Python syntax

  19. click

    Python composable command line interface toolkit

  20. termbox

    Library for writing text-based user interfaces

  21. asciimatics

    A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations

  22. colorama

    Simple cross-platform colored terminal text in Python

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better python-prompt-toolkit alternative or higher similarity.

python-prompt-toolkit discussion

Log in or Post with

python-prompt-toolkit reviews and mentions

Posts with mentions or reviews of python-prompt-toolkit. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-02-09.
  • Some Terminal Frustrations
    21 projects | news.ycombinator.com | 9 Feb 2025
  • Is there a library that can give python-prompt-toolkit like completion for TUI?
    2 projects | /r/rust | 9 Apr 2023
    Ref. https://github.com/prompt-toolkit/python-prompt-toolkit and https://github.com/c-bata/go-prompt ?
  • Show HN: Replbuilder, quickly build a Python REPL CLI prompt
    5 projects | news.ycombinator.com | 19 Feb 2023
    > The purpose is not to do this however, the goal for a repl cli is usually to invoke a set of particular, already implemented commands, not on the fly python input and output. The implementation will be predefined and packaged, repl are only used to run a list of specific commands with arguments that implementation has already defined.

    That's a very strange definition for a REPL, I would just call that an (interactive) CLI. Maybe that's why you couldn't find anything when you were doing your search? I used python-prompt-toolkit [0] when building such interfaces. pgcli [1] is an example of such an interface built with prompt-toolkit.

    It has a lot of nice autocomplete and readline emulation options. Maybe it's something you can integrate with your project.

    [0] https://github.com/prompt-toolkit/python-prompt-toolkit

    [1] https://www.pgcli.com/

  • TUI library with Sixel support?
    3 projects | /r/learnpython | 27 Nov 2022
    Euporie uses prompt_toolkit as its TUI library. prompt_toolkit does not specifically support terminal graphics, but I've written various of custom components and modifications to enable images to be displayed using terminal graphics.
  • Why is the terminal input so weird?
    7 projects | news.ycombinator.com | 16 Nov 2022
    That bothered me too, the default function for Ctrl-W in ipython is unix-word-rubout from python-prompt-toolkit [1], which uses spaces for word boundaries. You can rebind it to backward-kill-word so it uses "not a letter nor a digit" as a word boundary.

    Here's a gist with my config (also binds shift-left/right arrow to move to previous space instead of visual select): https://gist.github.com/fratajczak/64e32421a43d3b8194d0409ce...

    [1]: https://github.com/prompt-toolkit/python-prompt-toolkit/blob...

  • Is there a library for creating interactive long running terminal applications?
    4 projects | /r/learnpython | 26 Mar 2022
  • improved repl for lua?
    8 projects | /r/lua | 28 Feb 2022
    When coding in python I've used ptpython repl based on prompt-toolkit which has been used in numerous CLI programs https://github.com/prompt-toolkit/python-prompt-toolkit/blob/master/PROJECTS.rst. I've also used mycli from that page. I've really enjoyed the UX of these. In addition to the syntax highlighting, auto/tab completions, (and maybe other enjoyable features) the vi-mode is amazingly helpful (for us vi folks) (it's probably got emacs bindings too). I would love to have all of this in a repl for lua.
  • A simple tui to launch gzdoom mods
    2 projects | /r/commandline | 14 Feb 2022
    That's an interesting approach. I was also thinking of using a more sophisticated framework than whiptail, maybe the PromptToolkit. I guess it then would be more similar to the idea of using a text editor. I certainly do think a TUI may be overkill yet it was also a good excuse to practice some bash scripting for me.
  • How to create terminal GUI?
    6 projects | /r/bash | 9 Feb 2022
  • Rich is a Python library for rich text and beautiful formatting in the terminal
    16 projects | news.ycombinator.com | 15 Jan 2022
    Try prompt_toolkit which is a Python library used by IPython among others: https://github.com/prompt-toolkit/python-prompt-toolkit
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 7 Jul 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Stats

Basic python-prompt-toolkit repo stats
22
9,801
7.0
4 days ago

Sponsored
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io

Did you know that Python is
the 2nd most popular programming language
based on number of references?