{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/4"}],"enrichment":{"capability":"Reshapes Arabic text characters into their correct contextual forms for display in applications that don't natively support Arabic script rendering.","skillfed_tags":["arabic-script","text-rendering","internationalization"],"use_cases":["Render Arabic text on images using PIL when the font doesn't handle shaping automatically.","Prepare Arabic text for display in web frameworks or libraries that lack right-to-left and shaping support.","Process Arabic user input for storage or display in legacy systems without Arabic rendering capability.","Generate correctly shaped Arabic text for PDF generation or document export.","Support Farsi or Urdu text in applications originally designed for left-to-right scripts."],"what_it_does":"Arabic Reshaper solves a core rendering problem: Arabic script characters change shape based on their position in a word (initial, medial, final, or isolated), but many applications and libraries don't handle this automatically. This library takes Arabic text and replaces each character with its correct contextual form, making it displayable in systems without native Arabic support.\n\nThe package works alongside the Unicode bidirectional algorithm (typically via python-bidi) to handle both character shaping and text direction. It offers fine-grained configuration for ligature support, diacritical mark handling, and font-specific behavior, making it suitable for diverse use cases from simple text processing to image rendering with PIL.","worth_installing":"Yes. The package solves a real, narrow problem with no runtime dependencies, active maintenance, and permissive licensing. Install it if you need to display Arabic, Farsi, or Urdu text in an application or library that doesn't natively support Arabic script shaping. Skip it if your rendering stack already handles Arabic natively."},"id":"arabic-reshaper","links":{"html":"https://skillfed.io/packages/arabic-reshaper","md":"https://skillfed.io/packages/arabic-reshaper.md","pypi":"https://pypi.org/project/arabic-reshaper/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-28","license_spdx":null,"license_treatment":"permissive","name":"arabic-reshaper","python_support":"supports_current","summary":"Reconstruct Arabic sentences to be used in applications that do not support Arabic"},"popularity":{"monthly_downloads":5495226,"position":2089,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"3.0.1"}
