Registry / data / pyarabic

pyarabic

JSON →
library0.6.15pypypi✓ verified 89d ago

Arabic text processing library for Python (v0.6.15). Provides utilities for Arabic string manipulation, including character detection, normalization, stemming, and conversion to Buckwalter transliteration. Currently in maintenance mode with infrequent releases.

pip install pyarabic
INSTALL
IMPORT
SIG · PYARABIC
P
pyarabic
datapythonv0.6.15
Install
1.6s avg
Import
32ms
Disk
17MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v0.6.15 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.034s · 19.5MB
glibc
py 3.10–3.95 runs
installs and imports cleanly · install 1.6s · import 0.030s · 20MB
17MB installed
● package 17MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

arabic_normalize
✓ from pyarabic import araby
✗ from pyarabic import arabic_normalize
The main module is 'araby', not 'arabic_normalize'.
Araby
✓ import pyarabic.araby as araby
✗ import araby
The package is pyarabic, not a standalone 'araby' package.

Basic usage: import the araby module and use its functions.

import pyarabic.araby as araby text = 'السلام عليكم' normalized = araby.strip_tashkeel(text) print(normalized)
Debug
Known issues
gotchaThe main module is named 'araby', not 'pyarabic' directly. Import via 'import pyarabic.araby as araby'.
fix
Use 'import pyarabic.araby as araby'.
affects: all
gotchaMany functions expect Unicode strings, not byte strings. Passing bytes will raise TypeError.
fix
Ensure all inputs are str (Unicode) in Python 3.
affects: all
deprecatedThe module 'pyarabic.soundex' is deprecated and may be removed in future versions.
fix
Use alternative soundex implementations like 'arabic_soundex' package.
affects: >=0.6.12
Errors
Common errors & fixes
ModuleNotFoundError: No module named 'araby'
Attempted direct import of 'araby' instead of 'pyarabic.araby'.
fix
Run 'pip install pyarabic' and use 'import pyarabic.araby as araby'.
AttributeError: module 'pyarabic' has no attribute 'strip_tashkeel'
Trying to call function directly on pyarabic instead of the araby submodule.
fix
Use 'pyarabic.araby.strip_tashkeel(...)' or 'import pyarabic.araby as araby; araby.strip_tashkeel(...)'.
Upgrade
Version history
0.6.15latest on PyPI · released Jun 18, 2022
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
12
OpenAI (training)
1
Resources
pyarabic — pip install pyarabic · libregistry