Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
:Author: Arezqui Belaid and Joshua Patten :Description: Microsoft Translator API module for Python :Documentation: RTD https://python-msspeak.readthedocs.org :Contributors: https://github.com/newfies-dialer/python-msspeak/graphs/contributors :License: MIT
.. image:: https://img.shields.io/travis/newfies-dialer/python-msspeak.svg :target: https://travis-ci.org/newfies-dialer/python-msspeak
.. image:: https://img.shields.io/pypi/v/python-msspeak.svg :target: https://pypi.python.org/pypi/python-msspeak
Microsoft Speech Bing Documentation: https://www.microsoft.com/cognitive-services/en-us/speech-api/documentation/API-Reference-REST/BingVoiceOutput
python-msspeak is a library to synthesize text into human sounding speech
using Microsoft Cognitive Services
_.
In order to utilize this service you must sign up for Microsoft Cognitive
service and register an application. More information on creating a Microsoft
account is located at the getting started with Text to Speech
_ page.
A quick-and-dirty script to utilize the python-msspeak library.
::
from msspeak import msspeak
subscription_key = 'XXXXXXXXXXXX'
tts_msspeak = msspeak.MSSpeak(subscription_key, '/tmp/')
output_filename = tts_msspeak.speak("This is the text I will speak to you", "en-US")
print ("Recorded TTS to %s" % output_filename)
Install, upgrade and uninstall python-msspeak.py with these commands: ::
$ pip install python-msspeak
$ pip install --upgrade python-msspeak
$ pip uninstall python-msspeak
Usage: ::
$ python-msspeak --subscription_key=<subscription_key> -t <text> [-d <directory>] [-url <service_url>] [-h]
Example: ::
$ msspeak --subscription_key=XXXXXXXXX -t "Salut, Vous vous appelez comment?" -l fr
Output : ::
$ Recorded TTS to /tmp/MSTRANSLATE-8895934760117809679-fr.mp3
Feedback are more than welcome, post bugs and feature requests on github: http://github.com/newfies-dialer/python-msspeak/issues
Newfies-Dialer, an open source Auto Dialer software, uses this module to synthetize audio files being play to the end-user. Further information about Newfies-Dialer can be found at https://www.newfies-dialer.org
This module is built and supported by Star2Billing: https://www.star2billing.com
The source code is currently available on github. Fork away!
https://github.com/newfies-dialer/python-msspeak
.. _Microsoft Cognitive Services: https://www.microsoft.com/cognitive-services/en-us/ .. _getting started with Text to Speech: https://www.microsoft.com/cognitive-services/en-us/speech-api
FAQs
Text-To-Speech with MSSpeak
We found that python-msspeak demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.