$npx skillfedfor your agent

sox

Python wrapper around SoX.

With conditionsPyPI GraphicsReleased Mar 2024908.8K downloads / moBSD-3-ClauseSource build

Decision gist · record as of 2026-08-14

sdist only — sox-1.5.0.tar.gz · builds from source
v1.5.0 · released 2024-03-20 · 2 runtime deps: numpy, typing-extensions

Yes, with conditions. Install if you need SoX's audio processing power from Python and can meet the system dependency requirement (SoX 14.4.2+). The package is stable and permissively licensed, but maintenance is aging (last release 2024-03-20) and Python version support is unspecified—verify compatibility before relying on it in production. High install friction and lack of recent activity make it less suitable for new projects unless SoX integration is essential.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • SoX version 14.4.2 or higher must be installed on the system before importing sox; Python support version is unspecified.
  • High install friction: requires SoX 14.4.2+ to be installed separately on the system (via Homebrew, apt-get, or source).
  • Package maintenance is aging—last release was 2024-03-20, over 877 days ago, though the repository remains active and unarchivedwith recent commits.

License · maintenance · safety

BSD-3-Clause (permissive) — BSD-3-Clause permissive license allows commercial and private use with minimal restrictions; you must include a copy of the license and disclaimer in distributions.

last release 2024-03-20 (877 days) · last repo commit 2025-03-26 · 541 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 908,777 downloads/mo, #4,751 on PyPI

Verify before relying

import sox
tfm = sox.Transformer()
tfm.trim(5, 10.5)
tfm.compand()
tfm.build_file('input.wav', 'output.aiff')

# or with in-memory arrays
import numpy as np
y = np.sin(2 * np.pi * 440.0 * np.arange(44100) / 44100)
tfm = sox.Transformer()
tfm.pitch(2)
y_out = tfm.build_array(input_array=y, sample_rate_in=44100)
  • Exact Python version compatibility (requires_python is unspecified in metadata)
  • Whether high install friction reflects unresolved dependency issues or simply the need for a system library
  • Current test coverage and whether aging maintenance affects reliability for modern audio formats
Same gist for agents: .md · .json

What it is and what it does

pysox is a Python wrapper around the SoX command-line audio processor, exposing its effects and transformations through a Transformer class for file-to-file and array-to-array audio processing, and a Combiner class for concatenating multiple audio files. It depends on numpy for array handling and requires SoX itself to be installed as a system dependency.

The package lets you apply audio effects (compression, fading, pitch shifting, trimming), convert formats and sample rates, and work with audio either as files or in-memory numpy arrays. It is typically used in audio analysis pipelines, music information retrieval workflows, and batch audio preprocessing tasks where SoX's command-line tools are needed from Python without spawning subprocesses directly.

Use it for

  • Trim, compress, and fade audio files in batch preprocessing pipelines for machine learning datasets.
  • Pitch-shift or resample in-memory audio arrays during real-time audio analysis or feature extraction.
  • Concatenate multiple audio files with effects applied in a single operation.
  • Convert audio between formats (WAV, AIFF, MP3, FLAC, OGG) and sample rates programmatically.
  • Query audio file metadata (sample rate, duration, silence detection) without external subprocess calls.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, with conditions.

Install if you need SoX's audio processing power from Python and can meet the system dependency requirement (SoX 14.4.2+). The package is stable and permissively licensed, but maintenance is aging (last release 2024-03-20) and Python version support is unspecified—verify compatibility before relying on it in production. High install friction and lack of recent activity make it less suitable for new projects unless SoX integration is essential.

Install

sox on PyPI

Before you install

High install friction: requires SoX 14.4.2+ to be installed separately on the system (via Homebrew, apt-get, or source). Package maintenance is aging—last release was 2024-03-20, over 877 days ago, though the repository remains active and unarchivedwith recent commits.

SoX version 14.4.2 or higher must be installed on the system before importing sox; Python support version is unspecified.

License in practice

BSD-3-Clause permissive license allows commercial and private use with minimal restrictions; you must include a copy of the license and disclaimer in distributions.

Quickstart

import sox
tfm = sox.Transformer()
tfm.trim(5, 10.5)
tfm.compand()
tfm.build_file('input.wav', 'output.aiff')

# or with in-memory arrays
import numpy as np
y = np.sin(2 * np.pi * 440.0 * np.arange(44100) / 44100)
tfm = sox.Transformer()
tfm.pitch(2)
y_out = tfm.build_array(input_array=y, sample_rate_in=44100)

Verify before relying

  • Exact Python version compatibility (requires_python is unspecified in metadata)
  • Whether high install friction reflects unresolved dependency issues or simply the need for a system library
  • Current test coverage and whether aging maintenance affects reliability for modern audio formats

Package facts

LicenseBSD-3-Clause permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependencies
2 packages
numpytyping-extensions
MaintenanceAging 877 days since the last release
Last repo commit
First released
Downloads908,777 / month, #4,751 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: sox-1.5.0.tar.gz

Tags

Capabilities
audio effects processing pythonsox wrapper pythonaudio trimming compression fadeaudio format conversionaudio signal processing librarybatch audio transformationpitch shifting audio python
Topics
audio-processingsox-wrappersignal-processing
PyPI keywords
audioeffectsSoX

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “sox wrapper python”

  • soxPython wrapper that exposes SoX audio processing…
  • audiofileReads and writes audio files across formats supported by ffmpeg, sox,…
  • qwen-asrQwen3-ASR provides speech recognition and language identification for…

Give your agent the search over MCP, or paste the wish link into any chat.

More Graphics packages

pillow Worth it
PyPI · Graphics · released Jul 2026

Pillow adds image processing capabilities to Python, providing file format support, efficient pixel data handling, and image manipulation operations.

Install it if you need to work with images in Python—it is the de facto standard for this task.

MIT-CMUcompiled wheel · 3.10+
547.1Mdownloads / mo
fonttools Worth it
PyPI · Text Processing · released May 2026

fonttools manipulates font files in multiple formats (TrueType, OpenType, AFM, Type 1, Mac-specific) and includes TTX, a tool to convert fonts to and from XML text format.

Install it if you need to read, write, or manipulate fonts programmatically or via the TTX command-line tool.

permissive licensepure Python · 3.10+
235.9Mdownloads / mo
matplotlib-inline Worth it
PyPI · Graphics · released May 2026

Enables matplotlib figures to display inline directly within Jupyter notebooks and IPython environments instead of in separate windows.

BSD-3-Clausepure Python · 3.9+
130.5Mdownloads / mo
pymupdf Worth it
PyPI · Libraries · released Aug 2026

PyMuPDF extracts, renders, converts, and manipulates PDF and other document formats (XPS, EPUB, images, Office files via Pro) with high performance, providing text, tables, images, and metadata with precise layout information.

The AGPL license requires careful review if you are building proprietary software—commercial licensing is available from Artifex.

AGPLcompiled wheel · 3.10+
114.9Mdownloads / mo
pypdfium2 Worth it
PyPI · Libraries · released Aug 2026

pypdfium2 is a Python binding to PDFium that enables PDF rendering, inspection, manipulation, and creation through a ctypes interface to Google's PDFium library.

Install it if you need PDF rendering, inspection, or manipulation in Python; the medium install friction is offset by comprehensive platform support.

permissive licensecompiled wheel · 3.6+
76.9Mdownloads / mo
altair Worth it
PyPI · Graphics · released Jun 2026

Altair is a declarative Python library for creating interactive statistical visualizations by writing simple, readable code that compiles to Vega-Lite specifications.

BSD-3-Clausepure Python · 3.10+
54.5Mdownloads / mo

See also soxr · audiofile · audiomentations · python-stretch · stftpitchshift · miniaudio · pedalboard · fmod-toolkit · python_speech_features