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

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.7
File Size Uploaded Provenance Actions
dspk-0.0.7.tar.gz 1.0 MB With provenance Details for dspk-0.0.7.tar.gz

Built distributions (wheels)

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

Total release size: 141.9 MB

Release files / dspk-0.0.7.tar.gz

Download URL dspk-0.0.7.tar.gz
Size 1.0 MB
Tags Source
SHA-256 checksum
How to use checksums
a5eb770b8b9811ea3d8e6712bf38f18c21c5152c6fb703bdbd92920abe31a553
BLAKE2b-256 checksum
How to use checksums
0ce638ecffe0cc180605c310d427b803218d23e7e4fba5586f86697c5447e689
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 7, 2026.

Transparency log

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

Download URL dspk-0.0.7-cp310-abi3-win_amd64.whl
Size 47.3 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
05eced031d25857f307c46a5701d7f7c2249e06528abbd6d402b05c5b7fcba76
BLAKE2b-256 checksum
How to use checksums
3f6d467798ced1495df5495a39fb1f98e5635cc7efffd73d0dccae0382a21cbe
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 7, 2026.

Transparency log

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

Download URL dspk-0.0.7-cp310-abi3-manylinux_2_34_x86_64.whl
Size 52.6 MB
Tags CPython 3.10 Linux glibc 2.34+ x86-64 abi3
SHA-256 checksum
How to use checksums
5929ca377924ddcd9a75292c002582c5bbf253cf5c3a2caa8f86d3dfde569521
BLAKE2b-256 checksum
How to use checksums
c15febd2aa8ae16b42836ba6e86240eeed8877f81d7585228ae9e8878d833672
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 7, 2026.

Transparency log

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

Download URL dspk-0.0.7-cp310-abi3-macosx_11_0_arm64.whl
Size 41.0 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7d729b7c617dcd0ff24c9348727f3f9f0a8e79fc05fbd445f16ce26056cc18f4
BLAKE2b-256 checksum
How to use checksums
711059272d7c27874b28371286bd32a01ccc0753324ff0324c7d4e083379c0d5
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 7, 2026.

Transparency log

Security for dspk 0.0.7

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