The package is used to convert texts to integers. You can use the below examples to get started
pip install text2integer
from text_2_integer.t2i import text_2_integer
ti = text_2_integer.text_2_int()
ti.text2int("five lakh",scales_use='hi') #500000 ti.text2int("paanch lakh",scales_use='hi') #500000
ti.text2int("nine point five lakh",scales_use='hi') #950000
ti.text2int("paanch hazaar",scales_use='hi') #5000
We support hindi/english languages and the work is in developmental phase
License
MIT License License: MIT + file text_2_integer.py
Metadata
Release files for text2integer 0.1.5
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 |
|---|---|---|---|---|
| text2integer-0.1.5.tar.gz | 1.5 kB | Without provenance | Details for text2integer-0.1.5.tar.gz |
Release files / text2integer-0.1.5.tar.gz
| Download URL | text2integer-0.1.5.tar.gz |
|---|---|
| Size | 1.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fef1744cf27444e37bab46e40ca9577c06814c1d4f4076899b82208ff4198372
|
|
BLAKE2b-256 checksum How to use checksums |
fcf591cfdd2f831924d2ac5999a6af64f63979567701f8ec857a6156653ba8c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5
|
Security for text2integer 0.1.5
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.