Simon Willison’s Weblog

Subscribe
Atom feed for datasette Random

1,455 posts tagged “datasette”

Datasette is an open source tool for exploring and publishing data.

2021

Datasette 0.54: The annotated release notes

Datasette 0.54 is out today, with a number of foundational new features. As I’ve done for previous releases, here are the annotated release notes with some additional commentary.

[... 1,276 words]

Release datasette-leaflet 0.1 — Datasette plugin adding the Leaflet JavaScript library

Drawing shapes on a map to query a SpatiaLite database (and other weeknotes)

Visit Drawing shapes on a map to query a SpatiaLite database (and other weeknotes)

This week I built a Datasette plugin that lets you query a database by drawing shapes on a map!

[... 950 words]

Release datasette-leaflet-freedraw 0.1.4 — Draw polygons on maps in Datasette
Release datasette-auth-github 0.13 — Datasette plugin that authenticates users against GitHub
Release datasette-cluster-map 0.16 — Datasette plugin that shows a map for any data with latitude/longitude columns
Release datasette-auth-github 0.13a2 — Datasette plugin that authenticates users against GitHub
Release datasette-auth-github 0.13a1 — Datasette plugin that authenticates users against GitHub
Release datasette-auth-github 0.13a0 — Datasette plugin that authenticates users against GitHub
Release datasette-leaflet-geojson 0.7 — Datasette plugin that replaces any GeoJSON column values with a Leaflet map.
Release datasette-leaflet-freedraw 0.1.3 — Draw polygons on maps in Datasette
Release datasette-leaflet-freedraw 0.1.2 — Draw polygons on maps in Datasette
Release datasette-leaflet-freedraw 0.1.1 — Draw polygons on maps in Datasette
Release datasette-leaflet-freedraw 0.1 — Draw polygons on maps in Datasette
Release datasette 0.54a0 — An open source multi-tool for exploring and publishing data
Release datasette-cluster-map 0.15 — Datasette plugin that shows a map for any data with latitude/longitude columns

Weeknotes: Still pretty distracted

Not a lot to report this week. U.S. politics continues to make it extremely difficult to focus on anything substantial.

[... 727 words]

Release datasette-export-notebook 0.2 — Datasette plugin providing instructions for exporting data to Jupyter or Observable

Weeknotes: datasette-export-notebook, PyInstaller packaged Datasette, CBSAs

Visit Weeknotes: datasette-export-notebook, PyInstaller packaged Datasette, CBSAs

What a terrible week. I’ve found it hard to concentrate on anything substantial. In a mostly futile attempt to distract myself from doomscrolling I’ve mainly been building some experimental output plugins, fiddling with PyInstaller and messing around with shapefiles.

[... 732 words]

Release datasette-export-notebook 0.1.1 — Datasette plugin providing instructions for exporting data to Jupyter or Observable

APIs from CSS without JavaScript: the datasette-css-properties plugin

Visit APIs from CSS without JavaScript: the datasette-css-properties plugin

I built a new Datasette plugin called datasette-css-properties. It’s very, very weird—it adds a .css output extension to Datasette which outputs the result of a SQL query using CSS custom property format. This means you can display the results of database queries using pure CSS and HTML, no JavaScript required!

[... 891 words]

Release datasette-css-properties 0.2 — Experimental Datasette output plugin using CSS properties
Release datasette-css-properties 0.1.1 — Experimental Datasette output plugin using CSS properties

datasette-css-properties (via) My new Datasette plugin defines a “.css” output format which returns the data from the query as a valid CSS stylesheet defining custom properties for each returned column. This means you can build a page using just HTML and CSS that consumes API data from Datasette, no JavaScript required! Whether this is a good idea or not is left as an exercise for the reader.

# 7th January 2021, 7:42 pm / css, projects, datasette, css-custom-properties

Release datasette-export-notebook 0.1 — Datasette plugin providing instructions for exporting data to Jupyter or Observable
Release datasette-css-properties 0.1 — Experimental Datasette output plugin using CSS properties

Weeknotes: A flurry of not-quite-finished features

My Christmas present to myself this year was to allow myself to spend a week working on stuff I found interesting, rather than sticking to the most important things. This may have been a mistake: it’s left me with a flurry of interesting but not-quite-finished features.

[... 2,249 words]

2020

Replicating SQLite with rqlite (via) I’ve been trying out rqlite, a “lightweight, distributed relational database, which uses SQLite as its storage engine”. It’s written in Go and uses the Raft consensus algorithm to allow a cluster of nodes to elect a leader and replicate SQLite statements between them. By default it uses in-memory SQLite databases with an on-disk Raft replication log—here are my notes on running it in “on disk” mode as a way to run multiple Datasette processes against replicated SQLite database files.

# 28th December 2020, 7:51 pm / replication, sqlite, datasette

Release datasette-publish-vercel 0.9.1 — Datasette plugin for publishing data using Vercel

Weeknotes: Datasette internals

Visit Weeknotes: Datasette internals

I’ve been working on some fundamental changes to Datasette’s internal workings—they’re not quite ready for a release yet, but they’re shaping up in an interesting direction.

[... 760 words]