library
pleat.gjh.library ¶
Eager-loaded library of cached :data:TilesetSpecs indexed by GJH code.
At import time we scan pleat/gjh/_data/ for *.yml files, parse each
into a :data:TilesetSpec, and read the GJH code from the leading
# GJH: <code> comment. :data:GJH_CODES preserves the numeric filename
prefix as the canonical ordering (regular → 1-uniform → 2-uniform →
3-uniform), matching the source paper.
cached_spec ¶
Return the cached :data:TilesetSpec for code. Raises :class:KeyError if unknown.