Simon Willison’s Weblog

Subscribe
Atom feed

Elsewhere

Filters: Sorted by date

Release datasette-edit-schema 0.3a2 — Datasette plugin for modifying table schemas
None
TIL Escaping strings in Bash using !:q — TIL this trick, [via Pascal Hirsch](https://twitter.com/phphys/status/1311727268398465029) on Twitter. Enter a line of Bash starting with a `#` comment, then run `!:q` on the next line to see what that would be with proper Bash escaping applied.
Release datasette-cluster-map 0.12.3 — Datasette plugin that shows a map for any data with latitude/longitude columns
Release datasette-cluster-map 0.12.2 — Datasette plugin that shows a map for any data with latitude/longitude columns
Release datasette-cluster-map 0.12.1 — Datasette plugin that shows a map for any data with latitude/longitude columns
Release datasette-edit-schema 0.3a1 — Datasette plugin for modifying table schemas
Release datasette-edit-schema 0.3a — Datasette plugin for modifying table schemas
Release datasette-dateutil 0.2.1 — dateutil functions for Datasette
Release datasette-dateutil 0.2 — dateutil functions for Datasette
Release datasette-import-table 0.2 — Datasette plugin for importing tables from other Datasette instances
Release datasette-import-table 0.1 — Datasette plugin for importing tables from other Datasette instances
Release datasette-import-table 0.1a2 — Datasette plugin for importing tables from other Datasette instances
Release datasette-import-table 0.1a1 — Datasette plugin for importing tables from other Datasette instances
Release datasette-import-table 0.1a0 — Datasette plugin for importing tables from other Datasette instances
Release datasette-dateutil 0.1 — dateutil functions for Datasette
None
TIL Figuring out if a text value in SQLite is a valid integer or float — Given a table with a `TEXT` column in SQLite I want to figure out if every value in that table is actually the text representation of an integer or floating point value, so I can decide if it's a good idea to change the type of the column (using [sqlite-utils transform](https://sqlite-utils.datasette.io/en/stable/python-api.html#transforming-a-table)).
Release sqlite-utils 2.21 — Python CLI utility and library for manipulating SQLite databases
Release sqlite-utils 2.20 — Python CLI utility and library for manipulating SQLite databases
None
TIL Understanding option names in Click — I hit [a bug today](https://github.com/simonw/datasette/issues/973) where I had defined a Click option called `open` but in doing so I replaced the Python bulit-in `open()` function:
Release dogsheep-beta 0.9a0 — Build a search index across content from multiple SQLite database tables and run faceted searches against it using Datasette
Release sqlite-utils 2.19 — Python CLI utility and library for manipulating SQLite databases
None
TIL Compiling the SQLite spellfix.c module on macOS — I wanted to browse a backup copy of my Plex database, which is a SQLite file. I tried this:
None
TIL Turning on Jinja autoescaping when using Template() directly — Jinja autoescaping is turned off by default. Coming from Django this frequently catches me out.
Release dogsheep-beta 0.8 — Build a search index across content from multiple SQLite database tables and run faceted searches against it using Datasette
None
TIL Talking to a PostgreSQL service container from inside a Docker container — I have a Django application which uses PostgreSQL. I build the Django application into its own Docker container, push that built container to the GitHub package registery and then deploy that container to production.
Release dogsheep-beta 0.7.1 — Build a search index across content from multiple SQLite database tables and run faceted searches against it using Datasette
Release dogsheep-beta 0.7 — Build a search index across content from multiple SQLite database tables and run faceted searches against it using Datasette
Release github-to-sqlite 2.6 — Save data from GitHub to a SQLite database
Release datasette 0.49.1 — An open source multi-tool for exploring and publishing data
None
TIL Open a debugging shell in GitHub Actions with tmate — > :warning: **17 Feb 2022: There have been reports of running tmate causing account suspensions**. See [this issue](https://github.com/mxschmitt/action-tmate/issues/104) for details. Continue with caution.