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
Metadata
Release files for KodegeekTextualize 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| KodegeekTextualize-0.0.5.tar.gz | 27.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| KodegeekTextualize-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 56.5 kB
Release files / KodegeekTextualize-0.0.5.tar.gz
| Download URL | KodegeekTextualize-0.0.5.tar.gz |
|---|---|
| Size | 27.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d89de3591f54d6599196c9f2820150866ed9dd6d78fa5b960a420e6864d9e88f
|
|
BLAKE2b-256 checksum How to use checksums |
5b15e4d8fae782c1f6c3648a9adf97e5346361b1dd6fb6411196f10961aff30a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Release files / KodegeekTextualize-0.0.5-py3-none-any.whl
| Download URL | KodegeekTextualize-0.0.5-py3-none-any.whl |
|---|---|
| Size | 29.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
394cebe1c22b10216b3c849deefcb08466a1f73ad344940f98929816865414cf
|
|
BLAKE2b-256 checksum How to use checksums |
c086ab5023ad422bd5ec0c85e6dc2dfc08c92c5d4acd2716a711c261180839fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|