DeepFilterNet C runtime and DFN3 model bundled in platform wheels
Project description
deepfilternet-slim
deepfilternet-slim distributes the DeepFilterNet C runtime and the
standard DeepFilterNet3 ONNX model in platform wheels. It does not depend on
PyTorch and does not require a system installation of DeepFilterNet.
The package is intended to be the native runtime layer used by MushroomAgent. Applications receive stable paths from a small typed Python API instead of asking users to configure platform-specific library and model paths.
Installation
pip install deepfilternet-slim
Usage
from deepfilternet_slim import runtime_assets
assets = runtime_assets()
print(assets.library_path)
print(assets.model_path)
The wheel currently contains:
- the DeepFilterNet C API runtime built from the pinned
maincommitd375b2d8309e0935d165700c91da9de862a99c31(not thev0.5.6release tag); DeepFilterNet3_onnx.tar.gz, verified with a pinned SHA256 checksum;- the upstream MIT and Apache-2.0 license texts.
The upstream capi feature normally embeds the default model in the shared
library while also accepting an external model path. The build stages a clean
copy of libDF and removes that feature edge, so the model is included exactly
once in each wheel.
The dedicated Cargo lock updates the compatible tract runtime to 0.21.17.
That version avoids selecting Apple AMX kernels on virtualized macOS arm64
runners, where those instructions are unavailable.
Supported wheels
- Linux x86_64
- Linux AArch64
- macOS x86_64
- macOS arm64
- Windows AMD64
Linux wheels are built in the manylinux environment selected by cibuildwheel.
The Python module has no CPython ABI dependency, so one py3-none-<platform>
wheel serves every supported Python version.
Development
Clone with the pinned upstream source:
git clone --recurse-submodules https://github.com/kiwi-data/deepfilternet-slim.git
cd deepfilternet-slim
python -m build --wheel
python -m pip install --force-reinstall dist/*.whl
pytest -q
Configuration fails if the submodule commit or model checksum differs from the values pinned by this repository.
Releasing
Push a v* tag. GitHub Actions builds and tests every platform wheel, then
publishes them to PyPI using Trusted Publishing. Configure a PyPI project named
deepfilternet-slim with the GitHub pypi environment before the
first release.
Upstream attribution
DeepFilterNet is developed by Hendrik Schröter and contributors and is
available from https://github.com/Rikorose/DeepFilterNet. See NOTICE and the
license files bundled in each wheel.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file deepfilternet_slim-0.1.0-py3-none-win_amd64.whl.
File metadata
- Download URL: deepfilternet_slim-0.1.0-py3-none-win_amd64.whl
- Upload date:
- Size: 12.4 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de8f866bebdb52b41026aee3be2ee081bb8bfeabf371e642c487950f469fa777
|
|
| MD5 |
1cdfe299dd70ffa6f9640660889c6cf7
|
|
| BLAKE2b-256 |
eca67b35f6b960494f2081bb340e97d584e99aa27b2eaafd77d5d270bac16176
|
Provenance
The following attestation bundles were made for deepfilternet_slim-0.1.0-py3-none-win_amd64.whl:
Publisher:
wheels.yml on kiwi-data/deepfilternet-slim
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
deepfilternet_slim-0.1.0-py3-none-win_amd64.whl -
Subject digest:
de8f866bebdb52b41026aee3be2ee081bb8bfeabf371e642c487950f469fa777 - Sigstore transparency entry: 2188357362
- Sigstore integration time:
-
Permalink:
kiwi-data/deepfilternet-slim@0ac48ca82afd1a3df5a4eaa3a11c3d5e1407afd8 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/kiwi-data
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@0ac48ca82afd1a3df5a4eaa3a11c3d5e1407afd8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file deepfilternet_slim-0.1.0-py3-none-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: deepfilternet_slim-0.1.0-py3-none-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 13.2 MB
- Tags: Python 3, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
154f15e38a3b114dc51e7a5e524cd719e99f2252200e5f635474db78db9f753e
|
|
| MD5 |
7d872e32df8ccb999e0a2bce275d6f44
|
|
| BLAKE2b-256 |
5f44a17bf14f44c331e018847ab0a7c09f5e3c98f38b9b9988c61df35afa9a03
|
Provenance
The following attestation bundles were made for deepfilternet_slim-0.1.0-py3-none-manylinux_2_28_x86_64.whl:
Publisher:
wheels.yml on kiwi-data/deepfilternet-slim
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
deepfilternet_slim-0.1.0-py3-none-manylinux_2_28_x86_64.whl -
Subject digest:
154f15e38a3b114dc51e7a5e524cd719e99f2252200e5f635474db78db9f753e - Sigstore transparency entry: 2188357370
- Sigstore integration time:
-
Permalink:
kiwi-data/deepfilternet-slim@0ac48ca82afd1a3df5a4eaa3a11c3d5e1407afd8 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/kiwi-data
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@0ac48ca82afd1a3df5a4eaa3a11c3d5e1407afd8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file deepfilternet_slim-0.1.0-py3-none-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: deepfilternet_slim-0.1.0-py3-none-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 12.3 MB
- Tags: Python 3, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4aff696052c40ed73a1b26c5364529222f0ca15de759995e1ce2dea7466be3b8
|
|
| MD5 |
73479a300970dea70c793bf7f045e48c
|
|
| BLAKE2b-256 |
b83f592927a86731c6f443eb698c00d6049043aed321f4cace7320b38ab4035d
|
Provenance
The following attestation bundles were made for deepfilternet_slim-0.1.0-py3-none-manylinux_2_28_aarch64.whl:
Publisher:
wheels.yml on kiwi-data/deepfilternet-slim
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
deepfilternet_slim-0.1.0-py3-none-manylinux_2_28_aarch64.whl -
Subject digest:
4aff696052c40ed73a1b26c5364529222f0ca15de759995e1ce2dea7466be3b8 - Sigstore transparency entry: 2188357359
- Sigstore integration time:
-
Permalink:
kiwi-data/deepfilternet-slim@0ac48ca82afd1a3df5a4eaa3a11c3d5e1407afd8 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/kiwi-data
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@0ac48ca82afd1a3df5a4eaa3a11c3d5e1407afd8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file deepfilternet_slim-0.1.0-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: deepfilternet_slim-0.1.0-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 11.9 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f264539d641d98360af63a715fd444be739bcb0adcdad46322767f955693f189
|
|
| MD5 |
7fc58132f09c8df8a47f749689d62071
|
|
| BLAKE2b-256 |
9e74c34d70b467156048dd020b5edcbb2dc575b2483113b4f842d6c5781a980a
|
Provenance
The following attestation bundles were made for deepfilternet_slim-0.1.0-py3-none-macosx_11_0_arm64.whl:
Publisher:
wheels.yml on kiwi-data/deepfilternet-slim
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
deepfilternet_slim-0.1.0-py3-none-macosx_11_0_arm64.whl -
Subject digest:
f264539d641d98360af63a715fd444be739bcb0adcdad46322767f955693f189 - Sigstore transparency entry: 2188357343
- Sigstore integration time:
-
Permalink:
kiwi-data/deepfilternet-slim@0ac48ca82afd1a3df5a4eaa3a11c3d5e1407afd8 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/kiwi-data
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@0ac48ca82afd1a3df5a4eaa3a11c3d5e1407afd8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file deepfilternet_slim-0.1.0-py3-none-macosx_10_15_x86_64.whl.
File metadata
- Download URL: deepfilternet_slim-0.1.0-py3-none-macosx_10_15_x86_64.whl
- Upload date:
- Size: 12.9 MB
- Tags: Python 3, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b27dc594406df865fe4324da1074a7153abd76a24ad082cf8794e082c627b25d
|
|
| MD5 |
c59e06a9d8cf7ede1286125f9baa376d
|
|
| BLAKE2b-256 |
4e9b0b6fbbc950b60b478c7f01ce1c118c067c8c3bd9a341eec24f4d6ae21776
|
Provenance
The following attestation bundles were made for deepfilternet_slim-0.1.0-py3-none-macosx_10_15_x86_64.whl:
Publisher:
wheels.yml on kiwi-data/deepfilternet-slim
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
deepfilternet_slim-0.1.0-py3-none-macosx_10_15_x86_64.whl -
Subject digest:
b27dc594406df865fe4324da1074a7153abd76a24ad082cf8794e082c627b25d - Sigstore transparency entry: 2188357349
- Sigstore integration time:
-
Permalink:
kiwi-data/deepfilternet-slim@0ac48ca82afd1a3df5a4eaa3a11c3d5e1407afd8 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/kiwi-data
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@0ac48ca82afd1a3df5a4eaa3a11c3d5e1407afd8 -
Trigger Event:
push
-
Statement type: