mpcabd / python-arabic-reshaper

Reconstruct Arabic sentences to be used in applications that don't support Arabic
MIT License
398 stars 80 forks source link

make `reshape` available in the public api #5

Closed assem-ch closed 8 years ago

assem-ch commented 8 years ago

Users used to do:

 import arabic_reshaper
 arabic_reshaper.reshape()

instead of:

  from arabic_reshaper import arabic_reshaper
 arabic_reshaper.reshape()

so not to break what they used to, I added reshape to root. If you want to move all , I will change it in __init__.py to:

 from arabic_reshaper import *