Gematria Tool is a small, dependency-free Python package and CLI for computing numeric values (gematria/isopsephy) for Hebrew and Greek text using standard letter-to-number mappings. It is designed for quick analysis, reproducible results, and easy integration into research or text-processing pipelines.
- Computes Hebrew (mispar gadol) and Greek (isopsephy) values.
- CLI and Python API for easy scripting.
- Normalizes input by stripping whitespace and punctuation.
- Extensible mapping tables for custom alphabets.
- Python 3.10+
pip install -e .gematria-tool --language hebrew "בראשית"
# -> 913
gematria-tool --language greek "λογος"
# -> 373from gematria_tool import gematria
value = gematria("בראשית", language="hebrew")
print(value) # 913pytestsrc/gematria_tool/: core librarytests/: unit tests.github/workflows/: CI configuration
MIT License.