add python support

Signed-off-by: RyanZhu <troyzx1024@gmail.com>