Skip to main content

SNR Eval Python

This repository provides a small Python wrapper for the Matlab tool SNR Eval provided by Labrosa: https://labrosa.ee.columbia.edu/projects/snreval.

Installation

Prerequisites

Install the compiled version of SNREval.

Install using Pip

Install with pip:

pip install snreval

Build from source

Clone this repository and install the requirements and the Python package:

pip install -r requirements.txt
python setup.py install

Usage

The usage is simple:

from snreval import SNREval

snr_eval = SNREval("/path/to/snreval")

# Either with a single .wav file
df = snr_eval.eval("/path/to/wave/file.wav")

# Or with a multiple .wav files listed in a .txt file
df = snr_eval.eval("/path/to/txt/file.txt")

The result df is a pandas DataFrame with the following columns:

Metadata

Release files for snreval 1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for snreval 1.2
File Size Uploaded Provenance
snreval-1.2.tar.gz 2.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for snreval 1.2
File Interpreter ABI Platform
snreval-1.2-py3-none-any.whl Python 3 none any Details

Total release size: 6.5 kB

Release files / snreval-1.2.tar.gz

Download URL snreval-1.2.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
285ab52a6457e147a557ef6df862e0d982d09e32c2ff03dd27ef0d201284f16b
BLAKE2b-256 checksum
How to use checksums
687162e947380a4326e134c078bb6bc70a3ca5e0028d920b5073622432e6c961
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7

Release files / snreval-1.2-py3-none-any.whl

Download URL snreval-1.2-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dd60084c9e8f362486349018ca02c8faccc73dd0db91c3060a2305a7579282f6
BLAKE2b-256 checksum
How to use checksums
864f137d2c4e190a21efa349ccf5c2daa1eb43ee47d9e4d084f94a4bc0a9e56b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.7

Security for snreval 1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page