~/talk

Data analysis with SQLite and Python

Talkat PyCon US 2023 · 2023-04-19..04-27· [databases, python]
slides:none on file

Shows concrete workflows: use Python's sqlite3 and sqlite-utils to import CSVs (14,341 manatee records), normalize columns into foreign keys, and add ISO dates; build a searchable PEP database (429 PEPs), enable FTS-5 full‑text ranking, and publish peps.db to Vercel/Cloud Run as a live API. Demonstrates Datasette for faceting and SQL inspection and even Datasette in WebAssembly running wholly in the browser; claims performance (2.8 TB max DB, fast C JSON/FTS) and the deployments actually work.

AI-written summary · about

  1. 0:00Welcome
  2. 1:06Setup
  3. 10:00SQLite features
  4. 25:08SQLite in Python
  5. 39:50Dataset tool
  6. 1:05:25Legislators database
  7. 1:25:36sqlite utils CLI
  8. 1:45:41PEPs database
  9. 2:05:44Publish SQLite online
  10. 2:17:04Advanced SQL
  11. 2:34:02Fun demos and real-world applications of dataset
  12. 2:45:26Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.