{"id":26091480,"url":"https://github.com/deepseek-ai/smallpond","last_synced_at":"2025-07-16T17:38:11.604Z","repository":{"id":279878109,"uuid":"938011478","full_name":"deepseek-ai/smallpond","owner":"deepseek-ai","description":"A lightweight data processing framework built on DuckDB and 3FS.","archived":false,"fork":false,"pushed_at":"2025-03-05T18:23:54.000Z","size":1861,"stargazers_count":4668,"open_issues_count":28,"forks_count":415,"subscribers_count":48,"default_branch":"main","last_synced_at":"2025-06-04T01:56:30.837Z","etag":null,"topics":["data-processing","duckdb"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deepseek-ai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-24T09:28:17.000Z","updated_at":"2025-06-04T00:12:26.000Z","dependencies_parsed_at":"2025-02-28T08:42:29.227Z","dependency_job_id":"d0bbfc10-baf4-4075-a37b-9cd9bb831a74","html_url":"https://github.com/deepseek-ai/smallpond","commit_stats":null,"previous_names":["deepseek-ai/smallpond"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepseek-ai%2Fsmallpond","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepseek-ai%2Fsmallpond/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepseek-ai%2Fsmallpond/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepseek-ai%2Fsmallpond/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deepseek-ai","download_url":"https://codeload.github.com/deepseek-ai/smallpond/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deepseek-ai%2Fsmallpond/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259274931,"owners_count":22832576,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-processing","duckdb"],"created_at":"2025-03-09T10:01:50.269Z","updated_at":"2025-06-11T13:39:25.941Z","avatar_url":"https://github.com/deepseek-ai.png","language":"Python","funding_links":[],"categories":["Python","Libraries Powered by DuckDB","News"],"sub_categories":[],"readme":"# smallpond\n\n[![CI](https://github.com/deepseek-ai/smallpond/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/deepseek-ai/smallpond/actions/workflows/ci.yml)\n[![PyPI](https://img.shields.io/pypi/v/smallpond)](https://pypi.org/project/smallpond/)\n[![Docs](https://img.shields.io/badge/docs-latest-brightgreen.svg)](https://deepseek-ai.github.io/smallpond/)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n\nA lightweight data processing framework built on [DuckDB] and [3FS].\n\n## Features\n\n- 🚀 High-performance data processing powered by DuckDB\n- 🌍 Scalable to handle PB-scale datasets\n- 🛠️ Easy operations with no long-running services\n\n## Installation\n\nPython 3.8 to 3.12 is supported.\n\n```bash\npip install smallpond\n```\n\n## Quick Start\n\n```bash\n# Download example data\nwget https://duckdb.org/data/prices.parquet\n```\n\n```python\nimport smallpond\n\n# Initialize session\nsp = smallpond.init()\n\n# Load data\ndf = sp.read_parquet(\"prices.parquet\")\n\n# Process data\ndf = df.repartition(3, hash_by=\"ticker\")\ndf = sp.partial_sql(\"SELECT ticker, min(price), max(price) FROM {0} GROUP BY ticker\", df)\n\n# Save results\ndf.write_parquet(\"output/\")\n# Show results\nprint(df.to_pandas())\n```\n\n## Documentation\n\nFor detailed guides and API reference:\n- [Getting Started](docs/source/getstarted.rst)\n- [API Reference](docs/source/api.rst)\n\n## Performance\n\nWe 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.\n\nDetails can be found in [3FS - Gray Sort].\n\n[DuckDB]: https://duckdb.org/\n[3FS]: https://github.com/deepseek-ai/3FS\n[GraySort benchmark]: https://sortbenchmark.org/\n[script]: benchmarks/gray_sort_benchmark.py\n[3FS - Gray Sort]: https://github.com/deepseek-ai/3FS?tab=readme-ov-file#2-graysort\n\n## Development\n\n```bash\npip install .[dev]\n\n# run unit tests\npytest -v tests/test*.py\n\n# build documentation\npip install .[docs]\ncd docs\nmake html\npython -m http.server --directory build/html\n```\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepseek-ai%2Fsmallpond","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeepseek-ai%2Fsmallpond","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeepseek-ai%2Fsmallpond/lists"}