Datasette 1.0a46 Adds Browser-Streamed CSV Imports of Any Size

Original title: Large CSV imports in Datasette (Datasette Advent Day 1)
58AI Score

Datasette 1.0a46 introduces large CSV/TSV imports: files are streamed and parsed in the browser, then sent to the insert API in batches, so size is no longer a limit. The author imports 26,000 rows of iNaturalist data in seconds and demos faceting plus a new column selection and reordering UI.

Related Entities

Full Report

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.

In the video I import 26,000 rows of iNaturalist observation data in just a few seconds. I then go on to show faceting to analyze data, plus a new UI for selecting and reordering the columns in a table.

Tags: csv, youtube, datasette, inaturalist