Katapayadi sankhya is a
simplification of Aryabhata's
Sanskrit numerals, due
probably to
Haridatta
from Kerala. In Malayalam it is also known as 'Paralperu'. For eg:
ചണ്ഡാംശുചന്ദ്രാധമകുംഭിപാല represents 31415926536 which is π*1000000000000000
. More examples
in Malayalam are given in this page
LibIndic's katapayadi module may be used to find out katapayadi number of a given string, as well as to get Swarasthanas of a Melakartha number.
- Clone the repository
git clone https://github.com/libindic/katapayadi.git
- Change to the cloned directory
cd katapayadi
- Run setup.py to create installable source
python setup.py sdist
- Install using pip
pip install dist/libindic-katapayadi*.tar.gz
>>> from libindic.katapayadi import Katapayadi
>>> instance = Katapayadi()
>>> instance.get_number(u"സത്യം")
17
>>> instance.get_swarasthanas(1)
['Sa', 'Ri1', 'Ga1', 'Ma1', 'Pa', 'Da1', 'Ni1', 'Sa']
For more details read the docs