pip install dpern
If you want to use it in a module, you need to import it like this:
from dpern import dpern
And 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 --user
Then you can run it like this:
$ python -m dpern 10
ده
$ python -m dpern ۱۲۸
صد و بیست و هشت
SQLAlchemy Admin for Starlette/FastAPI
Both client and server side of the “Vajehh” web application: the search engine for writers.
An anthology of a variety of tools for the Persian language in javascript
Computer vision and Deep learning
PyBotNet framework, high level remote control
A package that extracts Persian time and date markers by applying regexes.
Persian for LaTeX, using XeTeX
A toolkit full of handy functions including most used models and utilities for deep-learning practitioners!