Skip to main content

Python bindings for earshot - fast VAD in Rust

Project description

earshot-python

Python bindings for earshot - fast VAD in Rust.

Installation

pip install earshot

Usage

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

# 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 for detailed instructions.

Quick release:

./release.sh --test   # TestPyPI first
./release.sh          # Production PyPI

Requirements:

  • Rust toolchain
  • Docker Desktop
  • PyPI API token in ~/.pypirc

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

earshot-0.2.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distributions

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

earshot-0.2.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (385.0 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.17+ ARM64

earshot-0.2.0-cp38-abi3-macosx_11_0_arm64.whl (367.3 kB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

File details

Details for the file earshot-0.2.0.tar.gz.

File metadata

  • Download URL: earshot-0.2.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for earshot-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a3f9300db1f5627554b53b8ecf671b1b98b4157358e96f434eec62e32a403bd6
MD5 80bba643a098668891e6a5e6670a909f
BLAKE2b-256 6655008a4f146a07d700dd87f2c7da84138282bc58ebbd635406709254ad400e

See more details on using hashes here.

File details

Details for the file earshot-0.2.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for earshot-0.2.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f8ef19c03da67bc2e4d6469217232c6527c155cf32559734fda62033a9bbca63
MD5 e09d901bc43caa927c21a849df468d1f
BLAKE2b-256 8117bc9dbedf81947c4d06e7829bee08dde278231c263dd4d87fe8c2190c8fd9

See more details on using hashes here.

File details

Details for the file earshot-0.2.0-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for earshot-0.2.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f37aadf4d92d4832471e6843e977b708cec858df987ebbe2538f6b771fd3d90e
MD5 6c0d65f38dcd8b93dabaf9d2521917e6
BLAKE2b-256 afa52965496fb258d511b4b4e0adbe33d069631e039e5247dbb8fa3dcc6cfbd3

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