{"id":26964,"library":"esphome-glyphsets","title":"ESPHome Glyphsets","description":"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.","status":"active","version":"0.2.0","language":"python","source_language":"en","source_url":"https://github.com/esphome-glyphsets/esphome-glyphsets","tags":["esphome","icons","glyphs","material-design-icons","embedded"],"install":[{"cmd":"pip install esphome-glyphsets","lang":"bash","label":"PyPI"}],"dependencies":[],"imports":[{"note":"The package installs as 'esphome-glyphsets' but the module name uses underscores: esphome_glyphsets.","wrong":"from glyphsets import get_glyphs","symbol":"get_glyphs","correct":"from esphome_glyphsets import get_glyphs"}],"quickstart":{"code":"from esphome_glyphsets import get_glyphs\nmd_glyphs = get_glyphs('material_design_icons')\nprint(md_glyphs['home'])","lang":"python","description":"Import glyphsets and retrieve a single icon code. The function 'get_glyphs' returns a dict mapping icon names to glyph data."},"warnings":[{"fix":"Import as `from esphome_glyphsets import ...`.","message":"The PyPI package name uses hyphens (`esphome-glyphsets`), but the Python module name uses underscores (`esphome_glyphsets`). Using `import glyphsets` fails.","severity":"gotcha","affected_versions":"all"},{"fix":"List available icons via `get_glyphs('material_design_icons').keys()` before using.","message":"Glyph 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.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use `from esphome_glyphsets import get_glyphs`","cause":"Incorrect import path. The module is named 'esphome_glyphsets', not 'glyphsets'.","error":"ModuleNotFoundError: No module named 'glyphsets'"},{"fix":"Check installed version: `pip show esphome-glyphsets`. Upgrade to 0.2.0 if older.","cause":"Very old version might not have that function, or typo in function name.","error":"ImportError: cannot import name 'get_glyphs' from 'esphome_glyphsets'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}