Skip to content

Play elevator music in the background while your script runs.

License

Notifications You must be signed in to change notification settings

timo-reymann/python-script-background-music

Repository files navigation

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

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