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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sonance-0.1.0.tar.gz | 19.1 kB | With provenance | Details for sonance-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sonance-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for sonance-0.1.0-py3-none-any.whl |
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 logRelease 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 logSecurity for sonance 0.1.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for sonance-0.1.0.tar.gz
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 logA 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.