Mesopotamian Calculator and Metrology Tools
Project description
🏺 MesoMath v2.0.0rc0
The Definitive Mesopotamian Metrology & Arithmetic Engine for Python.
MesoMath is a high-precision computational framework designed for epigraphists, historians, and mathematicians working with Sumerian and Babylonian sexagesimal systems.
From the Old Babylonian period (Nippur) to Late Babylonian administrative records, MesoMath bridges the gap between ancient clay tablets and modern data science.
✨ What's New in v2.0.0?
This update transforms MesoMath from a set of utilities into a fully integrated Metrological Ecosystem.
- 🧮 Dimensional Awareness: Perform complex calculations like
Surface / Length = LengthorVolume / Surface = Heightdirectly with metrological objects. - 🛠️ Versatile Integrated Design of Metrological Lists and Tables: from the simplest to the most complex compatible with the scribal tradition.
- 🔍 Integrated Lookup: The new
MesoM.lookup()method allows for reverse metrological searches—identify physical measures from abstract sexagesimal values. - 🔄 Bidirectional Conversion between SI values and OBP metrology.
- 📜 Epigraphic Engine: Native support for professional transliteration and Unicode Cuneiform rendering.
- 🏗️ Construction Metrology: Dedicated support for Brick Metrology (
Bbri) and labor/ration logistics. - 🛠️ Unified CLI: Access all features from the enhanced
babcalcREPL.
🚀 Quick Start
Installation
pip install mesomath==2.0.0rc0
Basic Interaction
from mesomath.npvs import Blen, Bsur
# Dimensional arithmetic
width = Blen('3 ninda')
area = Bsur('1 sar')
# The new division engine
length = area / width
print(length.prtf()) # Output: '1/3 ninda'
Cuneiform & Transliteration
from mesomath.npvs import Bcap
vol = Bcap('3 bariga 2 ban')
print(vol.translit) # Output: '3(barig) 2(ban2) še'
print(vol.cuneiform()) # Output: 𒑗 𒑐 𒊺
📚 Documentation & Research
The full documentation is available at ReadTheDocs.
Note: We are currently updating the documentation to reflect the 2.0.0 changes. If you find any discrepancies, please check our Issue Tracker.
🏛️ Acknowledgments
MesoMath's metrological logic is based on the seminal work of Christine Proust (e.g., Tablettes mathématiques de Nippur, 2007) and the standard Babylonian metrological lists.
Developed with 🖋️ and 🏺 by jccsvq
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mesomath-2.0.0rc0.tar.gz.
File metadata
- Download URL: mesomath-2.0.0rc0.tar.gz
- Upload date:
- Size: 189.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.16.1 cpython/3.11.2 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47cefcc4caf94e83577b34d55b21561834f70b47436315445848df8f14e37c3e
|
|
| MD5 |
0cac75b176cf3bba0fe99cc07fe67b1a
|
|
| BLAKE2b-256 |
46748c2c2c8caae9edef98afc7ab32df5d2dd9e475203fb0c6279961214d377d
|
File details
Details for the file mesomath-2.0.0rc0-py3-none-any.whl.
File metadata
- Download URL: mesomath-2.0.0rc0-py3-none-any.whl
- Upload date:
- Size: 66.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Hatch/1.16.1 cpython/3.11.2 HTTPX/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e7b60dc8841a22c566b4f9a894be2bea37cb4d80a7efdea972c2ce2475b6e7c
|
|
| MD5 |
ed98b6e53caa3a0407aa49c4246973b5
|
|
| BLAKE2b-256 |
55c6b315449548eb5b3dfd1d9cf8c163e208cb04f6e29d301a5b201b00e91a8d
|