Skip to main content

Abnum - Alphabetic numerals package including various letter value substituting systems from ancient times to modern artificial ones

Project description

Abnum 3
=======

Alphabetic numerals package (Python 3) including various letter value
substituting systems from ancient times to modern artificial ones.

Abnum substitution system is better known as gematria in hebrew and isopsephy in
greek, abjad in arabic alphabet and katapayadi in sanskrit.

Currently supported languages are:

- greek (grc)
- hebrew (heb)
- coptic (cop)
- aramaic (arm)
- syriaic (syc)
- arabic (ara)
- phoenician (phn)
- brahmi (brh)
- english (eng)
- finnish (fin)

## Install

`pip install abnum`

## Usage

```python
from abnum import Abnum, greek, phoenician

g = Abnum(greek)
print(g.value('ο Λογος')) # 443

p = Abnum(phoenician)
print(list(map(g.value, "𐤀𐤍𐤊 𐤕𐤁𐤍𐤕 𐤊𐤄𐤍 𐤏𐤔𐤕𐤓𐤕 𐤌𐤋𐤊 𐤑𐤃𐤍𐤌 𐤁𐤍".split(" ")))) #
```

## Jupyter notebooks

Please see Jupyter notebooks for further study and examples:

[Usage of the library](Abnum%203%20introduction.ipynb). Includes the verification of the isopsephical value of the Bergama stele, 100 - 200 AD.

[Isopsephical riddle of the Sibylline verses](Isopsephical%20riddle%20of%20the%20Pseudo%20Sibylline%20hexameter.ipynb), Book 1, lines 137 - 146.

Python 2 version of the Abnum library can still be found from: https://github.com/markomanninen/abnum

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

abnum-0.1.9.tar.gz (6.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page