Skip to main content

libsonic

Python bindings for libsonic, a safe Rust port of Sonic.

pip install libsonic
from libsonic import SonicStream

stream = SonicStream(22050, 1)
stream.set_speed(1.5)
stream.write(samples)  # floats in [-1, 1], interleaved by channel
stream.flush()
out = stream.read(stream.available_frames())

write drops a trailing partial frame. SonicStream(rate, channels) raises ValueError for out-of-range dimensions.

Wheels are abi3 and cover CPython 3.11 and later.

Metadata

Release files for libsonic 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for libsonic 0.1.0
File Size Uploaded Provenance Actions
libsonic-0.1.0.tar.gz 49.5 kB Without provenance Details for libsonic-0.1.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for libsonic 0.1.0
File Actions
libsonic-0.1.0-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for libsonic-0.1.0-cp311-abi3-win_amd64.whl
libsonic-0.1.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 abi3 Linux glibc 2.17+ x86-64 Details for libsonic-0.1.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
libsonic-0.1.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.11 abi3 Linux glibc 2.17+ ARM64 Details for libsonic-0.1.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
libsonic-0.1.0-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for libsonic-0.1.0-cp311-abi3-macosx_11_0_arm64.whl

Total release size: 867.1 kB

Release files / libsonic-0.1.0.tar.gz

Download URL libsonic-0.1.0.tar.gz
Size 49.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6283fb27c9ab4ddeb98c179728a42ae07919a8f994c7e8cd7d652bd162481664
BLAKE2b-256 checksum
How to use checksums
c9a1aa8c7435758e3b349cf33cfd3d7171a210e4ec89e9d5fb947a6ff70c07a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / libsonic-0.1.0-cp311-abi3-win_amd64.whl

Download URL libsonic-0.1.0-cp311-abi3-win_amd64.whl
Size 129.0 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
f52c9d6c99fcf292aa1aa3667923d4ea68fddef2e3a6b34b856190ae8f2294fb
BLAKE2b-256 checksum
How to use checksums
ee0bf02c968d5abf08942fbfa2aef71ae7269ab40b6fed9ce29c05428863125c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / libsonic-0.1.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL libsonic-0.1.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 236.0 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
1dca410d72d6c9c194943d9d8ea31d901d3e0e111de0e3b8d49dcadad1d1b3b0
BLAKE2b-256 checksum
How to use checksums
cefda3b256843fb3a5d60425c812429ceb5152d62238627d1c77e38bd19d389e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / libsonic-0.1.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL libsonic-0.1.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 235.0 kB
Tags CPython 3.11 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
eb1a853f3a3c8e552313b81c84cd49aa79aca287d68d5895f1873cdb3251fc5d
BLAKE2b-256 checksum
How to use checksums
9fd7b4a11855256569162cb52011a25aedd9b3c1791159d2b6aff50ec456cb4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / libsonic-0.1.0-cp311-abi3-macosx_11_0_arm64.whl

Download URL libsonic-0.1.0-cp311-abi3-macosx_11_0_arm64.whl
Size 217.5 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5e4545b80f669a9b93172ea81d7eec008ec0aa52210f4746fa6aed77a879ea98
BLAKE2b-256 checksum
How to use checksums
7b8d724abf9de916374443b0ff399b3e81279b6f0be90042280ae83e21389bb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Security for libsonic 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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

5 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page