Annotated version of this introductory video
Datasette is a tool for exploring and publishing data. It helps people take data of any shape, 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, scientists, researchers and anyone else who has data that they wish to share with the world. It is part of a wider ecosystem of 38 tools and 91 plugins dedicated to making working with structured data as productive as possible.
New: Datasette Desktop - a macOS desktop application for easily running Datasette on your own computer!
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.
5th May 2022 #
Datasette Lite is a new way to run Datasette: entirely in your browser, thanks to the Pyodide project which provides a full Python environment compiled to WebAssembly. You can use it to explore any SQLite database file hosted on a CORS-enabled static hosting provider, which includes GitHub and GitHub Pages. Read more about this project in Datasette Lite: a server-side Python web application running in a browser.
12th April 2022 #
Datasette for geospatial analysis describes how Datasette can be used in conjunction with SpatiaLite to work with geospatial data, including details of several geospatial plugins and tools from the Datasette ecosystem.
23rd March 2022 #
Datasette 0.61 introduces two potentially backwards-incompatible changes in preparation for the forthcoming 1.0 release: hashed URL mode has been moved to a new plugin, and the way URLs are generated to tables or databases containing special characters such as
/ has changed. Datasette 0.61.1 fixes a small bug in that release. See also the annotated release notes for these two versions.
27th February 2022 #
The first two of an ongoing series of official Datasette tutorials are now available: Exploring a database with Datasette introduces the Datasette web interface and shows how it can be used to explore a new database, and Learn SQL with Datasette provides an introduction to SQL using Datasette as a learning environment.
13th January 2022 #
Datasette 0.60 adds a new
filters_from_request plugin hook, new internal methods for writing to the database, better performance and various faceting improvements. See also the annotated release notes.
5th December 2021 #
14th October 2021 #
Datasette 0.59 adds column descriptions in metadata, a new
register_command plugin hook, enhanced
--cors support and a bunch of other fixes and documentation improvements. See also the annotated release notes.
8th September 2021 #
Datasette Desktop is a new macOS desktop application version of Datasette, which supports opening SQLite files on your computer, importing CSV files and installing plugins. I wrote more about how it works in Datasette Desktop—a macOS desktop application for Datasette.
28th July 2021 #
The Baked Data architectural pattern describes a pattern commonly used with Datasette where the content for a site is bundled inside a SQLite database file and included alongside templates and application code in a deployment to a serverless hosting provider.
15th July 2021 #
Datasette 0.58 has new plugin hooks, a huge performance improvement for faceting, support for Unix domain sockets and several other improvements. Read the annotated release notes for extra background and context on the release.
5th June 2021 #
Datasette 0.57 is out with an important security patch plus a number of new features and bug fixes. Datasette 0.56.1, also out today, provides the security patch for users who are not yet ready to upgrade to the latest version.
10th May 2021 #
Django SQL Dashboard is a new tool that brings a useful authenticated subset of Datasette to Django projects that are built on top of PostgreSQL.
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.
23rd June 2022
datasette-scale-to-zero 0.1.2 - Quit Datasette if it has not recieved traffic for a specified time period
- No longer logs a traceback on server exit. #2
22nd June 2022
- Reduced log output when server exits. #2
21st June 2022
- Initial release. Can be configured to cause Datasette to exit if it has not received traffic in a specified time period. #1
17th June 2022
datasette-socrata 0.3 - Import data from Socrata into Datasette
- Any errors that occur during an import are now stored in the
errorscolumn of the
- CSV imports with long field values no longer trigger an error. #13
- Progress bars now show the number of records imported and remaining, and hint to refresh the page when the import is complete. #10
- Checks for low disk space using the plugin hook provided by datasette-low-disk-space-hook. #4
15th June 2022
sqlite-utils 3.27 - CLI tool and Python utility functions for manipulating SQLite databases
- Documentation now uses the Furo Sphinx theme. (#435)
- Code examples in documentation now have a "copy to clipboard" button. (#436)
sqlite_utils.utils.utils.rows_from_file()is now a documented API, see Reading rows from a file. (#443)
rows_from_file()has two new parameters to help handle CSV files with rows that contain more values than are listed in that CSV file's headings:
sqlite_utils.utils.maximize_csv_field_size_limit()helper function for increasing the field size limit for reading CSV files to its maximum, see Setting the maximum CSV field size limit. (#442)
table.search(where=, where_args=)parameters for adding additional
WHEREclauses to a search query. The
where=parameter is available on
table.search_sql(...)as well. See Searching with table.search(). (#441)
- Fixed bug where
table.detect_fts()and other search-related functions could fail if two FTS-enabled tables had names that were prefixes of each other. (#434)
11th June 2022
datasette-socrata 0.2 - Import data from Socrata into Datasette
- Table metadata in Datasette now reflects metadata imported from Socrata. #11
10th June 2022
datasette-ics 0.5.1 - Datasette plugin for outputting iCalendar files
datasette-socrata 0.1.1 - Import data from Socrata into Datasette
- Fixed bug where error messages relating to incorrect configuration were served as 403 forbidden. #9
9th June 2022
- Initial release. Adds a
/-/import-socratapage which can be used to import data by providing the URL to a dataset on Socrata. #1
datasette-upload-csvs 0.7.1 - Datasette plugin for uploading CSV files and converting them to database tables
3rd June 2022
- Now requires and is compatible with
- Dropped support for Python 3.6
31st May 2022
mbox-to-sqlite 0.1a0 - Load email from .mbox files into SQLite
30th May 2022
datasette-graphql 2.0.2 - Datasette plugin providing an automatic GraphQL API for your SQLite databases
- Upgrade dependencies to
29th May 2022
datasette-auth-existing-cookies 1.0a1 - Datasette plugin that authenticates users based on existing domain cookies
- Fix for bug:
AttributeError: 'Datasette' object has no attribute '_auth_existing_cookies_cache'#19
This alpha release breaks backwards compatibility, and completely redesigns how this plugin works. #13