Annotated version of this introductory video
Datasette is a tool for exploring and publishing data. It helps people take data of any shape or size, analyze and explore it, and publish it as an interactive website and accompanying API.
Datasette is aimed at data journalists, museum curators, archivists, local governments and anyone else who has data that they wish to share with the world. It is part of a wider ecosystem of tools and plugins dedicated to making working with structured data as productive as possible.
Import data from CSVs, JSON, database connections and more. Datasette will automatically show you patterns in your data and help you share your findings with your colleagues.
datasette publish lets you instantly publish your data to hosting providers like Google Cloud Run, Heroku or Vercel.
Spin up a JSON API for any data in minutes. Use it to prototype and prove your ideas without building a custom backend.
28th March 2021 #
18th February 2021 #
Datasette 0.55 adds support for cross-database SQL queries. You can now run
datasette --crossdb one.db two.db and then run queries that join data from tables in both of those database files - see cross-database queries in the documentation for more details.
sqlite-utils 3.6 adds similar features: a
db.attach(alias, filepath) Python API method and
--attach alias filepath.db command-line option, both for attaching additional databases in order to execute cross-database queries.
7th February 2021 #
This new Video introduction to Datasette and sqlite-utils provides a full introduction to both Datasette and sqlite-utils in 17 minutes, including a live demo of creating a database from a CSV file and publishing it to Google Cloud Run.
3rd February 2021 #
Serving map tiles from SQLite with MBTiles and datasette-tiles. datasette-tiles is a new plugin that adds a tile server to Datasette, serving map tiles from databases that conform to the MBTiles specification. download-tiles is a tool for building these databases, and datasette-basemap is a plugin that bundles a 22MB SQLite database with OpenStreetMap tiles covering zoom levels 0-6 for the entire world.
25th January 2021 #
Datasette 0.54 is out today. Highlights include the new
24th January 2021 #
Drawing shapes on a map to query a SpatiaLite database introduces the new datasette-leaflet-freedraw plugin, which adds support for drawing shapes on a map to specify a GeoJSON MultiPolygon that can be used to query SpatiaLite databases.
7th January 2021 #
19th December 2020 #
New on this site: a Datasette Tools directory and a search engine that covers documentation, tools, plugins, releases and more. The search engine uses Dogsheep Beta - I wrote about how that works in Building a search engine for datasette.io.
13th December 2020 #
I wrote more about how this site works in Weeknotes: datasette.io, an official project website for Datasette.
10th December 2020 #
Datasette 0.53 -
datasette serve --create option,
?column__arraynotcontains= table filter,
?_header=off CSV option and updated links to reflect the new project website.
New Datasette project website - three years after the first release Datasette finally has its own website! The site includes project news, a plugin directory, use-cases and examples. The site is implemented using Datasette custom templates, and the source code is available on GitHub.
28th November 2020 #
Datasette 0.52 -
--config is now
database_actions plugin hook,
datasette publish cloudrun --apt-get-install option and several bug fixes.
31st October 2020 #
Datasette 0.51 - A new visual design, plugin hooks for adding navigation options, better handling of binary data, URL building utility methods and better support for running Datasette behind a proxy. Annotated release notes.
9th October 2020 #
14th September 2020 #
14th April 2021
- Correctly sign
?sql=on redirects created using
- Fixed bug with
- Make it easy to provide a custom base template. #7
Content-Security-Policy: frame-ancestorsheader. #64
- Signing no longer uses base64/json. #45
12th April 2021
9th April 2021
- Fixed bug with new
- Fix for bug with columns with identical names. #52
- Size SQL textarea to fit SQL. #51
8th April 2021
--http-read-timeoutoption, thanks Eli Block! #14
2nd April 2021
--user-agent=option for passing a custom user-agent to Airtable. #12
29th March 2021
Documentation improvements, bug fixes and support for SpatiaLite 5.
- The SQL editor can now be resized by dragging a handle. (#1236)
- Fixed a bug with JSON faceting and the
__arraycontainsfilter caused by tables with spaces in their names. (#1239)
- JSON faceting is now suggested even if a column contains blank strings. (#1246)
- New datasette.add_memory_database() method. (#1247)
- The Response.asgi_send() method is now documented. (#1266)
- The official Datasette Docker image now bundles SpatiaLite version 5. (#1278)
- Fixed a
no such table: pragma_database_listbug when running Datasette against SQLite versions prior to SQLite 3.16.0. (#1276)
- HTML lists displayed in table cells are now styled correctly. Thanks, Bob Whitelock. (#1141, #1252)
- Configuration directory mode now correctly serves immutable databases that are listed in
inspect-data.json. Thanks Campbell Allen and Frankie Robertson. (#1031, #1229)