A python library to convert numbers to their spanish text representation.
Install it using pip:
pip install numbertoletters
Import the library in your project and use it:
from numbertoletters import number_to_letters
number_to_letters(11452915)
> 'once millones cuatrocientos cincuenta y dos mil novecientos quince'
1245
: Mil dosceintos cuarenta y cinco.-30
: Menos treinta0
: Cero