pip install dpernIf you want to use it in a module, you need to import it like this:
from dpern import dpernAnd use it like this:
print(dpern.describe(53523))
# پنجاه و سه هزار و پانصد و بیست و سه
print(dpern.describe("35"))
# سی و پنج
print(dpern.describe("۹۹۹"))
# نهصد و نود و نهIf you want to use it in the command line, make sure to install it
with --user flag:
pip install dpern --userThen you can run it like this:
$ python -m dpern 10
ده
$ python -m dpern ۱۲۸
صد و بیست و هشت