NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #1811 most downloaded on PyPI
Reconstruct Arabic sentences to be used in applications that do not support Arabic
Last release 5 months ago
28 Apr 2026
Release timing varies
gaps range from 4 months to 3.3 years
Some releases are documented
notes for 9 of 19 stable releases
2 versions withdrawn
withdrawn after publishing
10 years old
21 releases · first in 2017
Some cleanup and refactoring, with a slight change in behaviour when an error occurs. See README.md for more details
Some cleanup and refactoring, with a slight change in behaviour when an error occurs. See README.md for more details
No more Python 2.x support.
No more Python 2.x support.
Fixed fonttools requirement for Python 2.
One column per quarter.
Fixed fonttools requirement for Python 2.
Nothing published for this version
Nothing published for this version
Nothing published for this version
If you intend to render the text in a TrueType® font, you can tell the library to generate its configuration by reading the font file to figure out wh
If you intend to render the text in a TrueType® font, you can tell the library to generate its configuration by reading the font file to figure out what's supported in the font and what's not.
To use this feature you need to install the library with an extra option (not necessary when you install it with conda):
pip install --upgrade arabic-reshaper[with-fonttools]
Then you can use the reshaper like this:
import arabic_reshaper
reshaper = arabic_reshaper.ArabicReshaper(
arabic_reshaper.config_for_true_type_font(
'/path/to/true-type-font.ttf',
arabic_reshaper.ENABLE_ALL_LIGATURES
)
)
This will parse the font file, and figure out what ligatures it supports and enable them,
as well as whether it has isolated forms or use_unshaped_instead_of_isolated should be
enabled.
The second parameter to config_for_true_type_font can be one of
ENABLE_NO_LIGATURESENABLE_SENTENCES_LIGATURESENABLE_WORDS_LIGATURESENABLE_LETTERS_LIGATURESENABLE_ALL_LIGATURES (default)which controls what ligatures to look for, depending on your usage, see default-config.ini to know what ligatures are there.
Same as v2.0.14 but different license.
Same as v2.0.14 but different license.
New option use_unshaped_instead_of_isolated to get around some fonts missing the isolated form for letters.
New option use_unshaped_instead_of_isolated to get around some fonts missing the isolated form for letters.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Use Exception instead of Error
Use Exception instead of Error
Use pkg_resources.resource_filename instead of depending on __file__ to access default-config.ini.
Use pkg_resources.resource_filename instead of depending on __file__ to access default-config.ini.
Nothing published for this version
Added the ability to configure and customise the reshaper.
Your coding agent can read these notes before it upgrades. Set up the MCP server →