Skip to main content

A module that modifies CTRL-C behavior to play audio

Project description

aminoac

A Python package that modifies CTRL-C behavior to play audio before exiting.

Installation

pip install aminoac

Usage

Simply import the package and the CTRL-C behavior is automatically modified:

import aminoac

# Now when you press CTRL-C, it will play amns.mp3 before exiting

What it does

  • Automatically sets up a signal handler for SIGINT (CTRL-C)
  • When CTRL-C is pressed, plays the amns.mp3 audio file
  • Then exits normally with the default signal handler

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

aminoac-0.2.1.tar.gz (28.0 kB view details)

Uploaded Source

Built Distribution

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

aminoac-0.2.1-py3-none-any.whl (25.8 kB view details)

Uploaded Python 3

File details

Details for the file aminoac-0.2.1.tar.gz.

File metadata

  • Download URL: aminoac-0.2.1.tar.gz
  • Upload date:
  • Size: 28.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for aminoac-0.2.1.tar.gz
Algorithm Hash digest
SHA256 66cfbc2abccd09244dd7537f001dc97429ae8941f5b4a47b8557a6b5bd1fcd28
MD5 33110b71cb867d56be6757d28103936a
BLAKE2b-256 d545a40abcd02132749c16ab621c5c028ca45578983e7ddd08fed3d428fb179c

See more details on using hashes here.

File details

Details for the file aminoac-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: aminoac-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 25.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for aminoac-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9c45795e925e43bb531620267fda6da25ad58b28f5ec318cb2e12be6438db8b6
MD5 e79ad3cd1e2c5d08c1f9999cef42898e
BLAKE2b-256 b991fd41f5bb6ffbdd26791600741ab2d476783b13fb1892f4840f53c9841a2c

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