
Research
NPM targeted by malware campaign mimicking familiar library names
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
Supply Chain Security
Vulnerability
Quality
Maintenance
License
Sound effects generation for Python, compatible with Pygame and Pyglet.
pyfxr
is on PyPI and pre-compiled for Mac, Windows and Linux. You can install
the library with
pip install pyfxr
# Set mixer to 44kHz mono
pygame.mixer.pre_init(44100, channels=1)
# Generate a sound
tone = pygame.mixer.Sound(
buffer=pyfxr.pluck(duration=1.0, pitch='A4')
)
# Play it
tone.play()
# Generate a random explosion sound
explosion = pyglet.media.StaticSource(pyfxr.explosion())
# Play it
explosion.play()
import sounddevice
import pyfxr
sounddevice.play(pyfxr.jump(), pyfxr.SAMPLE_RATE)
A Pygame GUI is in development, to explore the feature set and create music!
To install the Pygame-based GUI along with the library, use:
pip install pyfxr[gui]
Then you can run the GUI by running pyfxr
.
FAQs
SFXR clone using Pygame and Cython
We found that pyfxr 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
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
Research
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.