Eventual-Inc / Daft
- воскресенье, 7 сентября 2025 г. в 00:00:03
Distributed query engine providing simple and reliable data processing for any modality and scale
Website • Docs • Installation • Daft Quickstart • Community and Support
Daft is a distributed query engine for large-scale data processing using Python or SQL, implemented in Rust.
Table of Contents
Daft was designed with the following principles in mind:
Install Daft with pip install daft
.
For more advanced installations (e.g. installing from source or with extra dependencies such as Ray and AWS utilities), please see our Installation Guide
Check out our quickstart!
In this example, we load images from an AWS S3 bucket's URLs and resize each image in the dataframe:
import daft
# Load a dataframe from filepaths in an S3 bucket
df = daft.from_glob_path("s3://daft-public-data/laion-sample-images/*")
# 1. Download column of image URLs as a column of bytes
# 2. Decode the column of bytes into a column of images
df = df.with_column("image", df["path"].url.download().image.decode())
# Resize each image into 32x32
df = df.with_column("resized", df["image"].image.resize(32, 32))
df.show(3)
To see the full benchmarks, detailed setup, and logs, check out our benchmarking page.
We <3 developers! To start contributing to Daft, please read CONTRIBUTING.md. This document describes the development lifecycle and toolchain for working on Daft. It also details how to add new functionality to the core engine and expose it through a Python API.
Here's a list of good first issues to get yourself warmed up with Daft. Comment in the issue to pick it up, and feel free to ask any questions!
To help improve Daft, we collect non-identifiable data via Scarf (https://scarf.sh).
To disable this behavior, set the environment variable DO_NOT_TRACK=true
.
The data that we collect is:
Please see our documentation for more details.
Engine | Query Optimizer | Multimodal | Distributed | Arrow Backed | Vectorized Execution Engine | Out-of-core |
---|---|---|---|---|---|---|
Daft | Yes | Yes | Yes | Yes | Yes | Yes |
Pandas | No | Python object | No | optional >= 2.0 | Some(Numpy) | No |
Polars | Yes | Python object | No | Yes | Yes | Yes |
Modin | Yes | Python object | Yes | No | Some(Pandas) | Yes |
Pyspark | Yes | No | Yes | Pandas UDF/IO | Pandas UDF | Yes |
Dask DF | No | Python object | Yes | No | Some(Pandas) | Yes |
Check out our engine comparison page for more details!
Daft has an Apache 2.0 license - please see the LICENSE file.