Skip to main content

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 main commit d375b2d8309e0935d165700c91da9de862a99c31 (not the v0.5.6 release 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.

Metadata

Release files for deepfilternet-slim 0.1.0

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

Built distributions (wheels)

Table of built distributions (wheels) for deepfilternet-slim 0.1.0
File
deepfilternet_slim-0.1.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
deepfilternet_slim-0.1.0-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details
deepfilternet_slim-0.1.0-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details
deepfilternet_slim-0.1.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
deepfilternet_slim-0.1.0-py3-none-macosx_10_15_x86_64.whl Python 3 none macOS 10.15+ x86-64 Details

Total release size: 62.7 MB

Release files / deepfilternet_slim-0.1.0-py3-none-win_amd64.whl

Download URL deepfilternet_slim-0.1.0-py3-none-win_amd64.whl
Size 12.4 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
de8f866bebdb52b41026aee3be2ee081bb8bfeabf371e642c487950f469fa777
BLAKE2b-256 checksum
How to use checksums
eca67b35f6b960494f2081bb340e97d584e99aa27b2eaafd77d5d270bac16176
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 17, 2026.

Transparency log

Release files / deepfilternet_slim-0.1.0-py3-none-manylinux_2_28_x86_64.whl

Download URL deepfilternet_slim-0.1.0-py3-none-manylinux_2_28_x86_64.whl
Size 13.2 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
154f15e38a3b114dc51e7a5e524cd719e99f2252200e5f635474db78db9f753e
BLAKE2b-256 checksum
How to use checksums
5f44a17bf14f44c331e018847ab0a7c09f5e3c98f38b9b9988c61df35afa9a03
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 17, 2026.

Transparency log

Release files / deepfilternet_slim-0.1.0-py3-none-manylinux_2_28_aarch64.whl

Download URL deepfilternet_slim-0.1.0-py3-none-manylinux_2_28_aarch64.whl
Size 12.3 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
4aff696052c40ed73a1b26c5364529222f0ca15de759995e1ce2dea7466be3b8
BLAKE2b-256 checksum
How to use checksums
b83f592927a86731c6f443eb698c00d6049043aed321f4cace7320b38ab4035d
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 17, 2026.

Transparency log

Release files / deepfilternet_slim-0.1.0-py3-none-macosx_11_0_arm64.whl

Download URL deepfilternet_slim-0.1.0-py3-none-macosx_11_0_arm64.whl
Size 11.9 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f264539d641d98360af63a715fd444be739bcb0adcdad46322767f955693f189
BLAKE2b-256 checksum
How to use checksums
9e74c34d70b467156048dd020b5edcbb2dc575b2483113b4f842d6c5781a980a
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 17, 2026.

Transparency log

Release files / deepfilternet_slim-0.1.0-py3-none-macosx_10_15_x86_64.whl

Download URL deepfilternet_slim-0.1.0-py3-none-macosx_10_15_x86_64.whl
Size 12.9 MB
Tags Python 3 macOS 10.15+ x86-64
SHA-256 checksum
How to use checksums
b27dc594406df865fe4324da1074a7153abd76a24ad082cf8794e082c627b25d
BLAKE2b-256 checksum
How to use checksums
4e9b0b6fbbc950b60b478c7f01ce1c118c067c8c3bd9a341eec24f4d6ae21776
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 17, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

5 release files

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