arabic2latin


Namearabic2latin JSON
Version 1.1.4 PyPI version JSON
download
home_page
SummaryConvert Arabic characters to their Latin (English) homophones.
upload_time2023-06-21 20:04:25
maintainer
docs_urlNone
authorrexa222
requires_python>=3.6
licenseMIT License Copyright (c) 2023 rexa222 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords arabic homophone arabic to english arabic to latin
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# arabic2latin

Convert Arabic characters to their Latin (English) homophone.


## Installation

Install from PyPI:
```bash
pip install arabic2latin
```
Alternatively, install from source:
```bash
pip install git+https://github.com/rexa222/arabic2latin
```
## Usage/Examples

```python
from arabic2latin import arabic_to_latin

arabic_text = "السَّلَامُ عَلَيْكَ"
converted_text = arabic_to_latin(arabic_text)

print(converted_text)
```
Output:
```text
alsaalaamo aalayka
```
## Debug Mode
If you came across a character that was not converted, you can find it using debug feature and report it as guided in the contributing section.
```text
converted_text = arabic_to_latin(arabic_text, debug=True)
```
Output:
```text
unknown character: ?
```




## Contributing

If you find a bug 🐛, please open a [bug report](https://github.com/rexa222/arabic2latin/issues/new?assignees=&labels=bug&template=bug_report.md&title=). If you have an idea for an improvement or new feature 🚀, please open a [feature request](https://github.com/rexa222/arabic2latin/issues/new?assignees=&labels=Feature+request&template=feature_request.md&title=).


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "arabic2latin",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "arabic,homophone,arabic to english,arabic to latin",
    "author": "rexa222",
    "author_email": "rexa222@outlook.com",
    "download_url": "https://files.pythonhosted.org/packages/88/4a/b664e075c243dc8120ac008932e6e74f2a197ec7414aae11ea4c3d25b04d/arabic2latin-1.1.4.tar.gz",
    "platform": null,
    "description": "\r\n# arabic2latin\r\n\r\nConvert Arabic characters to their Latin (English) homophone.\r\n\r\n\r\n## Installation\r\n\r\nInstall from PyPI:\r\n```bash\r\npip install arabic2latin\r\n```\r\nAlternatively, install from source:\r\n```bash\r\npip install git+https://github.com/rexa222/arabic2latin\r\n```\r\n## Usage/Examples\r\n\r\n```python\r\nfrom arabic2latin import arabic_to_latin\r\n\r\narabic_text = \"\u0627\u0644\u0633\u064e\u0651\u0644\u064e\u0627\u0645\u064f \u0639\u064e\u0644\u064e\u064a\u0652\u0643\u064e\"\r\nconverted_text = arabic_to_latin(arabic_text)\r\n\r\nprint(converted_text)\r\n```\r\nOutput:\r\n```text\r\nalsaalaamo aalayka\r\n```\r\n## Debug Mode\r\nIf you came across a character that was not converted, you can find it using debug feature and report it as guided in the contributing section.\r\n```text\r\nconverted_text = arabic_to_latin(arabic_text, debug=True)\r\n```\r\nOutput:\r\n```text\r\nunknown character: ?\r\n```\r\n\r\n\r\n\r\n\r\n## Contributing\r\n\r\nIf you find a bug \ud83d\udc1b, please open a [bug report](https://github.com/rexa222/arabic2latin/issues/new?assignees=&labels=bug&template=bug_report.md&title=). If you have an idea for an improvement or new feature \ud83d\ude80, please open a [feature request](https://github.com/rexa222/arabic2latin/issues/new?assignees=&labels=Feature+request&template=feature_request.md&title=).\r\n\r\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2023 rexa222  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "Convert Arabic characters to their Latin (English) homophones.",
    "version": "1.1.4",
    "project_urls": {
        "Bug Tracker": "https://github.com/rexa222/arabic2latin/issues",
        "Homepage": "https://github.com/rexa222/arabic2latin"
    },
    "split_keywords": [
        "arabic",
        "homophone",
        "arabic to english",
        "arabic to latin"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "db0e857d3b200897500e539c22cbf4b64152ee4bc49462dc6fe3fe5969a76686",
                "md5": "cecb359e7d36d2f0a09396e454e61cc5",
                "sha256": "0518089e925e6d2943d837112d854c6bbe10f233375b3a8d1f54f0c56a7aded2"
            },
            "downloads": -1,
            "filename": "arabic2latin-1.1.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cecb359e7d36d2f0a09396e454e61cc5",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 5022,
            "upload_time": "2023-06-21T20:04:23",
            "upload_time_iso_8601": "2023-06-21T20:04:23.471755Z",
            "url": "https://files.pythonhosted.org/packages/db/0e/857d3b200897500e539c22cbf4b64152ee4bc49462dc6fe3fe5969a76686/arabic2latin-1.1.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "884ab664e075c243dc8120ac008932e6e74f2a197ec7414aae11ea4c3d25b04d",
                "md5": "f5a7e79e827d990d067da66f99060efb",
                "sha256": "143b34cf61488843d081cf7a50520683f020aa06e6306b0baf4a2a14b47220e1"
            },
            "downloads": -1,
            "filename": "arabic2latin-1.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "f5a7e79e827d990d067da66f99060efb",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 4217,
            "upload_time": "2023-06-21T20:04:25",
            "upload_time_iso_8601": "2023-06-21T20:04:25.059833Z",
            "url": "https://files.pythonhosted.org/packages/88/4a/b664e075c243dc8120ac008932e6e74f2a197ec7414aae11ea4c3d25b04d/arabic2latin-1.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-21 20:04:25",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "rexa222",
    "github_project": "arabic2latin",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "arabic2latin"
}
        
Elapsed time: 0.09356s