semvec/pypi-packages huggingface dataset:
aminoac 0.2.1
A module that modifies CTRL-C behavior to play audio
License: MIT
Requires Python: >=3.6
Keywords: audio, signal, ctrl-c, pygame, mp3

# 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
neuralhash 0.1.2
Generates a hash from a reverse engineered Apple NeuralHash model
License: MIT
Requires Python: >=3.8

# Python NeuralHash

This is a library that exposes the [Apple Neuralhash](https://www.apple.com/child-safety/pdf/CSAM_Detection_Technical_Summary.pdf) model, which can be used to determine similar images, even if the images are not exactly the same.

## Installation

From pip:

```bash
pip install neuralhash
```

From source:

```bash
git clone https://github.com/joshterrill/python-neuralhash.git
cd neuralhash
pip install -e .
```

## Usage

Python API:

```python
from neuralhash import get_neuralhash_hex

hash_value = get_neuralhash_hex("tests/sample.png")
print(hash_value)
# ab13fcd08dd3b0a31b07fa2e
```

CLI:

After installation, you also get a command-line tool:

```bash
neuralhash path/to/image.png
# path/to/image.png: a0cca3edec8339d006068f1d
```

Hash multiple files at once:

```bash
neuralhash image1.png image2.jpg
# image1.png: a0cca3edec8339d006068f1d
# image2.png: ab13fcd08dd3b0a31b07fa2e
```

## License

MIT