Textual-EnGlyph
A large font and image rendering widget for the Textual platform.
Requirements
For this to look good you will need a terminal emulator that supports Unicode and a font that has glyphs for the Symbols for Legacy Computing block defined by Unicode version 16.0.
Known terminals
- iTerm2 (OS X)
- xfce4-Terminal (Linux)
- Terminal (Windows)
- ...and many more.
Known terminal fonts
- Cascadia Code https://github.com/microsoft/cascadia-code/, v 2404.3 or later
- GNU Unifont http://savannah.gnu.org/projects/unifont/, v 16.0 or later
- Iosevka https://typeof.net/Iosevka/, v 13.9.1 or later
Howto
This widget library is available as a python PyPi library.
This HowTo recommends uv to manage your python environment,
see https://docs.astral.sh/uv/guides/ for using uv.
Install and import the text widget
uv pip install textual-englyph
Use as a module in your textual python app. Save the following simple example as text.py
from textual.app import App, ComposeResult
from textual_englyph import EnGlyphText
class Test(App):
"""Test console markup styling the englyph text use case"""
def compose(self) -> ComposeResult:
yield EnGlyphText("From Englyph, Hello [violet]Textual!", text_size="small")
if __name__ == "__main__":
Test().run()
and run it (use ctrl-q to exit)
uv run text.py
See Overview.md for more information regarding EnGlyph capabilities.
Release files for textual-englyph 0.5.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| textual_englyph-0.5.4.tar.gz | 57.6 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| textual_englyph-0.5.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 67.6 MB
Release files / textual_englyph-0.5.4.tar.gz
| Download URL | textual_englyph-0.5.4.tar.gz |
|---|---|
| Size | 57.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f12fa057a7fdd0b7f6e2984c6a50a8bc8f8533728b85e652311580a0cc75df02
|
|
BLAKE2b-256 checksum How to use checksums |
ab7ca23bd65d7f42e633f904b8d6993b1f04cc747432279e96c5b8dd019c5e42
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.29
|
Release files / textual_englyph-0.5.4-py3-none-any.whl
| Download URL | textual_englyph-0.5.4-py3-none-any.whl |
|---|---|
| Size | 10.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ffa6537fb8a86d2519c9f0bb54878f60938b5db76e01b0562862b73966dd23f6
|
|
BLAKE2b-256 checksum How to use checksums |
c4a7efdb98b8072886cc4a526438f8537461e862a6bd9154b5b63a620ea6af1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.29
|