Simon Willison’s Weblog

Newsletter
Atom feed for sqlite Random

885 posts tagged “sqlite”

2020

Release datasette-graphql 0.8 — Datasette plugin providing an automatic GraphQL API for your SQLite databases

GraphQL in Datasette with the new datasette-graphql plugin

Visit GraphQL in Datasette with the new datasette-graphql plugin

This week I’ve mostly been building datasette-graphql, a plugin that adds GraphQL query support to Datasette.

[... 1,249 words]

Release datasette-graphql 0.7 — Datasette plugin providing an automatic GraphQL API for your SQLite databases
Release datasette-graphql 0.6 — Datasette plugin providing an automatic GraphQL API for your SQLite databases
Release sqlite-utils 2.14.1 — Python CLI utility and library for manipulating SQLite databases
Release datasette-graphql 0.5 — Datasette plugin providing an automatic GraphQL API for your SQLite databases
Release datasette-graphql 0.4 — Datasette plugin providing an automatic GraphQL API for your SQLite databases
Release datasette-graphql 0.3 — Datasette plugin providing an automatic GraphQL API for your SQLite databases
Release datasette-graphql 0.2 — Datasette plugin providing an automatic GraphQL API for your SQLite databases
Release datasette-graphql 0.1a4 — Datasette plugin providing an automatic GraphQL API for your SQLite databases
Release datasette-graphql 0.1a3 — Datasette plugin providing an automatic GraphQL API for your SQLite databases
Release datasette-graphql 0.1a2 — Datasette plugin providing an automatic GraphQL API for your SQLite databases
Release datasette-graphql 0.1a1 — Datasette plugin providing an automatic GraphQL API for your SQLite databases
Release datasette-graphql 0.1a — Datasette plugin providing an automatic GraphQL API for your SQLite databases

sqlite-utils 2.14 (via) I finally figured out porter stemming with SQLite full-text search today—it turns out it’s as easy as adding tokenize=’porter’ to the CREATE VIRTUAL TABLE statement. So I just shipped sqlite-utils 2.14 with a tokenize= option (plus the ability to insert binary file data from stdin).

# 1st August 2020, 9:19 pm / full-text-search, projects, search, sqlite, sqlite-utils

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

Fun with binary data and SQLite

This week I’ve been mainly experimenting with binary data storage in SQLite. sqlite-utils can now insert data from binary files, and datasette-media can serve content over HTTP that originated as binary BLOBs in a database file.

[... 957 words]

Release sqlite-utils 2.13 — Python CLI utility and library for manipulating SQLite databases
Release db-to-sqlite 1.3 — CLI tool for exporting tables or queries from any SQL database to a SQLite file

sqlite-utils 2.12 (via) I’ve been experimenting with ways of improving BLOB support in Datasette and sqlite-utils. This new version of sqlite-utils includes a “sqlite-utils insert-files” command, which can recursively crawl directories for files and add their contents to SQLite with configurable columns containing their metadata.

I was inspired by Paul Ford who has been creating multi-GB SQLite databases of images and PDFs. It turns out that when disk space is cheap this is a pretty effective way of working with interesting corpuses of documents and images.

# 27th July 2020, 7:36 am / projects, sqlite, sqlite-utils

Release sqlite-utils 2.12 — Python CLI utility and library for manipulating SQLite databases
Release twitter-to-sqlite 0.21.3 — Save data from Twitter to a SQLite database
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 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

Weeknotes: cookiecutter templates, better plugin documentation, sqlite-generate

I spent this week spreading myself between a bunch of smaller projects, and finally getting familiar with cookiecutter. I wrote about my datasette-plugin cookiecutter template earlier in the week; here’s what else I’ve been working on.

[... 703 words]

Release sqlite-generate 1.1.1 — Tool for generating demo SQLite databases
Release sqlite-utils 2.10.1 — Python CLI utility and library for manipulating SQLite databases
Release sqlite-generate 1.1 — Tool for generating demo SQLite databases