Skip to main content

Play elevator music in the background while your script runs.

Project description

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

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

script_background_music-1.5.3.tar.gz (6.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

script_background_music-1.5.3-py3-none-any.whl (6.4 MB view details)

Uploaded Python 3

File details

Details for the file script_background_music-1.5.3.tar.gz.

File metadata

  • Download URL: script_background_music-1.5.3.tar.gz
  • Upload date:
  • Size: 6.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.7

File hashes

Hashes for script_background_music-1.5.3.tar.gz
Algorithm Hash digest
SHA256 957525985133c2a701e44e89eae0814c674a0911d10da0d2c267b5dec346fcc7
MD5 e5140cd531c26b117cc9bd6a16c4f6a2
BLAKE2b-256 5f6af4a5d09c9d8b71f29e5190067c820a2fa8e3e3af46a4850493b48df5adf6

See more details on using hashes here.

File details

Details for the file script_background_music-1.5.3-py3-none-any.whl.

File metadata

File hashes

Hashes for script_background_music-1.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 03c3696fdc3e322f2077988af74a6770bf260f9f380949664f0dc62a5c599014
MD5 66ce5084d582041bdb6e49e5c77efa42
BLAKE2b-256 41f96a9eeb79d13db1fa63569b1fc9e40a14b82960b53c4d7798112399cd027c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page