Simon Willison’s Weblog

Newsletter
Atom feed for sqlite Random

885 posts tagged “sqlite”

2020

Release datasette-graphql 1.3 — Datasette plugin providing an automatic GraphQL API for your SQLite databases
Release github-to-sqlite 2.8.1 — Save data from GitHub to a SQLite database
Release github-to-sqlite 2.8 — Save data from GitHub to a SQLite database
Release datasette-graphql 1.2.1 — Datasette plugin providing an automatic GraphQL API for your SQLite databases
Release datasette-graphql 1.2 — Datasette plugin providing an automatic GraphQL API for your SQLite databases
Release sqlite-utils 3.0 — Python CLI utility and library for manipulating SQLite databases
Release sqlite-utils 3.0a0 — Python CLI utility and library for manipulating SQLite databases
Release sqlite-fts4 1.0.1 — Custom Python functions for working with SQLite FTS4
Release sqlite-fts4 1.0 — Custom Python functions for working with SQLite FTS4
Release csvs-to-sqlite 1.2 — Convert CSV files into a SQLite database
Release datasette-graphql 1.1 — Datasette plugin providing an automatic GraphQL API for your SQLite databases
Release sqlite-utils 2.23 — Python CLI utility and library for manipulating SQLite databases

CG-SQL (via) This is the toolkit the Facebook Messenger team wrote to bring stored procedures to SQLite. It implements a custom version of the T-SQL language which it uses to generate C code that can then be compiled into a SQLite module.

# 22nd October 2020, 6:25 pm / c, facebook, sqlite

Project LightSpeed: Rewriting the Messenger codebase for a faster, smaller, and simpler messaging app (via) Facebook rewrote their iOS messaging app earlier this year, dropping it from 1.7m lines of code to 360,000 and reducing the binary size to a quarter of what it was. A key part of the new app’s architecture is much heavier reliance on SQLite to coordinate data between views, and to dynamically configure how different views are displayed. They even built their own custom system to add stored procedures to SQLite so they could execute portable business logic inside the database.

# 22nd October 2020, 6:22 pm / facebook, sqlite

Release sphinx-to-sqlite 0.1a1 — Create a SQLite database from Sphinx documentation
Release inaturalist-to-sqlite 0.2.1 — Create a SQLite database containing your observation history from iNaturalist
Release pocket-to-sqlite 0.2.1 — Create a SQLite database containing data from your Pocket account

Proof of concept: sqlite_utils magic for Jupyter (via) Tony Hirst has been experimenting with building a Jupyter “magic” that adds special syntax for using sqlite-utils to insert data and run queries. Query results come back as a Pandas DataFrame, which Jupyter then displays as a table.

# 21st October 2020, 5:26 pm / pandas, sqlite, tony-hirst, jupyter, sqlite-utils

Pikchr. Interesting new project from SQLite creator D. Richard Hipp. Pikchr is a new mini language for describing visual diagrams, designed to be embedded in Markdown documentation. It’s already enabled for the SQLite forum. Implementation is a no-dependencies C library and output is SVG.

# 21st October 2020, 4:02 pm / c, sqlite, svg, markdown, d-richard-hipp

Release github-to-sqlite 2.7 — Save data from GitHub to a SQLite database
Release sphinx-to-sqlite 0.1a — Create a SQLite database from Sphinx documentation
Release dogsheep-beta 0.9 — Build a search index across content from multiple SQLite database tables and run faceted searches against it using Datasette
Release healthkit-to-sqlite 1.0 — Convert an Apple Healthkit export zip to a SQLite database

Building an Evernote to SQLite exporter

Visit Building an Evernote to SQLite exporter

I’ve been using Evernote for over a decade, and I’ve long wanted to export my data from it so I can do interesting things with it.

[... 1,879 words]

Release sqlite-utils 2.22 — Python CLI utility and library for manipulating SQLite databases
Release swarm-to-sqlite 0.3.2 — Create a SQLite database containing your checkin history from Foursquare Swarm

evernote-to-sqlite (via) The latest tool in my Dogsheep series of utilities for personal analytics: evernote-to-sqlite takes Evernote note exports en their ENEX XML format and loads them into a SQLite database. Embedded images are loaded into a BLOB column and the output of their cloud-based OCR system is added to a full-text search index. Notes have a latitude and longitude which means you can visualize your notes on a map using Datasette and datasette-cluster-map.

# 12th October 2020, 12:38 am / projects, sqlite, datasette, dogsheep

Release evernote-to-sqlite 0.2 — Tools for converting Evernote content to SQLite
Release evernote-to-sqlite 0.1 — Tools for converting Evernote content to SQLite

Datasette Weekly: Datasette 0.50, git scraping, extracting columns (via) The first edition of the new Datasette Weekly newsletter—covering Datasette 0.50, Git scraping, extracting columns with sqlite-utils and featuring datasette-graphql as the first “plugin of the week”

# 10th October 2020, 9 pm / email, projects, sqlite, graphql, datasette, git-scraping, sqlite-utils