Simon Willison Creates Tables In Datasette
Simon Willison demonstrates creating tables and data entry in Datasette. This feature is part of the Datasette Advent series.
Original reporting · simonwillison.net
Original: “Creating tables and data entry in Datasette (Datasette Advent Day 3)”
Read “Creating tables and data entry in Datasette (Datasette Advent Day 3)” at Simon Willison →
How this was written. GDS wrote this article with a language model from Simon Willison’s reporting (model: @cf/meta/llama-3.3-70b-instruct-fp8-fast); it describes that reporting rather than adding to it. The original, linked above, is the full story.
Key points from Simon Willison’s report
- Simon Willison has released a new video as part of the Datasette Advent series, covering creating tables and data entry in Datasette.
- The video demonstrates how to launch Datasette without needing to first install it, using the uvx command with several options.
- The ability to set the label column for a table is a significant addition to Datasette, allowing for more flexible and meaningful relationships between tables.
- Simon Willison used the uvx command to launch Datasette and create a database called sightings.db.
- The Datasette Advent series aims to provide a comprehensive overview of Datasette's capabilities and features.
Simon Willison has released a new video as part of the Datasette Advent series, according to Simon Willison. The video, published on 2026-12-03, covers key features of Datasette, including creating tables and setting up relationships. This series aims to showcase the capabilities of Datasette, a tool for working with data. The latest video is the third in the series, focusing on data entry and management.
Today's video covers various aspects of working with tables in Datasette, including inserting and updating data, altering tables, and setting up foreign key and many-to-many relationships. Simon Willison reported that the video also features a new ability to set the label column for a table, which was added in Datasette 1.0a47. This feature allows Datasette to know which columns to use to summarize a table when it is included in a relationship.
The video demonstrates how to launch Datasette without needing to first install it, using the uvx command. The command used by Simon Willison includes several options, such as --pre, --create, and --root. The --pre option gets the latest Datasette alpha, while the --create option causes it to create the database if it does not yet exist. The --root option gives a URL that can be used to sign in as root, ensuring the necessary permissions to create and alter tables and insert data.
Simon Willison used the uvx command to launch Datasette and create a database called sightings.db. The command line options used provide a convenient way to get started with Datasette, especially for users who want to try out the latest features. By using the --pre option, users can access the latest alpha version of Datasette, which includes new features and updates.
The ability to set the label column for a table is a significant addition to Datasette, as it allows for more flexible and meaningful relationships between tables. This feature, added in Datasette 1.0a47, enhances the overall functionality of Datasette and makes it easier to work with complex data. The video provides a detailed demonstration of how to use this feature and other aspects of Datasette.
The Datasette Advent series aims to provide a comprehensive overview of Datasette's capabilities and features. By releasing a new video each day, Simon Willison is able to showcase the various aspects of Datasette and provide users with a deeper understanding of how to use the tool. The series is an valuable resource for users who want to learn more about Datasette and how to get the most out of it.
The latest video in the Datasette Advent series is a valuable resource for users who want to learn more about creating tables and working with data in Datasette. The video provides a detailed demonstration of the key features and options available in Datasette, and is a useful addition to the series. By watching the video, users can gain a better understanding of how to use Datasette to manage and analyze their data.
Questions and answers
What is the Datasette Advent series?
The Datasette Advent series is a series of videos released by Simon Willison, aiming to provide a comprehensive overview of Datasette's capabilities and features.
How can I launch Datasette without needing to first install it?
You can launch Datasette without needing to first install it by using the uvx command with several options, including --pre, --create, and --root.
What is the purpose of setting the label column for a table in Datasette?
The purpose of setting the label column for a table in Datasette is to allow Datasette to know which columns to use to summarize a table when it is included in a relationship.

