Simon Willison’s Weblog

Subscribe
Atom feed

Elsewhere

Filters: Sorted by date

TIL Ignoring a line in both flake8 and mypy — I [needed to tell](https://github.com/simonw/sqlite-utils/pull/347#issuecomment-982133970) both `flake8` and `mypy` to ignore the same line of code.
Release s3-credentials 0.7 — A tool for creating credentials for accessing S3 buckets
Release datasette 0.59.4 — An open source multi-tool for exploring and publishing data
TIL Reusing an existing Click tool with register_commands — The [register_commands](https://docs.datasette.io/en/stable/plugin_hooks.html#register-commands-cli) plugin hook lets you add extra sub-commands to the `datasette` CLI tool.
TIL Publishing a Web Component to npm — I tried this for the first time today with my highly experimental [datasette-table](https://www.npmjs.com/package/datasette-table) Web Component. Here's [the source code](https://github.com/simonw/datasette-table/tree/0.1.0) for version 0.1.0.
Release datasette-table 0.1.0 — A Web Component for embedding a Datasette table on a page
TIL Pausing traffic and retrying in Caddy — A pattern I really like for zero-downtime deploys is the ability to "pause" HTTP traffic at the load balancer, such that incoming requests from browsers appear to take a few extra seconds to return, but under the hood they've actually been held in a queue while a backend server is swapped out or upgraded in some way.
Release datasette-publish-vercel 0.12 — Datasette plugin for publishing data using Vercel
Release git-history 0.4 — Tools for analyzing Git history using SQLite
Release sqlite-utils 3.19 — Python CLI utility and library for manipulating SQLite databases
Release datasette 0.59.3 — An open source multi-tool for exploring and publishing data
Release datasette-redirect-to-https 0.1 — Datasette plugin that redirects all non-https requests to https
TIL Assigning a custom subdomain to a Fly app — I deployed an app to [Fly](https://fly.io/) and decided to point a custom subdomain to it.
TIL Using build-arg variables with Cloud Run deployments — For [datasette/issues/1522](https://github.com/simonw/datasette/issues/1522) I wanted to use a Docker build argument in a `Dockerfile` that would then be deployed to Cloud Run.
Release sqlite-utils 3.19a0 — Python CLI utility and library for manipulating SQLite databases
Release s3-credentials 0.6 — A tool for creating credentials for accessing S3 buckets
Release csvs-to-sqlite 1.3 — Convert CSV files into a SQLite database
TIL Using cog to update --help in a Markdown README file — My [csvs-to-sqlite README](https://github.com/simonw/csvs-to-sqlite/blob/main/README.md) includes a section that shows the output of the `csvs-to-sqlite --help` command ([relevant issue](https://github.com/simonw/csvs-to-sqlite/issues/82)).
Release datasette-graphql 2.0 — Datasette plugin providing an automatic GraphQL API for your SQLite databases
Release asyncinject 0.2a0 — Run async workflows using pytest-fixtures-style dependency injection
Release asyncinject 0.1a0 — Run async workflows using pytest-fixtures-style dependency injection
TIL Planning parallel downloads with TopologicalSorter — For [complicated reasons](https://github.com/simonw/datasette/issues/878) I found myself wanting to write Python code to resolve a graph of dependencies and produce a plan for efficiently executing them, in parallel where possible.
Release sqlite-utils 3.18 — Python CLI utility and library for manipulating SQLite databases
Release datasette 0.59.2 — An open source multi-tool for exploring and publishing data
Release datasette-hello-world 0.1.1 — The hello world of Datasette plugins
Release git-history 0.3.1 — Tools for analyzing Git history using SQLite
Release git-history 0.3 — Tools for analyzing Git history using SQLite
Release git-history 0.2.1 — Tools for analyzing Git history using SQLite
Release git-history 0.2 — Tools for analyzing Git history using SQLite
Release git-history 0.1 — Tools for analyzing Git history using SQLite

Beats

Years

Tags