Simon Willison’s Weblog

Subscribe
Atom feed

Elsewhere

Filters: Sorted by date

Release datasette-app-support 0.8 — Part of https://github.com/simonw/datasette-app
Release datasette-app-support 0.7 — Part of https://github.com/simonw/datasette-app
TIL Bundling Python inside an Electron app — For [Datasette Desktop](https://datasette.io/desktop) I chose to bundle a full version of Python 3.9 inside my `Datasette.app` application. I did this in order to support installation of plugins via `pip install` - you can read more about my reasoning in [Datasette Desktop—a macOS desktop application for Datasette](https://simonwillison.net/2021/Sep/8/datasette-desktop/).
None
TIL Signing and notarizing an Electron app for distribution using GitHub Actions — I had to figure this out for [Datasette Desktop](https://github.com/simonw/datasette-app).
None
TIL Attaching a generated file to a GitHub release using Actions — For [Datasette Desktop](https://github.com/simonw/datasette-app) I wanted to run an action which, when I created a release, would build an asset for that release and then upload and attach it.
None
Release datasette-import-table 0.3 — Datasette plugin for importing tables from other Datasette instances
Release datasette-app Datasette Desktop 0.1.0 — The Datasette macOS application
Release datasette-app-support 0.6 — Part of https://github.com/simonw/datasette-app
Release datasette-app-support 0.5 — Part of https://github.com/simonw/datasette-app
Release pids 0.1.2 — A tiny Python library for generating public IDs from integers
Release datasette-app-support 0.4 — Part of https://github.com/simonw/datasette-app
Release datasette-app-support 0.3 — Part of https://github.com/simonw/datasette-app
TIL Open external links in an Electron app using the system browser — For [Datasette.app](https://github.com/simonw/datasette-app) I wanted to ensure that links to external URLs would [open in the system browser](https://github.com/simonw/datasette-app/issues/34).
None
Release datasette-app-support 0.2 — Part of https://github.com/simonw/datasette-app
Release datasette-app-support 0.1.2 — Part of https://github.com/simonw/datasette-app
Release datasette-app-support 0.1.1 — Part of https://github.com/simonw/datasette-app
Release datasette-app-support 0.1 — Part of https://github.com/simonw/datasette-app
TIL Using the Chrome DevTools console as a REPL for an Electron app — I figured out how to use the Chrome DevTools to execute JavaScript interactively inside the Electron main process. I always like having a REPL for exploring APIs, and this means I can explore the Electron and Node.js APIs interactively.
None
TIL Calculating the AQI based on the Purple Air API for a sensor — [Purple Air](https://www.purpleair.com/) sensors have an API at `https://www.purpleair.com/map.json?show=SENSOR-ID-HERE`, which returns JSON that looks something like this:
None
Release datasette-verify 0.1 — Verify that files can be opened by Datasette
Release datasette 0.59a2 — An open source multi-tool for exploring and publishing data
Release evernote-to-sqlite 0.3.2 — Tools for converting Evernote content to SQLite
Release sqlite-utils 3.17 — Python CLI utility and library for manipulating SQLite databases
TIL Searching all columns of a table in Datasette — I came up with this trick today, when I wanted to run a `LIKE` search against every column in a table.
None
TIL Histogram with tooltips in Observable Plot — Given an array of datetime objects, I wanted to plot a histogram. But I wanted to automatically pick a bucket size for that histogram that resulted in something interesting, no matter what range of time the individual points covered.
None
Museum Hiller Aviation Museum — 601 Skyway Road, San Carlos, CA 94070
A red biplane in the museum.
Release healthkit-to-sqlite 1.0.1 — Convert an Apple Healthkit export zip to a SQLite database
Release twitter-to-sqlite 0.21.4 — Save data from Twitter to a SQLite database
Release datasette-block-robots 1.0 — Datasette plugin that blocks robots and crawlers using robots.txt
TIL Track timestamped changes to a SQLite table using triggers — This is more of a "today I figured out" than a TIL.
None