py-vision-free
A text-mode UI toolkit for Python: windows, dialogs, menus, a status line and input widgets in the terminal. Standard library only, Python 3.12 or newer, on Windows, Linux and macOS.
Inspired by Borland Turbo Vision; used by rex for its terminal UI.
Install
pip install py-vision-free
The import name is py_vision_free.
A first program
from py_vision_free import Application, Command, Rect
from py_vision_free.platform import open_terminal
from py_vision_free.widgets import StaticText, StatusItem, StatusLine
from py_vision_free.window import Window
class Hello(Application):
def setup(self) -> None:
w, h = self.screen.width, self.screen.height
self.set_status_line(StatusLine(Rect(0, h - 1, w, h), [
StatusItem("~Alt-X~ Exit", "Alt+X", Command.QUIT),
]))
win = Window(Rect(10, 3, 50, 10), "Hello")
win.insert(StaticText(Rect(2, 1, 36, 4), "Hello, terminal!", role="window"))
self.desktop.insert(win)
Hello(open_terminal()).run()
Alt-X quits. The examples/ folder has hello.py, mmenu.py, palette.py and
tvdemo/, small programs in the shape of the demos that come with Turbo Vision.
Links
- User guide and API reference
- NOTICE
- License (MIT)
- Upstream C++ Turbo Vision: magiblot/tvision
Metadata
Release files for py-vision-free 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| py_vision_free-1.0.0.tar.gz | 180.4 kB | With provenance | Details for py_vision_free-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py_vision_free-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for py_vision_free-1.0.0-py3-none-any.whl |
Total release size: 393.2 kB
Release files / py_vision_free-1.0.0.tar.gz
| Download URL | py_vision_free-1.0.0.tar.gz |
|---|---|
| Size | 180.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bd5182fe39d18c1783621e3a99248030ea414a1df5d41e22e25578e718953aca
|
|
BLAKE2b-256 checksum How to use checksums |
f72a4b4d27fe83b0bcaa22e8280af484e7d436220943aad7b2411a87db3c9209
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Transparency logRelease files / py_vision_free-1.0.0-py3-none-any.whl
| Download URL | py_vision_free-1.0.0-py3-none-any.whl |
|---|---|
| Size | 212.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a366c54099c9a0728707aed4b55b77d28f95a7de513867cbdae8669ea59aee37
|
|
BLAKE2b-256 checksum How to use checksums |
58e68ebcc5954f54d42daedad4260f8cb831a1efe0e879a4206d803e85e7a718
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Transparency logSecurity for py-vision-free 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for py_vision_free-1.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.