Skip to main content

Library for performing speech recognition with Baidu Speech Recognition API.

Project description


This project is a wrapper for Baidu Yuyin(voice) API

This project is modified from SpeechRecognition, which is published under the 3-clause BSD license.


  • PyAudio - require manual installation


$ pip install PyBaiduYuyin


Note: I’m still working on this part, contributions are welcomed.

TTS (Text-To-Speech)

Details can be found in source code.


import PyBaiduYuyin as pby
tts = pby.TTS(app_key=YOUR_APP_KEY, secret_key=YOUR_SECRET_KEY)


The usage of Recognition module is same as SpeechRecognition, except using Baidu App Key and Baidu Secret Key instead of Google App Key.

Please see SpeechRecognition’s README for details.


Copyright (c) 2015-2016 Changxu Wang

The source code is available online at GitHub.

This program is made available under MIT License, see LICENSE.txt for details.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for PyBaiduYuyin, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size PyBaiduYuyin-0.1.1.tar.gz (7.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page