Simon Willison’s Weblog

Subscribe
Atom feed

Elsewhere

Filters: Sorted by date

TIL Read the Docs Search API — I stumbled across this API today: https://docs.datasette.io/_/api/v2/docsearch/?q=startup&project=datasette&version=stable&language=en
Release datasette-cluster-map 0.12 — Datasette plugin that shows a map for any data with latitude/longitude columns
Release datasette 0.48 — An open source multi-tool for exploring and publishing data
Release datasette-graphql 0.12.2 — Datasette plugin providing an automatic GraphQL API for your SQLite databases
Release datasette-saved-queries 0.2.1 — Datasette plugin that lets users save and execute queries
Release datasette 0.47.3 — An open source multi-tool for exploring and publishing data
Release datasette-upload-csvs 0.5 — Datasette plugin for uploading CSV files and converting them to database tables
TIL Code coverage using pytest and codecov.io — I got my [asgi-csrf](https://github.com/simonw/asgi-csrf) Python package up to 100% code coverage. Here's [the pull request](https://github.com/simonw/asgi-csrf/issues/13).
Release asgi-csrf 0.7 — ASGI middleware for protecting against CSRF attacks
Release asgi-csrf 0.7a0 — ASGI middleware for protecting against CSRF attacks
TIL Pointing a custom subdomain at Read the Docs — I host the documentation for Datasette on [Read the Docs](https://readthedocs.org/). Until today it lived at https://datasette.readthedocs.io/ but today I moved it to a custom subdomain, https://docs.datasette.io/
Release datasette-cluster-map 0.11.1 — Datasette plugin that shows a map for any data with latitude/longitude columns
Release datasette-cluster-map 0.11 — Datasette plugin that shows a map for any data with latitude/longitude columns
Release datasette-graphql 0.12.1 — Datasette plugin providing an automatic GraphQL API for your SQLite databases
Release datasette-graphql 0.12 — Datasette plugin providing an automatic GraphQL API for your SQLite databases
Release datasette 0.47.2 — An open source multi-tool for exploring and publishing data
TIL Customizing my zsh prompt — I got fed up of the default macOS `zsh` prompt:
Release sqlite-utils 2.15.1 — Python CLI utility and library for manipulating SQLite databases
Release datasette 0.47.1 — An open source multi-tool for exploring and publishing data
Release datasette 0.47 — An open source multi-tool for exploring and publishing data
TIL How to call pip programatically from Python — I needed this for the `datasette install` and `datasette uninstall` commands, see [issue #925](https://github.com/simonw/datasette/issues/925).
TIL Packaging a Python CLI tool for Homebrew — I finally figured out how to package [Datasette](https://github.com/simonw/datasette) for installation with Homebrew. My package was accepted into Homebrew core, which means you can now install it like this:
Release sqlite-utils 2.15 — Python CLI utility and library for manipulating SQLite databases
TIL Attaching a bash shell to a running Docker container — Use `docker ps` to find the container ID:
TIL Enabling WAL mode for SQLite database files — I was getting occasional `Error: database is locked` messages from a Datasette instance that was running against a bunch of different SQLite files that were updated by cron scripts (my personal [Dogsheep](https://dogsheep.github.io/)).
Release datasette-json-html 0.6.1 — Datasette plugin for rendering HTML based on JSON values
Release datasette-json-html 0.6 — Datasette plugin for rendering HTML based on JSON values
Release csvs-to-sqlite 1.1 — Convert CSV files into a SQLite database
Release datasette 0.46 — An open source multi-tool for exploring and publishing data
Release asgi-csrf 0.6.1 — ASGI middleware for protecting against CSRF attacks

Beats

Years

Tags