dpern-0.0.3
توضیحات
Describe PERsian Numbers
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | dpern-0.0.3 |
| نام | dpern |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Amir A. Shabani |
| ایمیل نویسنده | amirashabani@zoho.com |
| آدرس صفحه اصلی | https://github.com/amirashabani/dpern |
| آدرس اینترنتی | https://pypi.org/project/dpern/ |
| مجوز | MIT |
# DPERN - Describe PERsian Numbers
## Installation
```bash
pip install dpern
```
## Usage
If you want to use it in a module, you need to import it like this:
```python
from dpern import dpern
```
And use it like this:
```python
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:
```bash
pip install dpern --user
```
Then you can run it like this:
```bash
$ python -m dpern 10
ده
$ python -m dpern ۱۲۸
صد و بیست و هشت
```
نحوه نصب
نصب پکیج whl dpern-0.0.3:
pip install dpern-0.0.3.whl
نصب پکیج tar.gz dpern-0.0.3:
pip install dpern-0.0.3.tar.gz