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(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 ۱۲۸
صد و بیست و هشت
Metadata
Release files for dpern 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dpern-0.0.3.tar.gz | 2.9 kB | Without provenance | Details for dpern-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dpern-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for dpern-0.0.3-py3-none-any.whl |
Total release size: 6.0 kB
Release files / dpern-0.0.3.tar.gz
| Download URL | dpern-0.0.3.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8051f5f1286665455320b2646218d9683bffe05464b3773a4dcf816659086098
|
|
BLAKE2b-256 checksum How to use checksums |
50dbf093773ea76951a27c645fe8e217508ae3836ed6e3c21e3c14eba32c9372
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / dpern-0.0.3-py3-none-any.whl
| Download URL | dpern-0.0.3-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
289854f313a6b1314e429a5dba1b3054a232843156d5be6ea97303dd34e5db62
|
|
BLAKE2b-256 checksum How to use checksums |
98dd8a8a797ad924836c51cc3e93149435d222c8d02f6feeb3266ddd1729295e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for dpern 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.