This release is a pre-release and may not be stable for production use.
This Python module provides functions to retrieve data and information easily from Voice Foundation’s Pathological Voice Quality Database.
This module currently does not retrieve the database itself on its own. User must download and extract the files first from https://prod-dcd-datasets-cache-zipfiles.s3.eu-west-1.amazonaws.com/9dz247gnyb-2.zip
Install
pip install pvqd
Use
from pvqd import PVQD
# to initialize (must call this once in every Python session)
pvqd = PVQD('<path to the root directory of the extracted database>')
# to get a copy of the full database with averaged CAPE-V scores
df = pvqd.query(include_cape_v=True)
# to get age, gender, and mean GRBAS grade scores
df = pvqd.query(["Age", "Gender"], include_grbas='grade')
# to get a dataframe of WAV files and start and ending timestamps of all /a/ segment
df = pvqd.get_files('/a/')
# to iterate over '/a/' acoustic data of female participants along with
# age and mean GRBAS scores
for id, fs, x, auxdata in pvqd.iter_data('/a/',
auxdata_fields=["Age"],
include_grbas=True,
Gender="Female"):
# run the acoustic data through your analysis function, get measurements
params = my_analysis_function(fs, x)
# log the measurements along with the age and GRBAS info
my_logger.log_outcome(id, *auxdata, *params)
Metadata
Release files for pvqd 0.1.0.dev5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pvqd-0.1.0.dev5.tar.gz | 29.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pvqd-0.1.0.dev5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 56.4 kB
Release files / pvqd-0.1.0.dev5.tar.gz
| Download URL | pvqd-0.1.0.dev5.tar.gz |
|---|---|
| Size | 29.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2edf6f7027af8fdb364668c1fc8519ed0a169d4944cdd97d4df887e47f4aa14e
|
|
BLAKE2b-256 checksum How to use checksums |
8521638e9effc9ab40c24b40632116eb4ed754b8453b892bfb6a020783fd87a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / pvqd-0.1.0.dev5-py3-none-any.whl
| Download URL | pvqd-0.1.0.dev5-py3-none-any.whl |
|---|---|
| Size | 27.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
770b7e139932d5308fafaaab990fe84a7af6497a2661e46f52268fc08b706255
|
|
BLAKE2b-256 checksum How to use checksums |
636cbe47bf4ce9ec13ca161a979ebc3851e11f77581fcfd1bc22cc3f684a7eba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Security for pvqd 0.1.0.dev5
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.