Simon Willison’s Weblog

Newsletter
Atom feed for datasette Random

1,557 posts tagged “datasette”

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

2019

datasette-atom: Define an Atom feed using a custom SQL query

I’ve been having a ton of fun iterating on www.niche-museums.com. I put together some notes on how the site works last week, and I’ve been taking advantage of the Thanksgiving break to continue exploring ways in which Datasette can be used to quickly build database-backed static websites.

[... 1,084 words]

Release datasette-atom 0.3 — Datasette plugin that adds a .atom output format
Release datasette-atom 0.2.1 — Datasette plugin that adds a .atom output format
Release datasette-atom 0.2 — Datasette plugin that adds a .atom output format

niche-museums.com, powered by Datasette

I just released a major upgrade to my www.niche-museums.com website (launched last month).

[... 1,154 words]

Release datasette-cluster-map 0.8 — Datasette plugin that shows a map for any data with latitude/longitude columns

Weeknotes: datasette-template-sql

Last week I talked about wanting to take ona a larger Datasette project, and listed some candidates. I ended up pushing a big project that I hadn’t listed there: the upgrade of Datasette to Python 3.8, which meant dropping support for Python 3.5 (thanks to incompatible dependencies).

[... 521 words]

Release datasette-render-markdown 0.2 — Datasette plugin for rendering Markdown

datasette-template-sql (via) New Datasette plugin, celebrating the new ability in Datasette 0.32 to have asynchronous custom template functions in Jinja (which was previously blocked by the need to support Python 3.5). The plugin adds a sql() function which can be used to execute SQL queries that are embedded directly in custom templates.

# 15th November 2019, 12:59 am / jinja, projects, sql, templates, datasette

Release datasette-template-sql 0.1 — Datasette plugin for executing SQL queries from templates
Release datasette Datasette 0.32 — An open source multi-tool for exploring and publishing data
Release datasette 0.31.2 — An open source multi-tool for exploring and publishing data
Release datasette 0.31.1 — An open source multi-tool for exploring and publishing data
Release datasette Datasette 0.31 — An open source multi-tool for exploring and publishing data

Datasette 0.31. Released today: this version adds compatibility with Python 3.8 and breaks compatibility with Python 3.5. Since Glitch support Python 3.7.3 now I decided I could finally give up on 3.5. This means Datasette can use f-strings now, but more importantly it opens up the opportunity to start taking advantage of Starlette, which makes all kinds of interesting new ASGI-based plugins much easier to build.

# 12th November 2019, 6:11 am / glitch, projects, python, datasette, asgi, starlette

Weeknotes: Python 3.7 on Glitch, datasette-render-markdown

Streaks is really working well for me. I’m at 12 days of commits to Datasette, 16 posting a daily Niche Museum, 19 of actually reviewing my email inbox and 14 of guitar practice. I rewarded myself for that last one by purchasing an actual classical (as opposed to acoustic) guitar.

[... 1,141 words]

Release datasette-render-markdown 0.1a — Datasette plugin for rendering Markdown
Release datasette 0.30.2 — An open source multi-tool for exploring and publishing data
Release datasette-cluster-map 0.7 — Datasette plugin that shows a map for any data with latitude/longitude columns
Release datasette-leaflet-geojson 0.4 — Datasette plugin that replaces any GeoJSON column values with a Leaflet map.
Release datasette 0.30.1 — An open source multi-tool for exploring and publishing data
Release datasette 0.30 — An open source multi-tool for exploring and publishing data

Setting up Datasette, step by step (via) Tobias describes how he runs Datasette on his own server/VPS, using nginx and systemd. I’m doing something similar for some projects and systemd really does feel like the solution to the “ensure a Python process keeps running” problem I’ve been fighting for over a decade. I really like how Tobias creates a dedicated Linux user for each of his deployed Python projects.

# 21st October 2019, 2:20 am / sysadmin, datasette

Release datasette 0.29.3 — An open source multi-tool for exploring and publishing data

2018 Central Park Squirrel Census in Datasette (via) The Squirrel Census project released their data! 3,000 squirrel observations in Central Park, each with fur color and latitude and longitude and behavioral observations. I love this data so much. I’ve loaded it into a Datasette running on Glitch.

# 16th October 2019, 6:01 pm / squirrels, datasette

Weeknotes: PG&E outages, and Open Source works!

My big focus this week was the PG&E outages project. I’m really pleased with how this turned out: the San Francisco Chronicle used data from it for their excellent PG&E outage interactive (mixing in data on wind conditions) and it earned a bunch of interest on Twitter and some discussion on Hacker News.

[... 452 words]

Release datasette-auth-github 0.11 — Datasette plugin that authenticates users against GitHub
Release datasette-leaflet-geojson 0.3 — Datasette plugin that replaces any GeoJSON column values with a Leaflet map.
Release datasette-render-timestamps 0.2 — Datasette plugin for rendering timestamps
Release datasette-render-timestamps 0.1 — Datasette plugin for rendering timestamps