{"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,"search_vec":"'arab':2,12,32 'buckwalt':23 'charact':16 'convers':21 'current':25 'detect':17 'includ':15 'infrequ':30 'librari':5 'mainten':27 'manipul':14 'mode':28 'nlp':33 'normal':18 'process':4,36 'provid':9 'pyarab':1 'python':7 'releas':31 'stem':19 'string':13 'text':3,35 'text-process':34 'transliter':24,37 'util':10 'v0.6.15':8","created_at":"2026-04-27T17:01:25.998937+00:00","updated_at":"2026-04-27T17:01:25.998937+00:00","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,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"0.6.15","cli_name":"","cli_version":null,"type":"library","homepage":"http://pyarabic.sourceforge.net/","github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/pyarabic/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["data","ai-ml"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"passing","verified_at":"2026-06-28","last_verified":"2026-06-28","next_check":"2026-07-29","install_tag":null}}