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.0.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.0-py3-none-win_amd64.whl (316.8 kB view details)

Uploaded Python 3Windows x86-64

opuslib_next_bundled-0.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (997.4 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

opuslib_next_bundled-0.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (950.7 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

opuslib_next_bundled-0.1.0-py3-none-macosx_11_0_arm64.whl (907.2 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

opuslib_next_bundled-0.1.0-py3-none-macosx_10_9_x86_64.whl (881.5 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: opuslib_next_bundled-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 16a7bd980fcaab5e99a507e929718f0bbd90802912e1778b50e95dc0a6758bcd
MD5 1db8486e81743ed51e766102b64e66ee
BLAKE2b-256 5d9771d03477b9edd1ca68fb2048dd77deb85c25204df13848a9579f48ee61f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for opuslib_next_bundled-0.1.0.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.0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for opuslib_next_bundled-0.1.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 6639e6d7fcf826f39fc4723fd3e7a80f1d1fc4bb7f8016c8817adc765ff9d335
MD5 9dc6b0e67b8d760682d9e5b9ea7b85c3
BLAKE2b-256 0b5f8b5ef5052aca74d5ec571327cfc1a4f99a459539446f785ff773325d92b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for opuslib_next_bundled-0.1.0-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.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for opuslib_next_bundled-0.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 35a16d2925016ae5c7ea140b372eee418f1a1c918784bbab3141f2c75b203d1f
MD5 c2e599d29026e0fd34f1030981deba7a
BLAKE2b-256 2169eea0005c34a6eddf44f736c3a3dca30dc38b4ec9b52d90c3ebffcd950c63

See more details on using hashes here.

Provenance

The following attestation bundles were made for opuslib_next_bundled-0.1.0-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.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for opuslib_next_bundled-0.1.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d05647433c6df9d663eb27f7ed34a7dcf8b697f73cbea37c63a6d950be095730
MD5 2946065e7f4bf52225335d2c7e71304e
BLAKE2b-256 171ae9034a2f56eab51a2660c08cd2c5979322afd73345bada91e0c488e52940

See more details on using hashes here.

Provenance

The following attestation bundles were made for opuslib_next_bundled-0.1.0-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.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for opuslib_next_bundled-0.1.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a4f8e64c18e16dd0dd46f0f6bcca56bbbae04c0df7bede4c8d98c0e9328749fc
MD5 a67ab291b576658b35b9eece28696cca
BLAKE2b-256 102d3e7b8f3418621cc0f36ba0f55a4f00fe29c8fe6386d41aaa1f9df555a1cd

See more details on using hashes here.

Provenance

The following attestation bundles were made for opuslib_next_bundled-0.1.0-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.0-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for opuslib_next_bundled-0.1.0-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e477b4ab24dcd4d494841aabb7c024fecaea5bd6debf14c6a239ea00d4998f0e
MD5 13b23ac2b66e3de52d89b4f560e77245
BLAKE2b-256 84d2be4b5a80a7364b01e64003296230bdc24f276ec5dcd19499c8ce8c341bd2

See more details on using hashes here.

Provenance

The following attestation bundles were made for opuslib_next_bundled-0.1.0-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