Describe PERsian Numbers
Project description
DPERN - Describe PERsian Numbers
Installation
pip install dpern
Usage
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("35"))
# سی و پنج
print(dpern.describe("۹۹۹"))
# نهصد و نود و نه
If you want to use it in the command line, you can run it like this:
$ python -m dpern 10
ده
$ python -m dpern ۱۲۸
صد و بیست و هشت
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dpern-0.0.2.tar.gz
(2.8 kB
view details)
Built Distribution
dpern-0.0.2-py3-none-any.whl
(3.0 kB
view details)
File details
Details for the file dpern-0.0.2.tar.gz
.
File metadata
- Download URL: dpern-0.0.2.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ef5e909dd92ebe533d0eca2382270b549ed8b6e88b70734e0722f80df79776d |
|
MD5 | fa95a1ae3a58399bdc4a2a8c327edcb6 |
|
BLAKE2b-256 | bca7e5e4085295104d8255c4b808c2b37f5e857140098bd4077f9f7632bac90e |
File details
Details for the file dpern-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: dpern-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f82f69e5fc4193563d5abb6453cae6c72ebc7ba188c1d616a2f6c3be491f1e27 |
|
MD5 | db35688c279b00b80bd7619e048000af |
|
BLAKE2b-256 | 1c1c793a8b4177048dd4f36a43a77eb4def8f2f541462806a70bbc3d81a86862 |