Simon Willison’s Weblog

Newsletter
Atom feed for sqlite Random

885 posts tagged “sqlite”

2019

Release github-to-sqlite 0.2 — Save data from GitHub to a SQLite database
Release github-to-sqlite 0.1.1 — Save data from GitHub to a SQLite database

Weeknotes: ONA19, twitter-to-sqlite, datasette-rure

I’ve decided to start writing weeknotes for the duration of my JSK fellowship. Here goes!

[... 919 words]

Release twitter-to-sqlite 0.5 — Save data from Twitter to a SQLite database
Release twitter-to-sqlite 0.4 — Save data from Twitter to a SQLite database
Release twitter-to-sqlite 0.3 — Save data from Twitter to a SQLite database
Release twitter-to-sqlite 0.2 — Save data from Twitter to a SQLite database
Release twitter-to-sqlite Alpha release — Save data from Twitter to a SQLite database

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
Release swarm-to-sqlite 0.1 — Create a SQLite database containing your checkin history from Foursquare Swarm

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

Release csvs-to-sqlite 1.0 — Convert CSV files into a SQLite database
Release db-to-sqlite 1.0.2 — CLI tool for exporting tables or queries from any SQL database to a SQLite file
Release sqlite-utils 1.7.1 — Python CLI utility and library for manipulating SQLite databases
Release sqlite-utils 1.7 — Python CLI utility and library for manipulating SQLite databases
Release healthkit-to-sqlite 0.3.2 — Convert an Apple Healthkit export zip to a SQLite database
Release healthkit-to-sqlite 0.3.1 — Convert an Apple Healthkit export zip to a SQLite database

healthkit-to-sqlite. Ever since I got an Apple Watch I’ve been itching to get my hands on the step tracking and health data that it’s been collecting for me. I know it’s there in a SQLite database on my wrist, but I couldn’t figure out how to get it! A few days ago I stumbled across the “Export Health Data” button in the iOS Health app, and it turns out it creates a zip file containing XML with a full dump of the data collected by Apple Health. healthkit-to-sqlite is the tool I’ve built that can read that export and use it to create a SQLite database ready to be queried and explored with Datasette. It’s a pretty basic implementation but it’s already giving me access to over 3 million rows of data. Lots of potential here for interesting work with personal analytics.

# 22nd July 2019, 3:34 am / health, sqlite, datasette, dogsheep

Release healthkit-to-sqlite 0.3 — Convert an Apple Healthkit export zip to a SQLite database
Release healthkit-to-sqlite 0.2 — Convert an Apple Healthkit export zip to a SQLite database
Release healthkit-to-sqlite Initial release — Convert an Apple Healthkit export zip to a SQLite database
Release sqlite-utils 1.6 — Python CLI utility and library for manipulating SQLite databases
Release sqlite-diffable 0.2 — Tools for dumping/loading a SQLite database to diffable directory structure
Release sqlite-diffable 0.1 — Tools for dumping/loading a SQLite database to diffable directory structure
Release csvs-to-sqlite 0.9.2 — Convert CSV files into a SQLite database
Release db-to-sqlite 1.0.1 — CLI tool for exporting tables or queries from any SQL database to a SQLite file