Mecab controller is a simple wrapper around mecab (AUR). It was created primarily to be used in AJT Japanese, an Anki add-on that generates furigana for Japanese text. Originally based on code from Japanese support.
This repository is already included with AJT Japanese. You don't need to do anything extra.
>>> import mecab_controller
>>> mecab = mecab_controller.MecabController()
>>> print(mecab.reading('ๆจๆฅใใ็ผใใ้ฃในใพใใ'))
ๆจๆฅ[ใใฎใ]ใใ ็ผ[ใ]ใใ ้ฃ[ใ]ในใพใใ
python -m mecab_controller ๆจๆฅใใ็ผใใ้ฃในใพใใ
ๆจๆฅ[ใใฎใ]ใใ ็ผ[ใ]ใใ ้ฃ[ใ]ในใพใใ