Skip to main content

arabic2latin

Convert Arabic characters to their Latin (English) homophone.

Installation

Install from PyPI:

pip install arabic2latin

Alternatively, install from source:

pip install git+https://github.com/rexa222/arabic2latin

Usage/Examples

from arabic2latin import arabic_to_latin

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

print(converted_text)

Output:

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.

converted_text = arabic_to_latin(arabic_text, debug=True)

Output:

unknown character: ?

Contributing

If you find a bug 🐛, please open a bug report. If you have an idea for an improvement or new feature 🚀, please open a feature request.

Metadata

Release files for arabic2latin 1.1.4

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

Source distribution (sdist)

Source distribution for arabic2latin 1.1.4
File Size Uploaded Provenance Actions
arabic2latin-1.1.4.tar.gz 4.2 kB Without provenance Details for arabic2latin-1.1.4.tar.gz

Built distribution (wheel)

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

Total release size: 9.2 kB

Release files / arabic2latin-1.1.4.tar.gz

Download URL arabic2latin-1.1.4.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
143b34cf61488843d081cf7a50520683f020aa06e6306b0baf4a2a14b47220e1
BLAKE2b-256 checksum
How to use checksums
884ab664e075c243dc8120ac008932e6e74f2a197ec7414aae11ea4c3d25b04d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Release files / arabic2latin-1.1.4-py3-none-any.whl

Download URL arabic2latin-1.1.4-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0518089e925e6d2943d837112d854c6bbe10f233375b3a8d1f54f0c56a7aded2
BLAKE2b-256 checksum
How to use checksums
db0e857d3b200897500e539c22cbf4b64152ee4bc49462dc6fe3fe5969a76686
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.1

Security for arabic2latin 1.1.4

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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