Reverse Latin Numbers Order || Change It To Arabic
By Using This Library You Can Change Latin Numbers Order From Left to Right or change them to Arabic and store them in new file.
Installation
pip install latin_to_arabic_number
How to use it?
There are two methods:
-
latin_to_arabic(file_to_read,file_to_save)
-
reverse_numbers_order(file_to_read,file_to_save)
- These methods receive two parameters:
- file_to_read: This is the target file which changes need to apply for.
- file_to_save: Directory To save result.
- These methods receive two parameters:
Example
from latin_to_arabic_number import reverse_numbers_order, latin_to_arabic
file_to_read= "/tmp/personal/target_file_name.docx"
file_to_save= "/tmp/personal/new_file_name.docx"
#returns 'A new file with reversed numbers'
#If we have 'I am 28 years old' the result would be 'I am 82 years old'
reverse_numbers_order(file_to_read=file_to_read,file_to_save=file_to_save)
#returns 'A new file with changed latin numbers to arabic'
#If you have a text like 'I am 28 years old' the result would be 'I am ۲۸ years old'
latin_to_arabic(file_to_read=file_to_read,file_to_save=file_to_save)
Metadata
Release files for latin-to-arabic-number 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| latin_to_arabic_number-0.0.3-py2-none-any.whl | Python 2 | none | any | Details |
Release files / latin_to_arabic_number-0.0.3-py2-none-any.whl
| Download URL | latin_to_arabic_number-0.0.3-py2-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
fc3b5577dadfc15bce9a54f97d941506470eddb9513caead2b9e8e4209414cd4
|
|
BLAKE2b-256 checksum How to use checksums |
4273a1da3056776cd07c47f9a3dc43cb92ef2853390f63c8e37bdf3798d88a5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10
|