Skip to main content

Easy beeping (merhp) from the terminal.

Project description

mehrp

The mehrp package allows you to easily play the "mehrp" heard from Boris's terminal in the classic action film Golden Eye.

Times you might wish for your terminal to "merhp" at you include:

  • When a long process finishes.
  • When an error occurs.
  • When important input is required.
  • To dramatically notify you that you're "in".

Try the Demo

> pip install mehrp
> mehrp

Example Usage

Play a number of merhps while blocking:

mehrp(3)
# merhp sounds 3 times

Play mehrps during an input() builtin call:

value = mehrp_until_input()
# merhps until user input

value = mehrp_until_input('>')
# same as above, but with a prompt

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

mehrp-0.0.1.tar.gz (46.6 kB view hashes)

Uploaded source

Built Distribution

mehrp-0.0.1-py3-none-any.whl (47.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page