Last modified: 2014-11-14 05:03:23 UTC
Pywikibot allows transliteration of text before writing to files/ttys. pywikibot/userinterfaces/transliteration.py - 108K There are existing packages which try to achieve similar goals, such as https://pypi.python.org/pypi/translit https://pypi.python.org/pypi/Unidecode If any of the above are *functional* sufficient for pywikibot needs, we should use it. If there are minor gaps in support for languages, where pywikibot has better transliteration tables, we can push our improvements into the external package. Otherwise, we start a new project with the pywikibot code so others can reuse and help develop/maintain the code.
https://github.com/barseghyanartur/transliterate looks quite nice, and supports latin (that isnt mentioned in the readme).
https://github.com/redvasily/isounidecode also looks good
more: https://pypi.python.org/pypi/Unihandecode https://pypi.python.org/pypi/text-unidecode https://pypi.python.org/pypi/cunidecode https://pypi.python.org/pypi/translitcodec https://pypi.python.org/pypi/trans