Skip to main content

A Textual utility widget set to generate terminal images and styled, scalable text.

Project description

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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

textual_englyph-0.5.4.tar.gz (57.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

textual_englyph-0.5.4-py3-none-any.whl (10.0 MB view details)

Uploaded Python 3

File details

Details for the file textual_englyph-0.5.4.tar.gz.

File metadata

  • Download URL: textual_englyph-0.5.4.tar.gz
  • Upload date:
  • Size: 57.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.29

File hashes

Hashes for textual_englyph-0.5.4.tar.gz
Algorithm Hash digest
SHA256 f12fa057a7fdd0b7f6e2984c6a50a8bc8f8533728b85e652311580a0cc75df02
MD5 110e679daee337d56da3283961dc69c4
BLAKE2b-256 ab7ca23bd65d7f42e633f904b8d6993b1f04cc747432279e96c5b8dd019c5e42

See more details on using hashes here.

File details

Details for the file textual_englyph-0.5.4-py3-none-any.whl.

File metadata

File hashes

Hashes for textual_englyph-0.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ffa6537fb8a86d2519c9f0bb54878f60938b5db76e01b0562862b73966dd23f6
MD5 b60647442742eef40e94e30c15da119a
BLAKE2b-256 c4a7efdb98b8072886cc4a526438f8537461e862a6bd9154b5b63a620ea6af1d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page