Raspi-Music-Button
Raspi-Music-Button is a small python based package that interacts with linux packages on the Raspberry Pi to play music. Moreover it can be used to trigger music by a button connect to one of the Raspberry Pi gpio.
Requirements
The following linux packages need to be installed on the opreation system:
- aplay
- amixer
- mpg321
Installation
$ pip install -U raspi-music-button
Quick Start
The package is available under the command raspi-music. The command line help can be called with
raspi-music --help
To play just a simple song run
raspi-music play song my-song.mp3
To play a whole folder filled with mp3 run
raspi-music play folder /my/folder
Use the following commands to do the same but start playing only when the button is triggered.
raspi-music button song my-song.mp3
raspi-music button folder /my/folder
License
This project is licensed under the MIT License (see the LICENSE file for
details).
Metadata
Release files for raspi-music-button 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| raspi_music_button-0.1.0.tar.gz | 7.7 kB | Without provenance | Details for raspi_music_button-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| raspi_music_button-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for raspi_music_button-0.1.0-py3-none-any.whl |
Total release size: 19.0 kB
Security for raspi-music-button 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.