deepseek-ai/smallpond
A lightweight data processing framework built on DuckDB and 3FS.
Featured achievements
The project's latest awards
#2 Repository of the week
#3 Repository of the week
#1 Repository of the week
smallpond
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.
Python ETL framework for stream processing, real-time analytics, LLM pipelines, and RAG.
A no-code RAG server that keeps answers in sync with your documents. Works with 8 vector databases. Built on Pathway.
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.
[SIGMOD'27] Easy Data Preparation with latest LLMs-based Operators and Pipelines.
TSP自托管、零运维的 A 股「自建策略 + 监控 + 回测」量化工作台引擎 | LLM能力驱使策略定制+个股分析+复盘 | 自由接入第三方数据源与个性化扩展数据 | 能力插件化可自由扩展开发
The SQL IDE for Your Terminal. Now with hsql, your agent's favorite sql client.
A user friendly TUI for SQL databases. Written in python. Supports SQL server, Mysql, PostreSQL, SQLite, Turso and more.
The Context Layer for unstructured data: typed, versioned datasets over S3, GCS, Azure