Simon Willison’s Weblog

Newsletter
Atom feed for sqlite Random

885 posts tagged “sqlite”

2020

Release sqlite-generate 1.0 — Tool for generating demo SQLite databases
Release sqlite-generate 0.4.1 — Tool for generating demo SQLite databases
Release sqlite-generate 0.4 — Tool for generating demo SQLite databases
Release sqlite-generate 0.3.1 — Tool for generating demo SQLite databases

sqlite-generate (via) I wrote this tool today to generate arbitrarily large SQLite databases, for testing purposes. You tell it how many tables, columns and rows you want and it will use the Faker Python library to generate random data and populate the tables with it.

# 23rd June 2020, 2:19 am / projects, sqlite

Release sqlite-generate 0.3 — Tool for generating demo SQLite databases
Release sqlite-generate 0.2 — Tool for generating demo SQLite databases
Release sqlite-generate 0.1 — Tool for generating demo SQLite databases
Release sqlite-utils 2.10 — Python CLI utility and library for manipulating SQLite databases
Release db-to-sqlite 1.2.1 — CLI tool for exporting tables or queries from any SQL database to a SQLite file
Release db-to-sqlite 1.2 — CLI tool for exporting tables or queries from any SQL database to a SQLite file
Release dogsheep-photos 0.4.1 — Upload your photos to S3 and import metadata about them into a SQLite database

Using SQL to Look Through All of Your iMessage Text Messages (via) Dan Kelch shows how to access the iMessage SQLite database at ~/Library/Messages/chat.db—it’s protected under macOS Catalina so you have to enable Full Disk Access in the privacy settings first. I usually use the macOS terminal app but I installed iTerm for this because I’d rather enable full disk access to a separate terminal program than let anything I’m running in my regular terminal take advantage of it. It worked! Now I can run “datasette ~/Library/Messages/chat.db” to browse my messages.

# 22nd May 2020, 4:45 pm / apple, sql, sqlite, datasette

Using SQL to find my best photo of a pelican according to Apple Photos

Visit Using SQL to find my best photo of a pelican according to Apple Photos

According to the Apple Photos internal SQLite database, this is the most aesthetically pleasing photograph I have ever taken of a pelican:

[... 1,937 words]

Release dogsheep-photos 0.4 — Upload your photos to S3 and import metadata about them into a SQLite database
Release sqlite-utils 2.9.1 — Python CLI utility and library for manipulating SQLite databases
Release sqlite-utils 2.9 — Python CLI utility and library for manipulating SQLite databases

Weeknotes: Datasette 0.41, photos breakthroughs

Visit Weeknotes: Datasette 0.41, photos breakthroughs

Shorter weeknotes this week, because my main project for the week warrants a detailed write-up on its own (coming soon... update 21st May here it is).

[... 867 words]

Release dogsheep-photos 0.3a — Upload your photos to S3 and import metadata about them into a SQLite database
Release sqlite-utils 2.8 — Python CLI utility and library for manipulating SQLite databases
Release github-to-sqlite 2.2 — Save data from GitHub to a SQLite database
Release sqlite-utils 2.7.2 — Python CLI utility and library for manipulating SQLite databases
Release sqlite-utils 2.7.1 — Python CLI utility and library for manipulating SQLite databases
Release github-to-sqlite 2.1 — Save data from GitHub to a SQLite database
Release sqlite-utils 2.7 — Python CLI utility and library for manipulating SQLite databases
Release twitter-to-sqlite 0.21.1 — Save data from Twitter to a SQLite database
None
TIL Compile a new sqlite3 binary on Ubuntu — I wanted to try the `vacuum into` backup command that was released in SQLite3 3.27.0 [on 2019-02-07](https://www.sqlite.org/changes.html#version_3_27_0).
Release dogsheep-photos 0.2a — Upload your photos to S3 and import metadata about them into a SQLite database
Release dogsheep-photos 0.1a — Upload your photos to S3 and import metadata about them into a SQLite database
Release github-to-sqlite 2.0 — Save data from GitHub to a SQLite database