{"id":21729,"library":"pyarabic","title":"PyArabic","description":"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.","status":"active","version":"0.6.15","language":"python","source_language":"en","source_url":"https://github.com/linuxscout/pyarabic","tags":["arabic","nlp","text-processing","transliteration"],"install":[{"cmd":"pip install pyarabic","lang":"bash","label":"PyPI"}],"dependencies":[],"imports":[{"note":"The main module is 'araby', not 'arabic_normalize'.","wrong":"from pyarabic import arabic_normalize","symbol":"arabic_normalize","correct":"from pyarabic import araby"},{"note":"The package is pyarabic, not a standalone 'araby' package.","wrong":"import araby","symbol":"Araby","correct":"import pyarabic.araby as araby"}],"quickstart":{"code":"import pyarabic.araby as araby\ntext = 'السلام عليكم'\nnormalized = araby.strip_tashkeel(text)\nprint(normalized)","lang":"python","description":"Basic usage: import the araby module and use its functions."},"warnings":[{"fix":"Use 'import pyarabic.araby as araby'.","message":"The main module is named 'araby', not 'pyarabic' directly. Import via 'import pyarabic.araby as araby'.","severity":"gotcha","affected_versions":"all"},{"fix":"Ensure all inputs are str (Unicode) in Python 3.","message":"Many functions expect Unicode strings, not byte strings. Passing bytes will raise TypeError.","severity":"gotcha","affected_versions":"all"},{"fix":"Use alternative soundex implementations like 'arabic_soundex' package.","message":"The module 'pyarabic.soundex' is deprecated and may be removed in future versions.","severity":"deprecated","affected_versions":">=0.6.12"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Run 'pip install pyarabic' and use 'import pyarabic.araby as araby'.","cause":"Attempted direct import of 'araby' instead of 'pyarabic.araby'.","error":"ModuleNotFoundError: No module named 'araby'"},{"fix":"Use 'pyarabic.araby.strip_tashkeel(...)' or 'import pyarabic.araby as araby; araby.strip_tashkeel(...)'.","cause":"Trying to call function directly on pyarabic instead of the araby submodule.","error":"AttributeError: module 'pyarabic' has no attribute 'strip_tashkeel'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}