Skip to main content

Python bindings to libopus with bundled shared libraries

Project description

opuslib-next-bundled

Python bindings to libopus, with the compiled shared library bundled inside platform wheels.

Goals

  • Support Python 3.9 and newer
  • Preserve the opuslib-next Python API as much as practical
  • Publish wheels that do not depend on a system-installed libopus
  • Keep source builds reproducible by vendoring xiph/opus

Installation

pip install opuslib-next-bundled

Wheels are intended to contain libopus directly. Source builds require a populated vendor/opus tree.

Usage

import opuslib_next

By default the package loads the bundled shared library from opuslib_next/_native. To force use of a system library for debugging:

OPUSLIB_NEXT_USE_SYSTEM_LIB=1 python -c "import opuslib_next"

Development

python -m pip install -U build
python -m build
pytest

The CMake build fails fast if vendor/opus is missing. Populate it before building wheels.

If you clone the repository directly, initialize the submodule first:

git submodule update --init --recursive

Upstream Attribution

This project is derived in part from:

  • kalicyh/opuslib-next, whose Python binding layer provided the compatibility base
  • xiph/opus, whose codec implementation is bundled into built wheels

See NOTICE and LICENSES/ for the preserved third-party notices.

Repository

Source repository: https://github.com/kiwi-data/opuslib-next-bundled

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opuslib_next_bundled-0.1.1.tar.gz (4.8 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

opuslib_next_bundled-0.1.1-py3-none-win_amd64.whl (316.8 kB view details)

Uploaded Python 3Windows x86-64

opuslib_next_bundled-0.1.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (371.7 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

opuslib_next_bundled-0.1.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (356.2 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

opuslib_next_bundled-0.1.1-py3-none-macosx_11_0_arm64.whl (329.2 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

opuslib_next_bundled-0.1.1-py3-none-macosx_10_9_x86_64.whl (333.6 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file opuslib_next_bundled-0.1.1.tar.gz.

File metadata

  • Download URL: opuslib_next_bundled-0.1.1.tar.gz
  • Upload date:
  • Size: 4.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for opuslib_next_bundled-0.1.1.tar.gz
Algorithm Hash digest
SHA256 af36ac1585a841cd502a0fa260a7c18fd1b870a6767a42676fd7af39104b0c71
MD5 a2449661dd92d00855af03965b5eab26
BLAKE2b-256 ffb5849e7e4424d5fc2965dbce6383fe518a6f174bdaef0a7768dc73bde5d2be

See more details on using hashes here.

Provenance

The following attestation bundles were made for opuslib_next_bundled-0.1.1.tar.gz:

Publisher: wheels.yml on kiwi-data/opuslib-next-bundled

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opuslib_next_bundled-0.1.1-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for opuslib_next_bundled-0.1.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 62ca41c951e11aee3e639fff4467f35e40cf326c48c102eed7a2b277881e3ccd
MD5 0dc56df40106a89f1705fca2f910683a
BLAKE2b-256 00f0286d8572a4648b77624415de86f66b7181982aae586ec7e1cefc0ba47114

See more details on using hashes here.

Provenance

The following attestation bundles were made for opuslib_next_bundled-0.1.1-py3-none-win_amd64.whl:

Publisher: wheels.yml on kiwi-data/opuslib-next-bundled

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opuslib_next_bundled-0.1.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for opuslib_next_bundled-0.1.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a9e2039139d37c42cb77a0edc7242d281e532de2471bdcf624b30aeb04d2e5f0
MD5 1905a00029b690324b99be1bac5a00a8
BLAKE2b-256 c3c11e1f429bca6d7361c5a58e5436bb8e82d28261cf2d743fbb4b9412a85b38

See more details on using hashes here.

Provenance

The following attestation bundles were made for opuslib_next_bundled-0.1.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: wheels.yml on kiwi-data/opuslib-next-bundled

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opuslib_next_bundled-0.1.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for opuslib_next_bundled-0.1.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0450f00ccc67e58542cad4391e55d56ca9e8fb83ff8f547941d221d2eeb57ee5
MD5 6ef1cbe64cff55fe8a39ba3dc0f1b472
BLAKE2b-256 9c13c5596cca8b83e5c7510ee7c6a3718867f3551243ea6104ca8816af63a172

See more details on using hashes here.

Provenance

The following attestation bundles were made for opuslib_next_bundled-0.1.1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: wheels.yml on kiwi-data/opuslib-next-bundled

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opuslib_next_bundled-0.1.1-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for opuslib_next_bundled-0.1.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b71894d2533e7081d5520d9f9d2293ea08bc22286336a0e6002c947c4441d5b0
MD5 eed33a8c287d9fa093fdbd83ee30b5d9
BLAKE2b-256 664f2ba2ce1eb207a87045bd226683d9a083c534028f0323b9daf92d37403084

See more details on using hashes here.

Provenance

The following attestation bundles were made for opuslib_next_bundled-0.1.1-py3-none-macosx_11_0_arm64.whl:

Publisher: wheels.yml on kiwi-data/opuslib-next-bundled

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file opuslib_next_bundled-0.1.1-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for opuslib_next_bundled-0.1.1-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2266ae4f0e8416bc0b7d7c935c52cf92bb243d8c772c41f3624094cc28e63148
MD5 d23254657944dfd92d2eb38018fbc0b1
BLAKE2b-256 6539a669b0ac478e4ea9363ac6b5ec7ec968c206c65e65742aefb054f30a56d8

See more details on using hashes here.

Provenance

The following attestation bundles were made for opuslib_next_bundled-0.1.1-py3-none-macosx_10_9_x86_64.whl:

Publisher: wheels.yml on kiwi-data/opuslib-next-bundled

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page