Transforms numbers into human words, a Python library.
This library currently includes engines for these writing systems:
I would greatly appreciate fixes to current engines (or bug reports), and new engine additions.
This is how you can use pynumwords in your code:
import pynumwords
en = pynumwords.find('english')
if en:
try:
print en(123456)
except ValueError:
...
If you know about validity, this is fine:
val = pynumwords.find('roman')(123)
pytimeago is licenced under
LGPL.
I'd be happy to hear if you use this in your software.
Note that language module(s) can also be taken standalone to other projects,
if desired.
You can download current version as a tarball (r40 as of 2006-12-16).