Search

Suggested keywords:
  • Java
  • Docker
  • Git
  • React
  • NextJs
  • Spring boot
  • Laravel

Python Prompt Toolkit - Library for building powerful interactive command lines in Python

  • Share this:
prompt_toolkit is a library for building powerful interactive command lines and terminal applications in Python. ptpython is an interactive Python Shell, build on top of prompt_toolkit. prompt_toolkit could be a replacement for GNU readline, but it can be much more than that.
  • Pure Python.
  • Syntax highlighting of the input while typing. (For instance, with a Pygments lexer.)
  • Multi-line input editing.
  • Advanced code completion.
  • Both Emacs and Vi key bindings. (Similar to readline.)
  • Even some advanced Vi functionality, like named registers and digraphs.
  • Reverse and forward incremental search.
  • Runs on all Python versions from 2.6 up to 3.5.
  • Works well with Unicode double width characters. (Chinese input.)
  • Selecting text for copy/paste. (Both Emacs and Vi style.)
  • Support for bracketed paste.
  • Mouse support for cursor positioning and scrolling.
  • Auto suggestions. (Like fish shell.)
  • Multiple input buffers.
  • No global state.
  • Lightweight, the only dependencies are Pygments, six and wcwidth.
https://github.com/jonathanslenders/python-prompt-toolkit
License:
Tech: