Play elevator music in the background while your script runs.
Project description
script-background-music
script-background-music - Play elevator music in the background while your script runs.
Why?
Everything is better with 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
Notes on implementation
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.
Credits
- Special thanks to @TaylorSMarks for creating playsound that I modified and ship with this package.
- Clker-Free-Vector-Images for the wonderful elevator image used as project image
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for script-background-music-1.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c2fd846f8eeb2cd9111dfe9ea83834c9301622603078c6a1901ca80305315e1 |
|
MD5 | 6800cc9f59f87db221e4345c0d21bf90 |
|
BLAKE2b-256 | c3a498205a16e018df0249f0bd4346778e0912bd35b45d93a7d561b801a2c2bc |
Close
Hashes for script_background_music-1.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbe4ba55668d42f76cd8b0bc65504245d22d3430a369747112ed1f8794fdb6d4 |
|
MD5 | b91edcee111088487fec42c57c6bb8e7 |
|
BLAKE2b-256 | d03165e9cbffc0e7bfdd978fb7c85accbf5f5e1492d6336e5f687eb92e911dc9 |