Simon Willison’s Weblog

Subscribe
Atom feed

Elsewhere

Filters: Sorted by date

TIL PostgreSQL full-text search in the Django Admin — Django 3.1 introduces PostgreSQL `search_type="websearch"` - which gives you search with advanced operators like `"phrase search" -excluding`. James Turk [wrote about this here](https://jamesturk.net/posts/websearch-in-django-31/), and it's also in [my weeknotes](https://simonwillison.net/2020/Jul/23/datasette-copyable-datasette-insert-api/).
Release datasette-insert 0.5 — Datasette plugin for inserting and updating data
TIL Implementing a "copy to clipboard" button — I had to figure this out while building [datasette-copyable](https://github.com/simonw/datasette-copyable/) - demo [here](https://covid-19.datasettes.com/covid/ny_times_us_counties.copyable?state=Texas&county=Harris).
Release twitter-to-sqlite 0.21.3 — Save data from Twitter to a SQLite database
TIL Updating a Markdown table of contents with a GitHub Action — [markdown-toc](https://github.com/jonschlinkert/markdown-toc) is a Node script that parses a Markdown file and generates a table of contents for it, based on the headings.
Release datasette-clone 0.5 — Create a local copy of database files from a Datasette instance
Release datasette-copyable 0.2 — Datasette plugin for outputting tables in formats suitable for copy and paste
Release datasette-copyable 0.1 — Datasette plugin for outputting tables in formats suitable for copy and paste
Release datasette-insert 0.4 — Datasette plugin for inserting and updating data
TIL Registering temporary pluggy plugins inside tests — While implementing more finely-grained permissions for `datasette-insert-api` ([issue 8](https://github.com/simonw/datasette-insert-api/issues/8)) I decided I wanted to register a Datasette pluggy plugin for the duration of a single test.
TIL Upgrading a Heroku PostgreSQL database with pg:copy — Figured this out in https://github.com/simonw/simonwillisonblog/issues/132 - I was running PostgreSQL 9.x and I wanted 11.x in order to use the new `search_type="websearch"` option in Django 3.1.
Release datasette-auth-tokens 0.2.2 — Datasette plugin for authenticating access using API tokens
Release datasette-insert 0.3 — Datasette plugin for inserting and updating data
Release datasette-insert 0.2a — Datasette plugin for inserting and updating data
Release twitter-to-sqlite 0.21.2 — Save data from Twitter to a SQLite database
Release github-to-sqlite 2.4 — Save data from GitHub to a SQLite database
Release datasette-insert 0.1a — Datasette plugin for inserting and updating data
Release datasette-plugin-demos 0.4 — Some examples plugins for Datasette
TIL Password hashing in Python with pbkdf2 — I was researching password hashing for [datasette-auth-passwords](https://github.com/simonw/datasette-auth-passwords). I wanted very secure defaults that would work using the Python standard library without any extra dependencies.
Release datasette-auth-passwords 0.3 — Datasette plugin for authentication using passwords
Release datasette-auth-passwords 0.2.1 — Datasette plugin for authentication using passwords
Release datasette-auth-passwords 0.2 — Datasette plugin for authentication using passwords
Release datasette-auth-passwords 0.2a — Datasette plugin for authentication using passwords
Release datasette-auth-passwords 0.1 — Datasette plugin for authentication using passwords
Release datasette-publish-fly 1.0 — Datasette plugin for publishing data using Fly
TIL Using heroku pg:pull to restore a backup to a macOS laptop — Today I worked out how to use the Heroku `pg:pull` command and [Postgres.app](https://postgresapp.com/) to pull a Heroku backup to my laptop.
TIL Paginating through the GitHub GraphQL API with Python — (See also [Building a self-updating profile README for GitHub](https://simonwillison.net/2020/Jul/10/self-updating-profile-readme/) on my blog)
Release github-to-sqlite 2.3 — Save data from GitHub to a SQLite database
Release sqlite-utils 2.11 — Python CLI utility and library for manipulating SQLite databases
Release datasette-media 0.3 — Datasette plugin for serving media based on a SQL query

Beats

Years

Tags