Large CSV imports in Datasette (Datasette Advent Day 1)

Simon Willison · 2026年12月1日

AI 摘要 AI 生成,可能有误

作者正在以降临节日历的形式,在整个十二月期间每天发布视频,演示 Datasette 的新功能。第一支视频介绍了 Datasette 1.0a46 中新增的大体积 CSV 和 TSV 导入功能:任意大小的文件都会被流式传输、在浏览器中解析,并分批发送到插入 API。演示内容包括在几秒钟内导入 26,000 行 iNaturalist 数据,以及用于分析的分面功能和用于选择及重新排列表格列的新界面。

Large CSV imports in Datasette (Datasette Advent Day 1)

My open source project Datasette has accumulated a lot of new features this year that I haven't done a great job in explaining. I've decided to fix that this December through an advent calendar format: every day up to Christmas I'll be publishing a short video demonstrating a new feature of Datasette or the wider Datasette plugin ecosystem.

Today's covers a feature that I just landed in Datasette 1.0a46 a few hours ago: large CSV imports. You can now import CSV or TSV files of any size into a Datasette table using the browser upload tool - the files are streamed and parsed in your browser and sent to the Datasette insert API in batches.

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Simon Willison

datasette 1.0a46

AI 摘要The datasette 1.0a46 alpha release introduces a major new feature for large CSV imports, which is demonstrated in the first video of a new advent calendar series running up to Christmas. Additionally, row pages now list incoming many-to-one foreign key rows, formatted similarly to the new many-to-many feature.

ty 1.0

AI 摘要ty, Astral's fast Python type checker, has reached version 1.0 and is now recommended for production use. It is the default type checker at OpenAI, where migrating to it yielded a median 24x speedup and a 73% reduction in peak memory usage across millions of lines of critical Python. It also offers built-in Django support when the django-types package is installed.

AT Protocol: The Spaces Public Beta is Now Live

AI 摘要AT Protocol, the open protocol behind Bluesky, has launched the public beta of Spaces, a new feature introducing private and selectively shared data to a network that was previously entirely public. Spaces act as groups whose members gain permission to read private data hosted on the owner's Personal Data Server (PDS), allowing sharing with any group size from a personal journal to a community of millions. Rather than an end-user feature, Spaces is designed as a platform for building new applications on the open social internet.

Quoting Josh Dunsterville

AI 摘要The article quotes Josh Dunsterville responding to the announcement that Cursor has been rebranded as Grok Build, a product from SpaceXSI (previously SpaceXAI, formerly xAI, aka XAI Corp). It highlights the tangled chain of corporate renamings, noting that XAI Corp—owner of X (previously Twitter)—is itself owned by SpaceX. The piece is tagged with grok, ai, and cursor.

datasette 1.0a45

AI 摘要The datasette 1.0a45 alpha release introduces a major new feature: many-to-many relationship display and editing across both tables and row pages. Documentation with details and screenshots is available, and a demo video can be found in the pull request for the new feature.