conversion of hebrew numbers (Gimatria)
Project description
# python-hebrew-numbers python library for conversion of hebrew numbers (Gematria)
## Usage
### installation `bash $ git clone --recurse-submodules https://github.com/OriHoch/python-hebrew-numbers.git $ cd python-hebrew-numbers $ pip install . `
### gematria_to_int `bash >>> from hebrew_numbers import gematria_to_int >>> gematria_to_int(u'רח"צ') 298 `
### int_to_gematria `bash >>> from hebrew_numbers import int_to_gematria >>> int_to_gematria(298) u'רח״צ' >>> int_to_gematria(298, gershayim=False) u'רחצ' `
## Features * conversion from string of letters to an integer number * conversion of integer to string (using [hebrew-special-numbers](https://github.com/chaimleib/hebrew-special-numbers))
## Contributing See the [contribution guide](CONTRIBUTING.md)
## Background * see https://github.com/hasadna/Open-Knesset/issues/169
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
Built Distribution
Hashes for python-hebrew-numbers-0.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbcd64a7d72b99718b6f21e575438f680d66d87be9eacaf9b1181bbdcf113b98 |
|
MD5 | 719676894ef93cc7c249b2ba130a2ad3 |
|
BLAKE2b-256 | dd326c233c6bfbd9791772ff569b21c139492e2ce2b421453c1468ba83bb7ad9 |
Hashes for python_hebrew_numbers-0.2.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89e394c1cfd7cb5c6f00ec4548817fbea77045ce881a5c62d3d598a36925f256 |
|
MD5 | 5badab6ae44b1f9682c172d35a7e4016 |
|
BLAKE2b-256 | f33ad51768e28da3aa7e2fd86d09e72cfdae2303553cab3af54fb13bd9318adf |