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

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 2023-04-09.
  • Is there a library that can give python-prompt-toolkit like completion for TUI?
    2 projects | /r/rust | 9 Apr 2023
    Ref. and ?
  • Show HN: Replbuilder, quickly build a Python REPL CLI prompt
    5 projects | | 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.



  • 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 | | 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):


  • 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 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 | | 15 Jan 2022
    Try prompt_toolkit which is a Python library used by IPython among others:
  • python-prompt-toolkit VS python-sploitkit - a user suggested alternative
    2 projects | 15 Jan 2022
  • A note from our sponsor - SaaSHub | 20 Jul 2024
    SaaSHub helps you find the best software and product alternatives Learn more →


Basic python-prompt-toolkit repo stats
8 days ago

Free Django app performance insights with Scout Monitoring
Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in is all you need to start monitoring your apps. Sign up for our free tier today.