Simon Willison’s Weblog

Subscribe
Atom feed for sqlite-utils Random

237 posts tagged “sqlite-utils”

sqlite-utils is a Python library and command-line utility for creating and manipulating SQLite databases.

2020

Release sqlite-utils 2.7.1 — Python CLI utility and library for manipulating SQLite databases
Release sqlite-utils 2.7 — Python CLI utility and library for manipulating SQLite databases

Weeknotes: Datasette 0.40, various projects, Dogsheep photos

A new release of Datasette, two new projects and progress towards a Dogsheep photos solution.

[... 826 words]

Release sqlite-utils 2.6 — Python CLI utility and library for manipulating SQLite databases
Release sqlite-utils 2.5 — Python CLI utility and library for manipulating SQLite databases
Release sqlite-utils 2.4.4 — Python CLI utility and library for manipulating SQLite databases
Release sqlite-utils 2.4.3 — Python CLI utility and library for manipulating SQLite databases

Weeknotes: this week was absurd

As of this morning, San Francisco is in a legally mandated shelter-in-place. I can hardly remember what life was like seven days ago. It’s been a very long, very crazy week. This was not a great week for getting stuff done.

[... 246 words]

Release sqlite-utils 2.4.2 — Python CLI utility and library for manipulating SQLite databases
Release sqlite-utils 2.4.1 — Python CLI utility and library for manipulating SQLite databases
Release sqlite-utils 2.4 — Python CLI utility and library for manipulating SQLite databases
Release sqlite-utils 2.3.1 — Python CLI utility and library for manipulating SQLite databases
Release sqlite-utils 2.3 — Python CLI utility and library for manipulating SQLite databases
Release sqlite-utils 2.2.1 — Python CLI utility and library for manipulating SQLite databases
Release sqlite-utils 2.2 — Python CLI utility and library for manipulating SQLite databases
Release sqlite-utils 2.1 — Python CLI utility and library for manipulating SQLite databases
Release sqlite-utils 2.0.1 — Python CLI utility and library for manipulating SQLite databases

2019

sqlite-utils 2.0: real upserts

I just released version 2.0 of my sqlite-utils library/CLI tool to PyPI.

[... 1,140 words]

Release sqlite-utils 2.0 — Python CLI utility and library for manipulating SQLite databases

Logging to SQLite using ASGI middleware

I had some fun playing around with ASGI middleware and logging during our flight back to England for the holidays.

[... 2,535 words]

Weeknotes: Python 3.7 on Glitch, datasette-render-markdown

Streaks is really working well for me. I’m at 12 days of commits to Datasette, 16 posting a daily Niche Museum, 19 of actually reviewing my email inbox and 14 of guitar practice. I rewarded myself for that last one by purchasing an actual classical (as opposed to acoustic) guitar.

[... 1,141 words]

Release sqlite-utils 1.12.1 — Python CLI utility and library for manipulating SQLite databases
Release sqlite-utils 1.12 — Python CLI utility and library for manipulating SQLite databases

Tracking PG&E outages by scraping to a git repo

Visit Tracking PG&E outages by scraping to a git repo

PG&E have cut off power to several million people in northern California, supposedly as a precaution against wildfires.

[... 868 words]

sqlite-utils 1.11. Amjith Ramanujam contributed an excellent new feature to sqlite-utils, which I’ve now released as part of version 1.11. Previously you could enable SQLite full-text-search on a table using the .enable_fts() method (or the “sqlite-utils enable-fts” CLI command) but it wouldn’t reflect future changes to the table—you had to use populate_fts() any time you inserted new records. Thanks to Amjith you can now pass create_triggers=True (or --create-triggers) to cause sqlite-utils to automatically add triggers that keeps the FTS index up-to-date any time a row is inserted, updated or deleted from the table.

# 3rd September 2019, 1:05 am / cli, full-text-search, projects, sqlite, sqlite-utils

Release sqlite-utils 1.11 — Python CLI utility and library for manipulating SQLite databases
Release sqlite-utils 1.10 — Python CLI utility and library for manipulating SQLite databases
Release sqlite-utils 1.9 — Python CLI utility and library for manipulating SQLite databases
Release sqlite-utils 1.8 — Python CLI utility and library for manipulating SQLite databases

Working with many-to-many relationships in sqlite-utils (via) I just released sqlite-utils 1.9 with syntactic sugar support for creating many-to-many relationships for records stored in SQLite databases.

# 4th August 2019, 3:57 am / projects, sqlite, sqlite-utils