opuslib-next
Python bindings to the libopus, IETF low-delay audio codec
What it is and what it does
opuslib-next is a Python wrapper around libopus, the IETF standard low-delay audio codec. It provides functions to encode raw audio into Opus-compressed streams and decode Opus streams back to raw audio, useful for real-time communication, streaming, and storage-efficient audio handling. The package maintains API compatibility with the original opuslib but is actively maintained for modern Python versions (3.10–3.13), whereas the original project is no longer maintained.
The package ships as a pure wheel with no runtime dependencies listed, suggesting either that libopus is bundled or that it relies on a system-installed library. It is a young project (first released in February 2025) but shows active maintenance with recent updates and accepts community fixes.
Use it for:
- Encode raw audio to Opus format for real-time communication or VoIP applications
- Decode Opus-compressed audio streams in media players or streaming clients
- Compress audio files for storage or transmission with low latency and high quality
- Build audio processing pipelines that require IETF-standard codec support
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to libopus, the IETF low-delay audio codec, enabling encoding and decoding of Opus-compressed audio streams in Python applications.
Yes, if you need Opus codec support in Python and are on Python 3.10 or later. The package is actively maintained, has no known vulnerabilities, and carries a permissive license. Verify that libopus is available on your system or bundled in the wheel before installing.
Install
opuslib-next on PyPI
pip
pip install opuslib-nextuv
uv add opuslib-nextpoetry
poetry add opuslib-nextInstalling opuslib-next
Before you install
Low install friction with a pure-wheel distribution. Actively maintained as of August 2026 with recent releases, though the project is a community fork of the original unmaintained opuslib.
License in practice
BSD-3-Clause is permissive; you can use, modify, and distribute this package with minimal restrictions, provided you include the license notice.
Quickstart
pip install opuslib-next
import opuslib_next
# Use opuslib_next to encode or decode Opus audio
Requires Python 3.10 or later; verify libopus is installed on your system or bundled in the wheel distribution
Verify before relying
- Whether libopus system library is required as a compiled dependency or bundled in the wheel
- API compatibility scope with original opuslib beyond the package name change
- Performance characteristics compared to the original opuslib 1.1.5
Package facts
| License | BSD-3-Clause (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 4 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 81,678/month — #14,209 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: opuslib_next-1.3.1-py3-none-any.whl
Keywords: audio, codec, libopus, opus
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
opuslibProvides Python bindings to libopus, the IETF…
permissive · top 15,000 on PyPI
python-ffmpegProvides a Python binding for FFmpeg with both…
permissive · top 15,000 on PyPI
descript-audio-codecCompresses audio into discrete codes at 8 kbps…
permissive · top 15,000 on PyPI
lameencWraps LAME MP3 encoder for Python, providing…
copyleft · top 5,000 on PyPI
encodecEnCodec is a neural audio codec that compresses…
noncommercial · top 15,000 on PyPI
silk-pythonEncodes and decodes audio in SILK format, a…
permissive · top 15,000 on PyPI
torchcodecTorchCodec decodes and encodes videos, audio,…
unclear · top 5,000 on PyPI
snacSNAC compresses audio into discrete…
unclear · top 15,000 on PyPI
scalecodecEncodes and decodes data using the SCALE codec,…
permissive · top 15,000 on PyPI