Collection of scripts that show how to use several features of textualize
Reason this release was yanked:
Bad release
Project description
Textualize
This is my collection of small, self-contained applications that use Textualize to demonstrate features.
You must create a virtual environment in order to run the examples:
python3 -m venv ~/virtualenv/Textualize
. ~/virtualenv/Textualize/bin/activate
pip install --upgrade pip
pip install --upgrade wheel
pip install --upgrade build
pip install --editable .
Code may work with Python 3.8, but I used Python 3.10 while writing the code.
Table with detail screen
Shows a table, with sortable columns. When you click in a row, you get more details.
To run:
# Terminal 1
. ~/virtualenv/Textualize/bin/activate
textual console
Then from another terminal:
# Terminal 2
. ~/virtualenv/Textualize/bin/activate
textual run --dev --command kodegeek_textualize/table_with_detail_screen.py
Log details from an external Linux command
This example runs an external command and uses async and workers to display the output on near realtime back to the GUI
. ~/virtualenv/Textualize/bin/activate
textual run --dev --command kodegeek_textualize/log_scroller.py
Building
If you want to build and install from the wheel project just do this:
. ~/virtualenv/Textualize/bin/activate
python -m build
pip install dist/KodegeekTextualize-*-py3-none-any.whl
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
Built Distribution
Hashes for KodegeekTextualize-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06ba1f7ff2f87e5f23e3f3399b5de9fb17fc58e4c66e732f5941fcdf586e9bac |
|
MD5 | 096622b6176108db1436f0f2e4f934f7 |
|
BLAKE2b-256 | 17c5a79cb664711594fcbcb5c5830cc2651d973aeae51de897de3cf8d0abf84f |