desphere (Rust)
Clean-room, dependency-free NIST SPHERE (and Shorten) → RIFF/WAV transcoder —
the Rust port of the Python reference in ../src/desphere.
The Python is the spec; this reproduces its output bit-for-bit, validated
against the same committed fixtures.
let sph = std::fs::read("utt.sph")?;
let wav = desphere::transcode(&sph)?; // RIFF/WAV bytes
std::fs::write("utt.wav", wav)?;
Supports PCM (16/32-bit, both byte orders), G.711 μ-law/a-law, and
embedded-shorten v2 — including QLPC (LPC) blocks and lossless μ-law type-8
with the non-linear bitshift remap. Unsupported/corrupt input fails loud
(DecodeError), never panics — safe for WASM.
Build targets
cargo test # core, byte-exact vs fixtures
wasm-pack build --target web --features wasm # WASM (rust/pkg/)
maturin develop -m pyproject.toml --features python # Python module: desphere_native
The core library is dependency-free; the wasm (wasm-bindgen) and python
(pyo3) bindings are opt-in Cargo features that don't burden a plain Rust
dependant.
Clean-room
Built only from public sources (NIST SPHERE docs, ITU-T G.711, Robinson 1994
TR.156) and black-box oracle testing — no GPL/LGPL source was ever read. See
../PROVENANCE.md. MIT-licensed.
Metadata
Release files for desphere-native 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| desphere_native-0.1.1-cp39-abi3-win_amd64.whl | CPython 3.9 | abi3 | Windows x86-64 | Details |
| desphere_native-0.1.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.9 | abi3 | Linux glibc 2.17+ x86-64 | Details |
| desphere_native-0.1.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.9 | abi3 | Linux glibc 2.17+ ARM64 | Details |
| desphere_native-0.1.1-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl | CPython 3.9 | abi3 | macOS 11.0+ ARM64, macOS 10.12+ universal2 (ARM64, x86-64), macOS 10.12+ x86-64 | Details |
Total release size: 1.2 MB
Release files / desphere_native-0.1.1-cp39-abi3-win_amd64.whl
| Download URL | desphere_native-0.1.1-cp39-abi3-win_amd64.whl |
|---|---|
| Size | 146.8 kB |
| Tags | CPython 3.9 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
d244bd0fa97436b1c0ad9c23b2f146aa9fb192951c0121801a864abcd6a4a0e9
|
|
BLAKE2b-256 checksum How to use checksums |
b2ec1115ea0e1af3822d575e1614437a2874049fad020c4c42ed00292f348338
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 8, 2026.
Transparency logRelease files / desphere_native-0.1.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | desphere_native-0.1.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 286.5 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
2b7a6a08135a5d942f214d0e0e0066bbede645e6873bcef097494d8daa53e332
|
|
BLAKE2b-256 checksum How to use checksums |
0a1a7108c0d3d7db1dd6d8c0527ea936f08949cf3ac0e887ac86b37e3fc8b906
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 8, 2026.
Transparency logRelease files / desphere_native-0.1.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | desphere_native-0.1.1-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 284.0 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
cd696fa1e5b14c06f7dfc0de7d76bf0c9e6b695bf8c174012495b6450a30d170
|
|
BLAKE2b-256 checksum How to use checksums |
5fa5cc1b996e8127082c3092c0c20a743fdb04135cad77f30eb585827b482d4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 8, 2026.
Transparency logRelease files / desphere_native-0.1.1-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl
| Download URL | desphere_native-0.1.1-cp39-abi3-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl |
|---|---|
| Size | 501.9 kB |
| Tags | CPython 3.9 abi3 macOS 10.12+ universal2 (ARM64, x86-64) macOS 10.12+ x86-64 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
2ea9bd37e9683d8934b81b83cce5fcf382a3e8d360fbe203823026e2d0a0cb3b
|
|
BLAKE2b-256 checksum How to use checksums |
c541fc63046707efd61ae84a358c1fb6c35a7a4fabaef20a64fb3e7b8b92cdc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 8, 2026.
Transparency logSecurity for desphere-native 0.1.1
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.
Full provenance
All 4 files in this release have been uploaded with provenance metadata.
Attestation for desphere_native-0.1.1-cp39-abi3-win_amd64.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 8, 2026.
Transparency logA 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.