Name | ar2en JSON |
Version |
0.1.2
JSON |
| download |
home_page | https://github.com/yourusername/ar2en |
Summary | A CLI tool for converting text between Arabic and English keyboard layouts. |
upload_time | 2024-06-24 05:20:00 |
maintainer | None |
docs_url | None |
author | Your Name |
requires_python | >=3.6 |
license | None |
keywords |
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# ar2en
A CLI tool for converting text between Arabic and English keyboard layouts.
## Installation
You can install the package using pip:
```sh
pip install ar2en
```
## Usage
### Convert Text Directly
To convert text directly from Arabic to English keyboard layout, use:
```sh
ar2en "ضصث"
```
### Convert Text from Clipboard
To convert text from the clipboard and copy the result back to the clipboard:
```sh
ar2en -c
```
### Convert Text from a File
To convert text from a file and optionally copy the result to the clipboard:
```sh
ar2en -f input.txt -c
```
### Convert Text from English to Arabic
To convert text from English to Arabic keyboard layout:
```sh
ar2en -r "qwerty"
```
### Interactive Mode
To enter interactive mode and type the text to be converted:
```sh
ar2en -i
```
### Verbose Mode
To display detailed information about the conversion:
```sh
ar2en -v "ضصث"
```
### Save Output to a File
To save the converted text to an output file:
```sh
ar2en -f input.txt -o output.txt
```
### Full Help
For a full list of options and usage, use:
```sh
ar2en --help
```
## Examples
### Example 1: Simple Conversion
```sh
ar2en "ضصث"
```
Output:
```
wet
```
### Example 2: Conversion with Verbose Output
```sh
ar2en -v "ضصث"
```
Output:
```
The conversion of "ضصث" is "wet"
```
### Example 3: Conversion from Clipboard
```sh
ar2en -c
```
If the clipboard contains "ضصث", the clipboard will be updated with "wet".
### Example 4: Conversion from File and Save to Another File
```sh
ar2en -f input.txt -o output.txt
```
The content of `input.txt` will be converted and saved to `output.txt`.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
## Contributing
Contributions are welcome! Please open an issue or submit a pull request for any changes or improvements.
## Author
[gamalthecreator](https://github.com/gamalthecreator)
```
>>>>>>> d23772a (initial commit)
Raw data
{
"_id": null,
"home_page": "https://github.com/yourusername/ar2en",
"name": "ar2en",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": null,
"author": "Your Name",
"author_email": "your.email@example.com",
"download_url": "https://files.pythonhosted.org/packages/80/e1/da8c1dd21a6382943cd7b8fe9be50ff31f5d9fbf6f7d2c9342a262fde6db/ar2en-0.1.2.tar.gz",
"platform": null,
"description": "# ar2en\n\nA CLI tool for converting text between Arabic and English keyboard layouts.\n\n## Installation\n\nYou can install the package using pip:\n\n```sh\npip install ar2en\n```\n\n## Usage\n\n### Convert Text Directly\n\nTo convert text directly from Arabic to English keyboard layout, use:\n\n```sh\nar2en \"\u0636\u0635\u062b\"\n```\n\n### Convert Text from Clipboard\n\nTo convert text from the clipboard and copy the result back to the clipboard:\n\n```sh\nar2en -c\n```\n\n### Convert Text from a File\n\nTo convert text from a file and optionally copy the result to the clipboard:\n\n```sh\nar2en -f input.txt -c\n```\n\n### Convert Text from English to Arabic\n\nTo convert text from English to Arabic keyboard layout:\n\n```sh\nar2en -r \"qwerty\"\n```\n\n### Interactive Mode\n\nTo enter interactive mode and type the text to be converted:\n\n```sh\nar2en -i\n```\n\n### Verbose Mode\n\nTo display detailed information about the conversion:\n\n```sh\nar2en -v \"\u0636\u0635\u062b\"\n```\n\n### Save Output to a File\n\nTo save the converted text to an output file:\n\n```sh\nar2en -f input.txt -o output.txt\n```\n\n### Full Help\n\nFor a full list of options and usage, use:\n\n```sh\nar2en --help\n```\n\n## Examples\n\n### Example 1: Simple Conversion\n\n```sh\nar2en \"\u0636\u0635\u062b\"\n```\n\nOutput:\n\n```\nwet\n```\n\n### Example 2: Conversion with Verbose Output\n\n```sh\nar2en -v \"\u0636\u0635\u062b\"\n```\n\nOutput:\n\n```\nThe conversion of \"\u0636\u0635\u062b\" is \"wet\"\n```\n\n### Example 3: Conversion from Clipboard\n\n```sh\nar2en -c\n```\n\nIf the clipboard contains \"\u0636\u0635\u062b\", the clipboard will be updated with \"wet\".\n\n### Example 4: Conversion from File and Save to Another File\n\n```sh\nar2en -f input.txt -o output.txt\n```\n\nThe content of `input.txt` will be converted and saved to `output.txt`.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request for any changes or improvements.\n\n## Author\n\n[gamalthecreator](https://github.com/gamalthecreator)\n```\n>>>>>>> d23772a (initial commit)\n\n\n",
"bugtrack_url": null,
"license": null,
"summary": "A CLI tool for converting text between Arabic and English keyboard layouts.",
"version": "0.1.2",
"project_urls": {
"Homepage": "https://github.com/yourusername/ar2en"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "32904cf8198d2dfb6c71246495af6d048ee234b6a3901ef08fe0cb862bbb157e",
"md5": "682556766ec01c285be256dea5925def",
"sha256": "020f4dfba6b95ced9c8ea436f879daed4e37e8e1ac87d9e19927e073a5e229e7"
},
"downloads": -1,
"filename": "ar2en-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "682556766ec01c285be256dea5925def",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 4438,
"upload_time": "2024-06-24T05:19:58",
"upload_time_iso_8601": "2024-06-24T05:19:58.180481Z",
"url": "https://files.pythonhosted.org/packages/32/90/4cf8198d2dfb6c71246495af6d048ee234b6a3901ef08fe0cb862bbb157e/ar2en-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "80e1da8c1dd21a6382943cd7b8fe9be50ff31f5d9fbf6f7d2c9342a262fde6db",
"md5": "2f3ca5fbd5d9c0584faf7e3e8cb6d103",
"sha256": "c391ddb12a07be15aa16ba61ed665e45783e86ba633885c6a19ccad56c941316"
},
"downloads": -1,
"filename": "ar2en-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "2f3ca5fbd5d9c0584faf7e3e8cb6d103",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 4006,
"upload_time": "2024-06-24T05:20:00",
"upload_time_iso_8601": "2024-06-24T05:20:00.425200Z",
"url": "https://files.pythonhosted.org/packages/80/e1/da8c1dd21a6382943cd7b8fe9be50ff31f5d9fbf6f7d2c9342a262fde6db/ar2en-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-24 05:20:00",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "yourusername",
"github_project": "ar2en",
"github_not_found": true,
"lcname": "ar2en"
}