Registry / esphome-glyphsets

esphome-glyphsets

JSON →
library0.2.0pypypi✓ verified 81d ago

A lightweight library providing icon glyphsets for ESPHome displays, version 0.2.0. It packages Material Design Icons and other sets as compressed data for use on microcontrollers. Released as needed, currently experimental.

pip install esphome-glyphsets
INSTALL
IMPORT
SIG · ESPHOME-GLYPHSETS
E
esphome-glyphsets
pythonv0.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

defined_glyphsets
from esphome_glyphsets import defined_glyphsets
from esphome_glyphsets import get_glyphs
unicodes_per_glyphset
from esphome_glyphsets import unicodes_per_glyphset
FILE_PATH
from esphome_glyphsets import FILE_PATH

Import glyphsets and retrieve a single icon code. The function 'get_glyphs' returns a dict mapping icon names to glyph data.

from esphome_glyphsets import get_glyphs md_glyphs = get_glyphs('material_design_icons') print(md_glyphs['home'])
Debug
Known issues
gotchaThe PyPI package name uses hyphens (`esphome-glyphsets`), but the Python module name uses underscores (`esphome_glyphsets`). Using `import glyphsets` fails.
fix
Import as `from esphome_glyphsets import ...`.
affects: all
gotchaGlyph data may be in a compressed format specific to ESPHome; not all standard icon names are available. The set is limited to a subset of Material Design Icons.
fix
List available icons via `get_glyphs('material_design_icons').keys()` before using.
affects: all
Upgrade
Version history
0.2.0latest on PyPI · released Feb 19, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
esphome-glyphsets — pip install esphome-glyphsets · libregistry