Pseudo terminal support for Windows from Python.
Maintained. Last release 5 weeks ago, commits in 3 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install pywinptyPyWinpty: Pseudoterminals for Windows in Python
Copyright © 2017–2022 Spyder Project Contributors Copyright © 2022– Edgar Andrés Margffoy Tuay
Overview
PyWinpty allows creating and communicating with Windows processes that receive input and print outputs via console input and output pipes. PyWinpty supports both the native ConPTY interface and the previous, fallback winpty library.
Dependencies
To compile pywinpty sources, you must have Rust installed. Optionally, you can also have Winpty's C header and library files available on your include path.
Installation
You can install this library by using conda or pip package managers, as it follows:
Using conda (Recommended):
conda install pywinpty
Using pip:
pip install pywinpty
Building from source
To build from sources, you will require both a working stable or nightly Rust toolchain with
target x86_64-pc-windows-msvc, which can be installed using .