Arabic RTLize is a python library written by HasenJ and repackaged by James Dennis
HasenJ's code is available here :: https://github.com/hasenj/arabic-writer
from arabic_rtlize.process import rtlize
ltr_word = '\xda\xa9\xd9\x85\xdb\x8c\xd9\xb9\xdb\x8c'
rtl_word = rtlize(unicode(lrt_word, 'UTF-8'))
python ./setup.py install
Hasan <[email protected]> James Dennis <[email protected]>