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.0.tar.gz (2.8 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.0-py3-none-any.whl (154.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for textual_englyph-0.5.0.tar.gz
Algorithm Hash digest
SHA256 8972e97d3ba6f8c9a92b2f65248c78b8bc5f027d148db0dc69c0717bb4199cc6
MD5 15e874c3c0f71000afacc43d429643f5
BLAKE2b-256 364d23aad5b6dfd4195771d60d7b6fb68cd15910947f7e7aa0dd592259e1f2ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for textual_englyph-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 766c12e9c1e09785fe0bb318e7df59f3c268914c3722151912f57d4b6e1e6cd7
MD5 d574b17c22c0f6025128b0b057ddff3a
BLAKE2b-256 42a37ea0c87da89d336c42fd28c41ff9cbeb847b9dcf94f828d7bd577c549cdd

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