Skip to main content

script-background-music

LICENSE CircleCI PyPI version PyPI - Downloads pre-commit Renovate Quality Gate Status Reliability Rating


script-background-music - Play elevator music in the background while your script runs.

Features

  • Play music in the background surprised pickachu face
  • If playback fails is silently ignored

Requirements

Installation

pip install script-background-music

Usage

It is very simple to use the package inside your scripts ...

... the entire time, until your script exits

from script_background_music import play_music_in_background

play_music_in_background()

... for a specific set of instructions

from script_background_music import BackgroundMusicContext

with BackgroundMusicContext():
    # your instructions go here
    pass

API docs

Motivation

Everything is better with music!

Documentation

Can it break my script?

No, it should not at least. If something goes wrong playing music etc. it simply wont play music. If you encounter the opposite feel free to create a bug report.

Contributing

I love your input! I want to make contributing to this project as easy and transparent as possible, whether it's:

  • Reporting a bug
  • Discussing the current state of the configuration
  • Submitting a fix
  • Proposing new features
  • Becoming a maintainer

To get started please read the Contribution Guidelines.

Development

Requirements

Build

python3 setup.py sdist bdist_wheel

Credits

Metadata

Release files for script-background-music 1.5.17

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for script-background-music 1.5.17
File Size Uploaded Provenance
script_background_music-1.5.17.tar.gz 6.4 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for script-background-music 1.5.17
File Interpreter ABI Platform
script_background_music-1.5.17-py3-none-any.whl Python 3 none any Details

Total release size: 12.8 MB

Release files / script_background_music-1.5.17.tar.gz

Download URL script_background_music-1.5.17.tar.gz
Size 6.4 MB
Tags Source
SHA-256 checksum
How to use checksums
ae55d4acb66f5ee973ab61cb2d79e60c87be6b546f7099f15510ffdfbd826881
BLAKE2b-256 checksum
How to use checksums
80a022e4cb33d9ddf575fd66930ed6b3eb17891f2a0950c141a79d5afdbd76ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Release files / script_background_music-1.5.17-py3-none-any.whl

Download URL script_background_music-1.5.17-py3-none-any.whl
Size 6.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
2cfc0b471d2a139d1375fbf842e6135264510470b2f249c5270058b3ec03abf8
BLAKE2b-256 checksum
How to use checksums
774490a0bc3c456a2cc321edb12138fa18e6646c83ca496ab610ff6cff4d0758
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.6

Security for script-background-music 1.5.17

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.

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