Skip to main content

Raspi-Music-Button

PyPI - License Current version on PyPI Teststatus

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)

Source distribution for raspi-music-button 0.1.0
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)

Table of built distributions (wheels) for raspi-music-button 0.1.0
File Interpreter ABI Platform Actions
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

Release files / raspi_music_button-0.1.0.tar.gz

Download URL raspi_music_button-0.1.0.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
72f6ba440d40241f8099129af153a5903ac977e199027c82c2a514effd0fc197
BLAKE2b-256 checksum
How to use checksums
b5d74543774669bf92506d97fdddb65beff36a35a117461ac77e44e2a59925ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release files / raspi_music_button-0.1.0-py3-none-any.whl

Download URL raspi_music_button-0.1.0-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7a5ebc6a7c8c8af5a3a2f2827f8d7fc7524fac4e0bde2b30848ccb4ad2a7fa26
BLAKE2b-256 checksum
How to use checksums
50dc022e7d69762e6ca497b5e45aaccd04fc893e16e9e7d5358a8ce7b9318f99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page