Skip to main content

narwhals-dask

Dask backend for Narwhals.

Dask support is moving out of Narwhals and into this package. Narwhals still ships a built-in Dask backend for now, but emits a FutureWarning when it's used. Installing narwhals-dask silences that warning, and will be required in a future release:

pip install narwhals-dask

There's nothing else to do: Narwhals discovers the plugin automatically, and nw.from_native(dask_df), backend="dask" and backend="narwhals-dask" all use it.

import dask.dataframe as dd
import narwhals as nw

df = nw.from_native(dd.from_dict({"a": [1, 2, 3]}, npartitions=1))
df.select(nw.col("a").sum()).collect()

Development

narwhals-dask never imports from Narwhals' private modules: anything it needs from them is vendored in narwhals_dask/_vendored.py. The exception is expression metadata (Expr._metadata, e.g. op_nodes_reversed(), expansion_kind, is_literal), which the plugin reads directly and which has no stability guarantees, so the plugin needs to be kept in step with the Narwhals versions it supports.

Narwhals' own test suite exercises the plugin once it's installed. From this directory:

uv run pytest ../../tests --constructors=dask

Metadata

Release files for narwhals-dask 0.1.0

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

Source distribution (sdist)

Source distribution for narwhals-dask 0.1.0
File Size Uploaded Provenance Actions
narwhals_dask-0.1.0.tar.gz 27.1 kB With provenance Details for narwhals_dask-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for narwhals-dask 0.1.0
File Interpreter ABI Platform Actions
narwhals_dask-0.1.0-py3-none-any.whl Python 3 none any Details for narwhals_dask-0.1.0-py3-none-any.whl

Total release size: 60.1 kB

Release files / narwhals_dask-0.1.0.tar.gz

Download URL narwhals_dask-0.1.0.tar.gz
Size 27.1 kB
Tags Source
SHA-256 checksum
How to use checksums
18285d2e961cfb39214a47390bffca3d69ad33f0def22ff82a13864b9a592c8e
BLAKE2b-256 checksum
How to use checksums
2b34649dbb0e70dd6ecadd9316bcbd0a8da1a40ce955706d0209eb9f86042543
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 17, 2026.

Transparency log

Release files / narwhals_dask-0.1.0-py3-none-any.whl

Download URL narwhals_dask-0.1.0-py3-none-any.whl
Size 33.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8f74c9ac6c8b41fa35849ceec0b9b27d02daa8b5b25772ad3d6700c825fb7a42
BLAKE2b-256 checksum
How to use checksums
87edc7c7731597a15fdf1fa4893c7e077d1c5261964641ba31cec41e700fcb0d
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 17, 2026.

Transparency log

Security for narwhals-dask 0.1.0

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for narwhals_dask-0.1.0.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 17, 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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