Skip to main content

ar2en

A CLI tool for converting text between Arabic and English keyboard layouts.

Installation

You can install the package using pip:

pip install ar2en

Usage

Convert Text Directly

To convert text directly from Arabic to English keyboard layout, use:

ar2en "ضصث"

Convert Text from Clipboard

To convert text from the clipboard and copy the result back to the clipboard:

ar2en -c

Convert Text from a File

To convert text from a file and optionally copy the result to the clipboard:

ar2en -f input.txt -c

Convert Text from English to Arabic

To convert text from English to Arabic keyboard layout:

ar2en -r "qwerty"

Interactive Mode

To enter interactive mode and type the text to be converted:

ar2en -i

Verbose Mode

To display detailed information about the conversion:

ar2en -v "ضصث"

Save Output to a File

To save the converted text to an output file:

ar2en -f input.txt -o output.txt

Full Help

For a full list of options and usage, use:

ar2en --help

Examples

Example 1: Simple Conversion

ar2en "ضصث"

Output:

wet

Example 2: Conversion with Verbose Output

ar2en -v "ضصث"

Output:

The conversion of "ضصث" is "wet"

Example 3: Conversion from Clipboard

ar2en -c

If the clipboard contains "ضصث", the clipboard will be updated with "wet".

Example 4: Conversion from File and Save to Another File

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 file for details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any changes or improvements.

Author

gamalthecreator

>>>>>>> d23772a (initial commit)


Metadata

Release files for ar2en 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ar2en 0.1.2
File Size Uploaded Provenance
ar2en-0.1.2.tar.gz 4.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ar2en 0.1.2
File Interpreter ABI Platform
ar2en-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 8.4 kB

Release files / ar2en-0.1.2.tar.gz

Download URL ar2en-0.1.2.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c391ddb12a07be15aa16ba61ed665e45783e86ba633885c6a19ccad56c941316
BLAKE2b-256 checksum
How to use checksums
80e1da8c1dd21a6382943cd7b8fe9be50ff31f5d9fbf6f7d2c9342a262fde6db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.12

Release files / ar2en-0.1.2-py3-none-any.whl

Download URL ar2en-0.1.2-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
020f4dfba6b95ced9c8ea436f879daed4e37e8e1ac87d9e19927e073a5e229e7
BLAKE2b-256 checksum
How to use checksums
32904cf8198d2dfb6c71246495af6d048ee234b6a3901ef08fe0cb862bbb157e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.12

Security for ar2en 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page