Skip to main content

sonance

A zero-dependency, modern Python replacement for pydub.

Works on Python 3.9–3.14+, including Python 3.13 where pydub is broken due to the removal of audioop.

Installation

pip install sonance

Quick Start

from sonance import AudioSegment

# Load, manipulate, export — same API as pydub
seg = AudioSegment.from_file("audio.mp3")
louder = seg + 6           # +6 dB
first_10s = seg[:10000]    # first 10 seconds
seg.export("out.wav", format="wav")

Migration from pydub

# Change this:
from pydub import AudioSegment

# To this:
from sonance import AudioSegment

# Or for zero-change migration:
import sonance as pydub

License

MIT

Metadata

Release files for sonance 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 sonance 0.1.0
File Size Uploaded
sonance-0.1.0.tar.gz 19.1 kB Details

Built distribution (wheel)

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

Total release size: 30.0 kB

Release files / sonance-0.1.0.tar.gz

Download URL sonance-0.1.0.tar.gz
Size 19.1 kB
Tags Source
SHA-256 checksum
How to use checksums
029b237164ca4ca54a51750d4846bde48247c9b5702288db38ccb698749ed870
BLAKE2b-256 checksum
How to use checksums
5558e3e2624330b2f2a13a5ee1ca5df7d378787ce3fc2f899a7110ff9033d3ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 13, 2026.

Transparency log

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

Download URL sonance-0.1.0-py3-none-any.whl
Size 10.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
967557ee29cb3afb64fcbf0ad1c7b05e65a16bbf50e50df6fd51d73c1bfb6e2c
BLAKE2b-256 checksum
How to use checksums
1a50d1becd2bf5e49838cbab05324e4e72c7b2e962def9e1a393642ba0183dd2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 13, 2026.

Transparency log

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