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

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.15.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.15-py3-none-any.whl (6.4 MB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for script_background_music-1.5.15.tar.gz
Algorithm Hash digest
SHA256 18af5d2a50e6242163752f058b3de7f56d46c27f25ed31fd6c2a83e5f2f11bcf
MD5 375884f8f1408b0ee043e8b8b06eabae
BLAKE2b-256 41bc1ef67cd5b38194fb5df3853fe0faba92c962fb82fbee0dfd189beba98726

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for script_background_music-1.5.15-py3-none-any.whl
Algorithm Hash digest
SHA256 6086869333fd35827401263c8cef2abcb7f04274f6797bb9818a435e532b0d51
MD5 4004e7ec737f740d0f64e229b16e5f8e
BLAKE2b-256 eef57217f03e9981ef885e60d6a7b9d699ded4eee368ff4b97b6d93880a63e8c

See more details on using hashes here.

Release history Release notifications | RSS feed

1.5.17

2 files

1.5.16

2 files

This release

1.5.15 This release

2 files

1.5.14

2 files

1.5.13

2 files

1.5.12

2 files

1.5.11

2 files

1.5.10

2 files

1.5.9

2 files

1.5.8

2 files

1.5.7

2 files

1.5.6

2 files

1.5.5

2 files

1.5.4

2 files

1.5.3

2 files

1.5.2

2 files

1.5.1

2 files

1.5.0

2 files

1.4.0

2 files

1.3.1

2 files

1.3.0

2 files

1.2.1

2 files

1.2.0

2 files

1.1.1

2 files

1.1.0

2 files

1.0.0

2 files

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