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 #
16th August 2020 #
11th August 2020 #
Datasette 0.47 - Datasette can now be installed using Homebrew!
brew install simonw/datasette/datasette. Also new:
datasette install name-of-plugin and
datasette uninstall name-of-plugin commands, and
datasette --get '/-/versions.json' to output the result of Datasette HTTP calls on the command-line.
9th August 2020 #
Datasette 0.46 - security fix relating to CSRF protection for writable canned queries, a new logo, new debugging tools, improved file downloads and more.
6th August 2020 #
24th July 2020 #
Two new plugins: datasette-copyable and datasette-insert-api.
datasette-copyable adds copy-and-paste export options, and
datasette-insert-api lets you create tables and insert or update data by POSTing JSON directly to Datasette.
1st July 2020 #
20th June 2020 #
11th June 2020 #
28th May 2020 #
8th May 2020 #
Datasette 0.42 - Documented internal methods for plugins to execute read queries against a database.
6th May 2020 #
21st April 2020 #
Datasette 0.40 - Metadata can now be provided as YAML instead of JSON. Publishing to Zeit Now v1 is no longer supported, but Now v2 support is provided by the new datasette-publish-now plugin. Various bug fixes.
24th March 2020 #
Datasette 0.39 - New
base_url configuration option for running Datasette under a different URL prefix,
"sort_desc" metadata options for setting a default sort order for a table.
8th March 2020 #
25th February 2020 #
21st February 2020 #
Datasette 0.36 - new internals documentation for plugins,
prepare_connection() now accepts optional
4th February 2020 #
Datasette 0.35 - new
.render_template() method for plugins.
29th January 2020 #
Datasette 0.34 - improvements to search,
datasette publish cloudrun and
21st January 2020 #
Deploying a data API using GitHub Actions and Cloud Run - how to use GitHub Actions and Google Cloud Run to automatically scrape data and deploy the result as an API with Datasette.
22nd December 2019 #
Datasette 0.33 - various small improvements.
19th December 2019 #
Building tools to bring data-driven reporting to more newsrooms - some notes on my JSK fellowship so far.
2nd December 2019 #
Niche Museums is a new site entirely powered by Datasette, using custom templates and plugins. niche-museums.com, powered by Datasette describes how the site works, and datasette-atom: Define an Atom feed using a custom SQL query describes how the new datasette-atom plugin was used to add an Atom syndication feed to the site.
14th November 2019 #
Datasette 0.32 now uses asynchronous rendering in Jinja templates, which means template functions can perform asynchronous operations such as executing SQL queries. datasette-template-sql is a new plugin uses this capability to add a new custom
sql(sql_query) template function.
11th November 2019 #
Datasette 0.31 - the first version of Datasette to support Python 3.8, which means dropping support for Python 3.5.
18th October 2019 #
13th July 2019 #
Single sign-on against GitHub using ASGI middleware talks about the implementation of datasette-auth-github in more detail.
7th July 2019 #
Datasette 0.29 - ASGI, new plugin hooks, facet by date and much, much more...
- datasette-auth-github - a new plugin for Datasette 0.29 that lets you require users to authenticate against GitHub before accessing your Datasette instance. You can whitelist specific users, or you can restrict access to members of specific GitHub organizations or teams.
23rd June 2019 #
21st May 2019 #
19th May 2019 #
Datasette 0.28 - a salmagundi of new features!
- No longer immutable! Datasette now supports databases that change.
- Faceting improvements including facet-by-JSON-array and the ability to define custom faceting using plugins.
- datasette publish cloudrun lets you publish databases to Google's new Cloud Run hosting service.
- New register_output_renderer
plugin hook for adding custom output extensions to Datasette in addition to the default
- Dozens of other smaller features and tweaks - see the release notes for full details.
- Read more about this release here: Datasette 0.28 - and why master should always be releasable
24th February 2019 #
sqlite-utils: a Python library and CLI tool for building SQLite databases - a partner tool for easily creating SQLite databases for use with Datasette.
31st January 2019 #
10th January 2019 #
Datasette 0.26.1 - SQLite upgrade in Docker image,
/-/versions now shows SQLite compile options.
2nd January 2019 #
Datasette 0.26 - minor bug fixes,
datasette publish now --alias argument.
18th December 2018 #
3rd October 2018 #
The interesting ideas in Datasette - a write-up of some of the less obvious interesting ideas embedded in the Datasette project.
19th September 2018 #
Datasette 0.25 - New plugin hooks, improved database view support and an easier way to use more recent versions of SQLite.
23rd July 2018 #
Datasette 0.24 - a number of small new features
29th June 2018 #
datasette-vega, a new plugin for visualizing data as bar, line or scatter charts
21st June 2018 #
Datasette 0.23.1 - minor bug fixes
18th June 2018 #
Datasette 0.23: CSV, SpatiaLite and more - CSV export, foreign key expansion in JSON and CSV, new config options, improved support for SpatiaLite and a bunch of other improvements
23rd May 2018 #
20th May 2018 #
5th May 2018 #
25th April 2018 #
Exploring the UK Register of Members Interests with SQL and Datasette - a tutorial describing how register-of-members-interests.datasettes.com was built (source code here)
20th April 2018 #
Datasette plugins, and building a clustered map visualization - introducing Datasette's new plugin system and datasette-cluster-map, a plugin for visualizing data on a map
16th April 2018 #
14th April 2018 #
9th April 2018 #
28th March 2018 #
27th March 2018 #
Cloud-first: Rapid webapp deployment using containers - a tutorial covering deploying Datasette using Microsoft Azure by the Research Software Engineering team at Imperial College London
28th January 2018 #
Analyzing my Twitter followers with Datasette - a tutorial on using Datasette to analyze follower data pulled from the Twitter API