glyph
The dictionary and toolkit for the grid script: how humans write down what Ross 128 b sends, in InterImm's The Contact Era.
Docs: https://interimm.github.io/glyph-cli/
uvx --from glyph-cli glyph show BODY.OTHER STAR.TIME COUNT.137
+++.+++ .+..+.+ .....+.
+++.+.. +++.+.+ ......+
+++.+++ .+..+.+ +++...+
BODY.OTHER: your world
STAR.TIME: pulsar
COUNT.137: 137
Install
uv tool install glyph-cli # or: pipx install glyph-cli, or: pip install glyph-cli
Python 3.10 or newer, no other dependencies.
Use
glyph parts # the 16 parts
glyph find wind # search meanings
glyph check BODY.STAR # is it a word? exit 1 if not
glyph show BODY.OTHER --symbol × # draw words
glyph render examples/third-voice.txt # draw a page
glyph render examples/third-voice.txt --svg -o page.svg
glyph graph examples/conversation.txt # read it as a knowledge graph (--json, --dot)
glyph render examples/question.txt | glyph decode - # and back
glyph init my-vocab.json && export GLYPH_VOCAB=$PWD/my-vocab.json
glyph add BODY.STAR "a star-world" --domain Worlds
A page file has one band per line, SYMBOL: node | relation | node; a blank line starts the next statement. See examples/ and the docs.
Develop
uv sync --all-groups # or: pip install -e . pytest ruff zensical
uv run pytest
uv run ruff check . && uv run ruff format --check .
uv run python scripts/gen_docs.py # regenerate docs/vocabulary.md, docs/cli.md and the example drawings
uv run zensical serve # docs at http://localhost:8000
The vocabulary ships in src/glyph_cli/data/vocab.json. Change it with the tool (glyph --vocab src/glyph_cli/data/vocab.json add ...), then run scripts/gen_docs.py; the tests fail if the generated docs are stale.
Pushes to main publish the docs to GitHub Pages.
Release
- Bump
__version__insrc/glyph_cli/__init__.pyand merge it tomain. - Publish a GitHub release tagged
vX.Y.Z(the same version).
The release workflow checks the tag matches the version, builds the package, tests the built wheel and uploads it to PyPI with Trusted Publishing, so no token is stored.
License
MIT
Metadata
Release files for glyph-cli 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| glyph_cli-0.2.0.tar.gz | 37.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| glyph_cli-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 57.9 kB
Release files / glyph_cli-0.2.0.tar.gz
| Download URL | glyph_cli-0.2.0.tar.gz |
|---|---|
| Size | 37.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eac5a53366733b099deb784c892d6049e4915a3a9701f1867518cbfd88e7392c
|
|
BLAKE2b-256 checksum How to use checksums |
e6aae8553d1192e2ce9e9a7224d66f36eaa191726effb893ab5e0628ed997897
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.
Transparency logRelease files / glyph_cli-0.2.0-py3-none-any.whl
| Download URL | glyph_cli-0.2.0-py3-none-any.whl |
|---|---|
| Size | 20.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
00f78e91eb15b58d710654fe1e28cf5c12cb4e67d37c26941744bbd203c655f8
|
|
BLAKE2b-256 checksum How to use checksums |
542f962936b5c1b298d38000e53a5ee7579db7b8ea269c0a78b7bf6b511c901a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 7, 2026.
Transparency log