Simon Willison’s Weblog

Subscribe
Atom feed

Elsewhere

Filters: Sorted by date

Release datasette-query-links 0.1 — Turn SELECT queries returned by a query into links to execute them
Release datasette 0.59a1 — An open source multi-tool for exploring and publishing data
Release datasette-pyinstrument 0.1 — Use pyinstrument to analyze Datasette page performance
Release datasette 0.59a0 — An open source multi-tool for exploring and publishing data
TIL SQLite aggregate filter clauses — SQLite supports aggregate filter clauses (as of [3.30.0, released 2019-10-04](https://www.sqlite.org/changes.html#version_3_30_0)), as described in this [SQL Pivot in all databases](https://modern-sql.com/use-case/pivot) tutorial.
TIL Set a GIF to loop using ImageMagick — I managed to accidentally create a GIF that ran once without looping. I think this is because I created it in [LICEcap](https://www.cockos.com/licecap/) but then deleted some frames and re-saved it using macOS Preview.
TIL Check spelling using codespell — Today I discovered [codespell](https://github.com/codespell-project/codespell/) via [this Rich commit](https://github.com/willmcgugan/rich/commit/9c12a4537499797c43725fff5276ef0da62423ef#diff-ce84a1b2c9eb4ab3ea22f610cad7111cb9a2f66365c3b24679901376a2a73ab2). `codespell` is a really simple spell checker that can be run locally or incorporated into a CI flow.
Release sqlite-transform 1.2.1 — Tool for running transformations on columns in a SQLite database
Release sqlite-utils 3.14 — Python CLI utility and library for manipulating SQLite databases
TIL Search and replace with regular expressions in VS Code — I wanted to replace all instances of this:
Release datasette-json-html 1.0.1 — Datasette plugin for rendering HTML based on JSON values
Release datasette-json-html 1.0 — Datasette plugin for rendering HTML based on JSON values
Release datasette-publish-fly 1.0.2 — Datasette plugin for publishing data using Fly
Release datasette-remote-metadata 0.1 — Periodically refresh Datasette metadata from a remote URL
Release datasette-remote-metadata 0.1a0 — Periodically refresh Datasette metadata from a remote URL
Release datasette-haversine 0.2 — Datasette plugin that adds a custom SQL function for haversine distances
Release datasette-publish-vercel 0.10 — Datasette plugin for publishing data using Vercel
TIL Extracting objects recursively with jq — The Algolia-powered Hacker News API returns nested comment threads that look like this: https://hn.algolia.com/api/v1/items/27941108
Release sqlite-transform 1.2 — Tool for running transformations on columns in a SQLite database
Release sqlite-utils 3.13 — Python CLI utility and library for manipulating SQLite databases
Release sqlite-transform 1.1 — Tool for running transformations on columns in a SQLite database
Release sqlite-transform 1.0 — Tool for running transformations on columns in a SQLite database
TIL Using the tesseract CLI tool — Tesseract OCR has a command-line utility which is woefully under-documented. Thanks to [Alexandru Nedelcu](https://alexn.org/blog/2020/11/11/organize-index-screenshots-ocr-macos.html) I figured out how to use it today.
Release datasette-export-notebook 1.0 — Datasette plugin providing instructions for exporting data to Jupyter or Observable
Release datasette-graphql 1.5 — Datasette plugin providing an automatic GraphQL API for your SQLite databases
Release datasette 0.58.1 — An open source multi-tool for exploring and publishing data
Release datasette 0.58 — An open source multi-tool for exploring and publishing data
TIL Importing CSV data into SQLite with .import — I usually use my `sqlite-utils insert blah.db tablename file.csv --csv` command to import CSV data into SQLite, but for large CSV files (like a 750MB one) this can take quite a long time - over half an hour in this case.
Release conditional-get 0.3 — CLI tool for fetching data using HTTP conditional get

Beats

Years

Tags