Skip to main content

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

python-hebrew-numbers-0.2.1.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

python_hebrew_numbers-0.2.1-py2.py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 2 Python 3

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