# convert_numbers
![Twitter Follow](https://img.shields.io/twitter/follow/Al_Azwari?label=Follow&style=social) [![Downloads](https://pepy.tech/badge/convert-numbers)](https://pepy.tech/project/convert-numbers) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/Django?style=plastic) [![PyPI version](https://badge.fury.io/py/convert-numbers.svg)](https://badge.fury.io/py/convert-numbers)
##### Arabic Persian English Hindi Numbers Conversion
##### Installation
```bash
pip install convert_numbers
```
##### Usage
```python
import convert_numbers
# From Hindi To Englis
print(convert_numbers.hindi_to_english('٨٧٦٥٤٣٢٣٤٥٦٧٨')) #8765432345678
# From Englis To Hindi
print(convert_numbers.english_to_hindi('12309876523')) ##١٢٣٠٩٨٧٦٥٢٣
# From Hindi To Arabic
print(convert_numbers.hindi_to_arabic('٨٧٦٥٤٣٢٣٤٥٦٧٨')) #8765432345678
# From Arabic To Hindi
print(convert_numbers.arabic_to_hindi('12309876523')) #١٢٣٠٩٨٧٦٥٢٣
# From Arabic To English
print(convert_numbers.arabic_to_english('٢٣٤٥٦٧٨٠٩٨٧٦')) #234567809876
# From English To Arabic
print(convert_numbers.english_to_arabic('09876523456')) #٠٩٨٧٦٥٢٣٤٥٦
# From Persian To English
print(convert_numbers.persian_to_english('۵۱۲۳۹۶۰۴۴')) #512396044
# From English To Persian
print(convert_numbers.english_to_persian('512396044')) #۵۱۲۳۹۶۰۴۴
# From Persian To Hindi
print(convert_numbers.persian_to_hindi('۵۱۲۳۹۶۰۴۴')) #٥١٢٣٩٦٠٤٤
# From Hindi To Persian
print(convert_numbers.hindi_to_persian('٢٣٤٥٦٧٨٠٩٨٧٦')) #۲۳۴۵۶۷۸۰۹۸۷۶
```
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
## License
[MIT](https://choosealicense.com/licenses/mit/)
Raw data
{
"_id": null,
"home_page": "https://github.com/pranjal5215/convert_numbers",
"name": "convert-indian-numbers",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "Arabic Persian English Indian Hindi Numbers Python conversion numbers from-to Arabic,Indian Hindi,Persian and English",
"author": "Azwri",
"author_email": "pranjal5215@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/d4/27/b4d24431bee04218fd15ee297f60706dc661531f1889101dbbbd0a783182/convert_indian_numbers-0.5.tar.gz",
"platform": null,
"description": "# convert_numbers\n![Twitter Follow](https://img.shields.io/twitter/follow/Al_Azwari?label=Follow&style=social) [![Downloads](https://pepy.tech/badge/convert-numbers)](https://pepy.tech/project/convert-numbers) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/Django?style=plastic) [![PyPI version](https://badge.fury.io/py/convert-numbers.svg)](https://badge.fury.io/py/convert-numbers)\n##### Arabic Persian English Hindi Numbers Conversion\n\n\n##### Installation\n\n```bash\npip install convert_numbers\n```\n\n##### Usage\n\n```python\nimport convert_numbers\n\n# From Hindi To Englis\nprint(convert_numbers.hindi_to_english('\u0668\u0667\u0666\u0665\u0664\u0663\u0662\u0663\u0664\u0665\u0666\u0667\u0668')) #8765432345678\n\n\n# From Englis To Hindi\nprint(convert_numbers.english_to_hindi('12309876523')) ##\u0661\u0662\u0663\u0660\u0669\u0668\u0667\u0666\u0665\u0662\u0663\n\n\n# From Hindi To Arabic\nprint(convert_numbers.hindi_to_arabic('\u0668\u0667\u0666\u0665\u0664\u0663\u0662\u0663\u0664\u0665\u0666\u0667\u0668')) #8765432345678\n\n\n# From Arabic To Hindi\nprint(convert_numbers.arabic_to_hindi('12309876523')) #\u0661\u0662\u0663\u0660\u0669\u0668\u0667\u0666\u0665\u0662\u0663\n\n\n# From Arabic To English\nprint(convert_numbers.arabic_to_english('\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0660\u0669\u0668\u0667\u0666')) #234567809876\n\n\n# From English To Arabic\nprint(convert_numbers.english_to_arabic('09876523456')) #\u0660\u0669\u0668\u0667\u0666\u0665\u0662\u0663\u0664\u0665\u0666\n\n\n# From Persian To English\nprint(convert_numbers.persian_to_english('\u06f5\u06f1\u06f2\u06f3\u06f9\u06f6\u06f0\u06f4\u06f4')) #512396044\n\n\n# From English To Persian\nprint(convert_numbers.english_to_persian('512396044')) #\u06f5\u06f1\u06f2\u06f3\u06f9\u06f6\u06f0\u06f4\u06f4\n\n\n# From Persian To Hindi\nprint(convert_numbers.persian_to_hindi('\u06f5\u06f1\u06f2\u06f3\u06f9\u06f6\u06f0\u06f4\u06f4')) #\u0665\u0661\u0662\u0663\u0669\u0666\u0660\u0664\u0664\n\n\n# From Hindi To Persian\nprint(convert_numbers.hindi_to_persian('\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0660\u0669\u0668\u0667\u0666')) #\u06f2\u06f3\u06f4\u06f5\u06f6\u06f7\u06f8\u06f0\u06f9\u06f8\u06f7\u06f6\n```\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n[MIT](https://choosealicense.com/licenses/mit/)\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Arabic Persian English Hindi Numbers is a Python library to convert numbers from-to Arabic, Indian Hindi, Persian and English.",
"version": "0.5",
"project_urls": {
"Homepage": "https://github.com/pranjal5215/convert_numbers"
},
"split_keywords": [
"arabic persian english indian hindi numbers python conversion numbers from-to arabic",
"indian hindi",
"persian and english"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d427b4d24431bee04218fd15ee297f60706dc661531f1889101dbbbd0a783182",
"md5": "fe69bda684341eafd3981c0702b0e9ff",
"sha256": "4bfffa69bb4f0daf3a14221c077ad2514ad707f05bd17da7225b2dd9d20e0067"
},
"downloads": -1,
"filename": "convert_indian_numbers-0.5.tar.gz",
"has_sig": false,
"md5_digest": "fe69bda684341eafd3981c0702b0e9ff",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 5439,
"upload_time": "2024-02-06T10:48:57",
"upload_time_iso_8601": "2024-02-06T10:48:57.048126Z",
"url": "https://files.pythonhosted.org/packages/d4/27/b4d24431bee04218fd15ee297f60706dc661531f1889101dbbbd0a783182/convert_indian_numbers-0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-06 10:48:57",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "pranjal5215",
"github_project": "convert_numbers",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "convert-indian-numbers"
}