Skip to main content

Renamed fork of v2.0 prompt-toolkit

Project description

This package is simply a renamed version of the v2.0 branch of the [prompt_toolkit](https://github.com/prompt-toolkit/python-prompt-toolkit/tree/2.0) package. The intent here is that you can install prompt_toolkit and prompt_toolkit2 into the same venv/interpreter at the same time. You can then stay on v2 by renaming all your import prompt_toolkit imports to import prompt_toolkit2.

Note that it is almost certainly impossible to pass objects between v2 and v3 branches of prompt_toolkit so don’t try using this to make some sort of hybrid use of the libraries. I haven’t tested importing prompt_toolkit v3 and prompt_toolkit2 into the same process but I don’t know why you would want to do that in the first place. They probably won’t interfere with each other though so if you have to import both in the same interpreter it might work ok.

The source code is unchanged from the v2 branch aside from the mechanical renaming. There were two unreleased bug fixes from 2019 in the branch so maybe that’ll help you out a bit. I don’t think anyone expects more maintenance work done on the v2 branch of prompt_toolkit so this is probably going to be the last release of prompt_toolkit2. Tests are passing in Python 2 and Python 3.9+ interpreters.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

prompt_toolkit2-2.0.11.tar.gz (350.9 kB view hashes)

Uploaded Source

Built Distribution

prompt_toolkit2-2.0.11-py3-none-any.whl (337.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page