Skip to main content

dspk (Python)

Python bindings of dspk: multi-channel signal processing written once in CubeCL, run on any GPU (wgpu, CUDA, HIP) or the CPU, with the device chosen at run time.

import dspk

dspk.runtime.available()   # e.g. ['wgpu', 'cuda', 'cpu']
dspk.runtime.set("cuda")   # every later call runs on CUDA unless given runtime=

Development

From this folder, with the repository's environment (uv sync at the root):

uv run --project ../.. maturin develop --profile validate   # build and install dspk
uv run --project ../.. python -m pytest tests                # tests (scipy references)

Stubs. python/dspk/_native/**/*.pyi are generated from the Rust bindings; regenerate them after changing a binding (tests/test_stubs.py fails when they disagree with the extension):

PY=$(realpath ../../.venv/bin/python)   # absolute: cargo's build script runs elsewhere
LIB=$($PY -c "import sysconfig; print(sysconfig.get_config_var('LIBDIR'))")
LD_LIBRARY_PATH=$LIB PYO3_PYTHON=$PY cargo run --bin stub_gen

The generator links libpython; LD_LIBRARY_PATH points the loader at uv's Python.

Metadata

Release files for dspk 0.0.12

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

Source distribution (sdist)

Source distribution for dspk 0.0.12
File Size Uploaded Provenance Actions
dspk-0.0.12.tar.gz 1.3 MB With provenance Details for dspk-0.0.12.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for dspk 0.0.12
File Interpreter ABI Platform Actions
dspk-0.0.12-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for dspk-0.0.12-cp310-abi3-win_amd64.whl
dspk-0.0.12-cp310-abi3-manylinux_2_34_x86_64.whl CPython 3.10 abi3 Linux glibc 2.34+ x86-64 Details for dspk-0.0.12-cp310-abi3-manylinux_2_34_x86_64.whl
dspk-0.0.12-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for dspk-0.0.12-cp310-abi3-macosx_11_0_arm64.whl

Total release size: 170.7 MB

Release files / dspk-0.0.12.tar.gz

Download URL dspk-0.0.12.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
35b7e2dbfe13cf96c598b85510da01dce14d028ad96e3c25902e00d40eb58206
BLAKE2b-256 checksum
How to use checksums
2f1569262bb416c6027499f2ad68b5a7a5901c92a4aced16c59f812992770483
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

Release files / dspk-0.0.12-cp310-abi3-win_amd64.whl

Download URL dspk-0.0.12-cp310-abi3-win_amd64.whl
Size 54.6 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
e5367def81200830e60d7b7f38f3b1cf79081d7eea1aad8ce70259ad9a383299
BLAKE2b-256 checksum
How to use checksums
9c37cae11105a8dbc6475d17acc4f08a796216392fcc286d71ec282ecca22f35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

Release files / dspk-0.0.12-cp310-abi3-manylinux_2_34_x86_64.whl

Download URL dspk-0.0.12-cp310-abi3-manylinux_2_34_x86_64.whl
Size 67.8 MB
Tags CPython 3.10 Linux glibc 2.34+ x86-64 abi3
SHA-256 checksum
How to use checksums
ce8c7d511be507d1c9be68cc1ead427fff105f28cc2ef49979aac664230526a6
BLAKE2b-256 checksum
How to use checksums
a470f4361c6b78a7a91749e796430944033aad8cc5527fabc7346d0010e6af2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

Release files / dspk-0.0.12-cp310-abi3-macosx_11_0_arm64.whl

Download URL dspk-0.0.12-cp310-abi3-macosx_11_0_arm64.whl
Size 47.0 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9d05497f103c3677386155ebbf829cc5ff8981f24b6403a40a00557b9b2c5ddb
BLAKE2b-256 checksum
How to use checksums
9e88e81f1521a860a6e3fa5ee892c29f2da3320dacf3c93d3779f2e9e0c89e52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 18, 2026.

Transparency log

Security for dspk 0.0.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.

Full provenance

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for dspk-0.0.12.tar.gz

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 Nov 18, 2026.

Transparency log

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.

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