A Python library for creating Terminal User Interfaces using curses
Reason this release was yanked:
outdated
Project description
number selector
from tuilib import tui
def main(stdscr):
num:int = tui.number_selector(stdscr,0,0,10) #starts at 0, minimum 0, maximum 10
tui.func_exit(stdscr)
print(num)
tui.main(main)
list selector
from tuilib import tui
def main(stdscr):
options = ["banana","fruit","cherry","apple"]
choice = tui.list_selector(stdscr,options)
tui.func_exit(stdscr)
print("you chose",choice)
tui.main(main)
real time input
dosn't work, too lazy to fix
stdscr functions
same as the curses library
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tuilib-1.0.1.0.tar.gz
(2.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tuilib-1.0.1.0.tar.gz.
File metadata
- Download URL: tuilib-1.0.1.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afa8870fbb72a4600eafe6a5268ba82aa0a60a95428d84b979e62262a021809b
|
|
| MD5 |
5bbba79ed3ff1df80bfda6c5bd0f37af
|
|
| BLAKE2b-256 |
44bb1616dd719e72da2efa3fc2999470560303ffec45aeeb3f74dddaaf0de637
|
File details
Details for the file tuilib-1.0.1.0-py3-none-any.whl.
File metadata
- Download URL: tuilib-1.0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
608afc706446fe903412551b47759b8803489c7446003d63ff468a7eb8172d09
|
|
| MD5 |
d3c6355891758da0d0ec0c43484bb0d3
|
|
| BLAKE2b-256 |
6fa648f4bc767a8f368eec23b60d96219dd8c81609741a2037b18d023549160e
|