datasette-upload-dbs 0.5a0 Formalizes an API for Atomically Swapping SQLite Databases on a Hosted Datasette
Simon Willison·low signal
Simon Willison shipped an alpha of datasette-upload-dbs on August 11 that turns a long-standing plugin into something programmable: rather than only supporting interactive uploads of a new SQLite file, 0.5a0 adds a formal API for uploading and atomically swapping databases on a running hosted Datasette instance. The atomic swap is the operationally interesting bit — it makes "rebuild the DB elsewhere, then hot-replace it" a supported deployment pattern for read-only Datasette publishing rather than a hack.