A package for converting numbers to english words, e.g.,
from number_to_word import number_to_word
number_to_word.number_to_word(111)
returns
'one hundred eleven'
Inputs must be float, int or a castable string, e.g., '111'
, not a string
To install clone the directory, change directory and run setup.py
. Run tests with pytest
.
git clone https://github.com/gillespied/number_to_word.git
cd number_to_word
python setup.py -q install
pytest