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.
Allows your Windows python program to: * get the text spoken by the user when prompted (a la raw_input()) * execute a callback when certain phrases are heard * execute a callback when any understandable text is heard * have different callbacks for different groups of phrases * convert text to speech.
Showing speaking out loud, a simple input, and listening for all recognizable words. ::
import speech
import time
response = speech.input("Say something, please.")
speech.say("You said " + response)
def callback(phrase, listener):
if phrase == "goodbye":
listener.stoplistening()
speech.say(phrase)
listener = speech.listenforanything(callback)
while listener.islistening():
time.sleep(.5)
Requires Windows XP or Vista, and Python 2.4 or 2.5. If you use Windows Vista, you'll need to say "start listening" if Speech Recognition is not awake.
In addition to easy_installing speech.py, you'll need pywin32
(for Python 2.5 <http://tinyurl.com/5ezco9>
__ or
for Python 2.4 <http://tinyurl.com/5uzpox>
); and if you're on XP,
you'll need the Microsoft Speech kit (installer
here <http://tinyurl.com/br8ysh>
).
Homepage: http://pyspeech.googlecode.com/
Source:
Browse at http://code.google.com/p/pyspeech/source/browse/trunk/
Get with svn co http://pyspeech.googlecode.com/svn/trunk/ pyspeech-read-only
Please let me know if you like or use this module - it would make my day!
FAQs
A clean interface to Windows speech recognition and text-to-speech capabilities.
We found that speech 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.