Simon Willison’s Weblog

Subscribe
Atom feed

Elsewhere

Filters: Sorted by date

Release db-to-sqlite 1.4 — CLI tool for exporting tables or queries from any SQL database to a SQLite file
TIL Running a MySQL server using Homebrew — First, install MySQL like so:
None
Release datasette-mask-columns 0.2.1 — Datasette plugin that masks specified database columns
Release datasette 0.58a0 — An open source multi-tool for exploring and publishing data
Release datasette-placekey 0.1 — SQL functions for working with placekeys
Release datasette 0.57.1 — An open source multi-tool for exploring and publishing data
Release xml-analyser 1.2 — Simple command line tool for quickly analysing the structure of an arbitrary XML file
Release datasette-upload-csvs 0.6.1 — Datasette plugin for uploading CSV files and converting them to database tables
Release xml-analyser 1.1 — Simple command line tool for quickly analysing the structure of an arbitrary XML file
TIL Exporting Amplitude events to SQLite — [Amplitude](https://amplitude.com/) offers an "Export Data" button in the project settings page. This can export up to 365 days of events (up to 4GB per export), where the export is a zip file containing `*.json.gz` gzipped newline-delimited JSON.
None
Release django-sql-dashboard 0.16 — Django app for building dashboards using raw SQL queries
Release datasette-auth-passwords 0.4.1 — Datasette plugin for authentication using passwords
Release datasette 0.57 — An open source multi-tool for exploring and publishing data
Release datasette 0.56.1 — An open source multi-tool for exploring and publishing data
Release django-sql-dashboard 0.15.1 — Django app for building dashboards using raw SQL queries
TIL Building a Markdown summary of Django group permissions — [Django SQL Dashboard](https://django-sql-dashboard.datasette.io/) can display rendered markdown generated by a SQL query.
None
Release sqlite-utils 3.8 — Python CLI utility and library for manipulating SQLite databases
Release sqlite-utils 3.7 — Python CLI utility and library for manipulating SQLite databases
TIL Finding CSV files that start with a BOM using ripgrep — For [sqlite-utils issue 250](https://github.com/simonw/sqlite-utils/issues/250) I needed to locate some test CSV files that start with a UTF-8 BOM.
None
Release datasette 0.57a1 — An open source multi-tool for exploring and publishing data
TIL Running Docker on an M1 Mac — *TLDR: Use `platform: linux/amd64` in `docker-compose.yml` and your containers will probably work!*
None
TIL Docker Compose for Django development — I had to get Docker Compose working for a Django project, primarily to make it easier for other developers to get a working development environment.
None
Release django-sql-dashboard 0.15 — Django app for building dashboards using raw SQL queries
Release datasette 0.57a0 — An open source multi-tool for exploring and publishing data
Release geojson-to-sqlite 0.3.1 — CLI tool for converting GeoJSON files to SQLite (with SpatiaLite)
TIL Finding duplicate records by matching name and nearby distance — I wanted to find potentially duplicate records in my data, based on having the exact same name and being geographically located within 500 meters of each other.
None
TIL Switching between gcloud accounts — I have two different Google Cloud accounts active at the moment. Here's how to list them with `gcloud auth list`:
None
TIL Django data migration using a PostgreSQL CTE — I figured out how to use a PostgreSQL CTE as part of an update statement in a Django data migration. The trick here is mainly understanding how to combine CTEs with a PostgreSQL update - here's the pattern for that:
None
TIL KNN queries with SpatiaLite — The latest version of SpatiaLite adds KNN support, which makes it easy to efficiently answer the question "what are the X closest records to this point".
None