skillfed

opuslib-next

Python bindings to the libopus, IETF low-delay audio codec

opuslib-next v1.3.1 81.7K downloads/30d#14,209 on PyPI13
Permissive license BSD-3-Clause Active released

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-next

uv

uv add opuslib-next

poetry

poetry add opuslib-next

Installing 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

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Multimedia :: Sound/Audio :: ConversionTopic :: Software Development :: Libraries

Tags

opus audio codec pythonlibopus bindingsaudio compression encodinglow-delay codecopus encoder decoderaudio streaming compression
audio-codeclibopus-bindings

More Libraries packages