prompt_toolkit: Interactive command lines for Python - Packages and Features

Skip to content
Back to top
View this page
Edit this page

# prompt_toolkit: Interactive command lines for Python

## Description

Library for building powerful interactive command lines in Python

https://pypi.python.org/pypi/prompt_toolkit

## Type

standard

## Dependencies

- $(PYTHON)

- $(PYTHON_TOOLCHAIN)

- six: Python 2 and 3 compatibility utilities

- wcwidth: Measures the displayed width of unicode strings in a terminal

## Version Information

package-version.txt:

    3.0.52

version_requirements.txt:

    prompt_toolkit >=3.0.43

## Equivalent System Packages

Arch Linux

    $ sudo pacman -S python-prompt_toolkit

conda-forge

    $ conda install 'prompt_toolkit>=3.0.38'

Debian/Ubuntu

    $ sudo apt-get install prompt-toolkit

Fedora/Redhat/CentOS

    $ sudo dnf install python3-prompt-toolkit

FreeBSD

    $ sudo pkg install devel/py-prompt_toolkit

Gentoo Linux

    $ sudo emerge dev-python/prompt-toolkit

MacPorts

    $ sudo port install py-prompt_toolkit

openSUSE

    $ sudo zypper install 'python3${PYTHON_MINOR}-prompt_toolkit'

Void Linux

    $ sudo xbps-install python3-prompt_toolkit

See https://repology.org/project/python:prompt-toolkit/versions

If the system package is installed and if the (experimental) option `--enable-system-site-packages` is passed to `./configure`, then `./configure` will check if the system package can be used.