RepositoryPython
DE

deepseek-ai/smallpond

A lightweight data processing framework built on DuckDB and 3FS.

5.0kstars
458forks
23issues
1views

Featured achievements

The project's latest awards

2
TINIX TRENDING·Topic: duckdb

#2 Repository of the week

3
TINIX TRENDING·Topic: data-processing

#3 Repository of the week

1
TINIX TRENDING·Topic: data-processing

#1 Repository of the week

smallpond

CI PyPI Docs License

A lightweight data processing framework built on DuckDB and 3FS.

Features

  • 🚀 High-performance data processing powered by DuckDB
  • 🌍 Scalable to handle PB-scale datasets
  • 🛠️ Easy operations with no long-running services

Installation

Python 3.8 to 3.12 is supported.

pip install smallpond

Quick Start

# Download example data
wget https://duckdb.org/data/prices.parquet
import smallpond

# Initialize session
sp = smallpond.init()

# Load data
df = sp.read_parquet("prices.parquet")

# Process data
df = df.repartition(3, hash_by="ticker")
df = sp.partial_sql("SELECT ticker, min(price), max(price) FROM {0} GROUP BY ticker", df)

# Save results
df.write_parquet("output/")
# Show results
print(df.to_pandas())

Documentation

For detailed guides and API reference:

Performance

We evaluated smallpond using the GraySort benchmark (script) on a cluster comprising 50 compute nodes and 25 storage nodes running 3FS. The benchmark sorted 110.5TiB of data in 30 minutes and 14 seconds, achieving an average throughput of 3.66TiB/min.

Details can be found in 3FS - Gray Sort.

Development

pip install .[dev]

# run unit tests
pytest -v tests/test*.py

# build documentation
pip install .[docs]
cd docs
make html
python -m http.server --directory build/html

License

This project is licensed under the MIT License.

Similar Projects

Discover other similar projects and AI models.

RepositoryPython
pathwaycom/pathway

Python ETL framework for stream processing, real-time analytics, LLM pipelines, and RAG.

62.0k
Nov 16, 2026
RepositoryPython
pathwaycom/serviette

A no-code RAG server that keeps answers in sync with your documents. Works with 8 vector databases. Built on Pathway.

58.7k
Nov 10, 2026
RepositoryPython
Canner/WrenAI

GenBI (Generative BI) for AI agents, an open-source, governed text-to-SQL through an open context layer that turns natural-language questions into trusted dashboards, charts, and SQL across 20+ data sources, such as BigQuery, Snowflake, PostgreSQL, ClickHouse, Amazon Redshift, Databricks and more.

18.4k
Nov 30, 2026
RepositoryPython
tobymao/sqlglot

Python SQL Parser and Transpiler

9.8k
Dec 1, 2026
RepositoryPython
OpenDCAI/DataFlow

[SIGMOD'27] Easy Data Preparation with latest LLMs-based Operators and Pipelines.

8.7k
Nov 25, 2026
RepositoryPython
shy3130/tick-stock-panel

TSP自托管、零运维的 A 股「自建策略 + 监控 + 回测」量化工作台引擎 | LLM能力驱使策略定制+个股分析+复盘 | 自由接入第三方数据源与个性化扩展数据 | 能力插件化可自由扩展开发

8.5k
Dec 1, 2026
RepositoryPython
tconbeer/harlequin

The SQL IDE for Your Terminal. Now with hsql, your agent's favorite sql client.

6.5k
Nov 30, 2026
RepositoryPython
Maxteabag/sqlit

A user friendly TUI for SQL databases. Written in python. Supports SQL server, Mysql, PostreSQL, SQLite, Turso and more.

5.0k
Nov 27, 2026
RepositoryPython
datachain-ai/datachain

The Context Layer for unstructured data: typed, versioned datasets over S3, GCS, Azure

2.8k
Nov 29, 2026