# aminoac
A Python package that modifies CTRL-C behavior to play audio before exiting.
## Installation
```bash
pip install aminoac
```
## Usage
Simply import the package and the CTRL-C behavior is automatically modified:
```python
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
Raw data
{
"_id": null,
"home_page": "https://github.com/kennylimz/aminoac",
"name": "aminoac",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": null,
"keywords": "audio, signal, ctrl-c, pygame, mp3",
"author": "kennylimz",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/d5/45/a40abcd02132749c16ab621c5c028ca45578983e7ddd08fed3d428fb179c/aminoac-0.2.1.tar.gz",
"platform": null,
"description": "# aminoac\r\n\r\nA Python package that modifies CTRL-C behavior to play audio before exiting.\r\n\r\n## Installation\r\n\r\n```bash\r\npip install aminoac\r\n```\r\n\r\n## Usage\r\n\r\nSimply import the package and the CTRL-C behavior is automatically modified:\r\n\r\n```python\r\nimport aminoac\r\n\r\n# Now when you press CTRL-C, it will play amns.mp3 before exiting\r\n```\r\n\r\n## What it does\r\n\r\n- Automatically sets up a signal handler for SIGINT (CTRL-C)\r\n- When CTRL-C is pressed, plays the `amns.mp3` audio file\r\n- Then exits normally with the default signal handler\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A module that modifies CTRL-C behavior to play audio",
"version": "0.2.1",
"project_urls": {
"Homepage": "https://github.com/kennylimz/aminoac",
"Issues": "https://github.com/kennylimz/aminoac/issues",
"Repository": "https://github.com/kennylimz/aminoac"
},
"split_keywords": [
"audio",
" signal",
" ctrl-c",
" pygame",
" mp3"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "b991fd41f5bb6ffbdd26791600741ab2d476783b13fb1892f4840f53c9841a2c",
"md5": "e79ad3cd1e2c5d08c1f9999cef42898e",
"sha256": "9c45795e925e43bb531620267fda6da25ad58b28f5ec318cb2e12be6438db8b6"
},
"downloads": -1,
"filename": "aminoac-0.2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e79ad3cd1e2c5d08c1f9999cef42898e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 25793,
"upload_time": "2025-09-01T23:48:48",
"upload_time_iso_8601": "2025-09-01T23:48:48.460351Z",
"url": "https://files.pythonhosted.org/packages/b9/91/fd41f5bb6ffbdd26791600741ab2d476783b13fb1892f4840f53c9841a2c/aminoac-0.2.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "d545a40abcd02132749c16ab621c5c028ca45578983e7ddd08fed3d428fb179c",
"md5": "33110b71cb867d56be6757d28103936a",
"sha256": "66cfbc2abccd09244dd7537f001dc97429ae8941f5b4a47b8557a6b5bd1fcd28"
},
"downloads": -1,
"filename": "aminoac-0.2.1.tar.gz",
"has_sig": false,
"md5_digest": "33110b71cb867d56be6757d28103936a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 27977,
"upload_time": "2025-09-01T23:48:49",
"upload_time_iso_8601": "2025-09-01T23:48:49.502518Z",
"url": "https://files.pythonhosted.org/packages/d5/45/a40abcd02132749c16ab621c5c028ca45578983e7ddd08fed3d428fb179c/aminoac-0.2.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-09-01 23:48:49",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "kennylimz",
"github_project": "aminoac",
"github_not_found": true,
"lcname": "aminoac"
}