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)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file latin_to_arabic_number-0.0.3-py2-none-any.whl.
File metadata
- Download URL: latin_to_arabic_number-0.0.3-py2-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 2
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fc3b5577dadfc15bce9a54f97d941506470eddb9513caead2b9e8e4209414cd4
|
|
| MD5 |
afcd4f68b652838185deaf5fffa26abc
|
|
| BLAKE2b-256 |
4273a1da3056776cd07c47f9a3dc43cb92ef2853390f63c8e37bdf3798d88a5e
|