GitHub repository: mayhemheroes/hanz2piny
Description: hanz2piny is a tool that easy convert chinese hanzi to mandarin pinyin. It fast, no-DB-file, and supports polyphone.