Skip to main content

Datasets Toolbox

A toolbox for creating, processing and inspecting audio/image datasets through a simple CLI interface.

Installation

pip install datasets-toolbox

Usage

The goal of datasets-toolbox is to build audio/image datasets with CLI.

All the commands support --config [config-name] and --split [split-name] options to specified the target. Where config-name is the configuration name (e.g. language) and split-name is something like train, validation, test.

Add More Data

datasets import --config [data] --split [train] <sources>

Import data into datasets structure.

If the configuration/split is not configured, will defaults to default configuration and train split.

Modify Dataset

datasets modify <action> --config [data] --split [train] --other-params

If the configuration/split is not configured, will defaults to recursively run on all configurations and all splits.

Audio Slicer

datasets modify slice --config [data] --split [train] --min-length [ms] --hop-size [n]

Audio Resample

datasets modify resample --config [data] --split [train] --sr [16000] --mono

Audio Transcription

datasets modify transcribe --model [openai/whisper-large-v3-turbo]'

Inspect Dataset

datasets inspect --config [data] --split [train] --other-params

If the configuration/split is not configured, will defaults to recursively run on all configurations and all splits.

Audio Hours

datasets inspect hours --config [data] --split [train]

Metadata

Release files for datasets-toolbox 0.1.0

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

Source distribution (sdist)

Source distribution for datasets-toolbox 0.1.0
File Size Uploaded
datasets_toolbox-0.1.0.tar.gz 9.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for datasets-toolbox 0.1.0
File Interpreter ABI Platform
datasets_toolbox-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 23.1 kB

Release files / datasets_toolbox-0.1.0.tar.gz

Download URL datasets_toolbox-0.1.0.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c059d470f2472631d329658b50d01012290e5ba9f98e6af0100f38c9b0593ab2
BLAKE2b-256 checksum
How to use checksums
9705a302628710e8e302f89230aec50975ec6276facee1ba205af2b3e8c5f833
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.15

Release files / datasets_toolbox-0.1.0-py3-none-any.whl

Download URL datasets_toolbox-0.1.0-py3-none-any.whl
Size 13.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0f29df8f68962204096038a0183d3bb1005869ca0db0d5ecc7091be445531bff
BLAKE2b-256 checksum
How to use checksums
779561288c2bda302d603260e410704042518437acf0a2dc5f0206b4ae0cace3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.15

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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