Metadata-Version: 2.0
Name: python-hebrew-numbers
Version: 0.2.1
Summary: conversion of hebrew numbers (Gimatria)
Home-page: https://github.com/OriHoch/python-hebrew-numbers
Author: Ori Hoch
Author-email: ori@uumpa.com
License: MIT
Description-Content-Type: UNKNOWN
Platform: UNKNOWN
Requires-Dist: PyYaml

# 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

