Metadata-Version: 2.4
Name: earshot
Version: 0.1.0
Requires-Dist: numpy>=1.20
Requires-Dist: scipy>=1.7
Summary: Python bindings for earshot - fast VAD in Rust
License: MIT OR Apache-2.0
Requires-Python: >=3.8
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM

# earshot-python

Python bindings for [earshot](https://github.com/pykeio/earshot) - fast VAD in Rust.

## Installation

```bash
pip install earshot
```

## Usage

```python
import earshot
import numpy as np

audio = np.load("audio.npy")
segments = earshot.detect(audio, sr=16000)

for start, end in segments:
    print(f"Speech: {start:.2f}s - {end:.2f}s")
```

## Development

### Building from Source

```bash
# Clone the repository
git clone https://codeberg.org/yourusername/earshot-python
cd earshot-python

# Install in development mode
pip install -e .

# Or build wheels
maturin build --release
```

### Releasing

This project uses a manual release process. See [RELEASE.md](RELEASE.md) for detailed instructions.

Quick release:
```bash
./release.sh --test   # TestPyPI first
./release.sh          # Production PyPI
```

Requirements:
- Rust toolchain
- Docker Desktop
- PyPI API token in `~/.pypirc`
```

