Simon Willison’s Weblog

Subscribe
Atom feed for datasette Random

1,455 posts tagged “datasette”

Datasette is an open source tool for exploring and publishing data.

2019

Release datasette 0.31.1 — An open source multi-tool for exploring and publishing data
Release datasette Datasette 0.31 — An open source multi-tool for exploring and publishing data

Datasette 0.31. Released today: this version adds compatibility with Python 3.8 and breaks compatibility with Python 3.5. Since Glitch support Python 3.7.3 now I decided I could finally give up on 3.5. This means Datasette can use f-strings now, but more importantly it opens up the opportunity to start taking advantage of Starlette, which makes all kinds of interesting new ASGI-based plugins much easier to build.

# 12th November 2019, 6:11 am / glitch, asgi, datasette, python, projects

Weeknotes: Python 3.7 on Glitch, datasette-render-markdown

Streaks is really working well for me. I’m at 12 days of commits to Datasette, 16 posting a daily Niche Museum, 19 of actually reviewing my email inbox and 14 of guitar practice. I rewarded myself for that last one by purchasing an actual classical (as opposed to acoustic) guitar.

[... 1,141 words]

Release datasette-render-markdown 0.1a — Datasette plugin for rendering Markdown
Release datasette 0.30.2 — An open source multi-tool for exploring and publishing data
Release datasette-cluster-map 0.7 — Datasette plugin that shows a map for any data with latitude/longitude columns
Release datasette-leaflet-geojson 0.4 — Datasette plugin that replaces any GeoJSON column values with a Leaflet map.
Release datasette 0.30.1 — An open source multi-tool for exploring and publishing data
Release datasette 0.30 — An open source multi-tool for exploring and publishing data

Setting up Datasette, step by step (via) Tobias describes how he runs Datasette on his own server/VPS, using nginx and systemd. I’m doing something similar for some projects and systemd really does feel like the solution to the “ensure a Python process keeps running” problem I’ve been fighting for over a decade. I really like how Tobias creates a dedicated Linux user for each of his deployed Python projects.

# 21st October 2019, 2:20 am / sysadmin, datasette

Release datasette 0.29.3 — An open source multi-tool for exploring and publishing data

2018 Central Park Squirrel Census in Datasette (via) The Squirrel Census project released their data! 3,000 squirrel observations in Central Park, each with fur color and latitude and longitude and behavioral observations. I love this data so much. I’ve loaded it into a Datasette running on Glitch.

# 16th October 2019, 6:01 pm / squirrels, datasette

Weeknotes: PG&E outages, and Open Source works!

My big focus this week was the PG&E outages project. I’m really pleased with how this turned out: the San Francisco Chronicle used data from it for their excellent PG&E outage interactive (mixing in data on wind conditions) and it earned a bunch of interest on Twitter and some discussion on Hacker News.

[... 452 words]

Release datasette-auth-github 0.11 — Datasette plugin that authenticates users against GitHub
Release datasette-leaflet-geojson 0.3 — Datasette plugin that replaces any GeoJSON column values with a Leaflet map.
Release datasette-render-timestamps 0.2 — Datasette plugin for rendering timestamps
Release datasette-render-timestamps 0.1 — Datasette plugin for rendering timestamps

goodreads-to-sqlite (via) This is so cool! Tobias Kunze built a Python CLI tool to import your Goodreads data into a SQLite database, inspired by github-to-sqlite and my various other Dogsheep tools. It’s the first Dogsheep style tool I’ve seen that wasn’t built by me—and Tobias’ write-up includes some neat examples of queries you can run against your Goodreads data. I’ve now started using Goodreads and I’m importing my books into my own private Dogsheep Datasette instance.

# 14th October 2019, 4:07 am / dogsheep, books, datasette, sqlite, cli

Tracking PG&E outages by scraping to a git repo

Visit Tracking PG&E outages by scraping to a git repo

PG&E have cut off power to several million people in northern California, supposedly as a precaution against wildfires.

[... 868 words]

SQL Murder Mystery in Datasette (via) “A crime has taken place and the detective needs your help. The detective gave you the  crime scene report, but you somehow lost it. You vaguely remember that the crime  was a murder that occurred sometime on ​Jan.15, 2018 and that it took place in SQL  City. Start by retrieving the corresponding crime scene report from the police  department’s database.”—Really fun game to help exercise your skills with SQL by the NU Knight Lab. I loaded their SQLite database into Datasette so you can play in your browser.

# 7th October 2019, 11:37 pm / datasette, projects, sql, sqlite

Release datasette-auth-github 0.10 — Datasette plugin that authenticates users against GitHub

Weeknotes: Design thinking for journalists, genome-to-sqlite, datasette-atom

I haven’t had much time for code this week: we’ve had a full five day workshop at JSK with Tran Ha (a JSK alumni) learning how to apply Design Thinking to our fellowship projects and generally to challenges facing journalism.

[... 870 words]

genome-to-sqlite. I just found out 23andMe let you export your genome as a zipped TSV file, so I wrote a little Python command-line tool to import it into a SQLite database.

# 19th September 2019, 3:58 pm / projects, datasette, genetics, sqlite

Release datasette-atom 0.1a — Datasette plugin that adds a .atom output format

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 datasette-rure 0.3 — Datasette plugin that adds a custom SQL function for executing matches using the Rust regular expression engine
Release datasette-rure 0.2 — Datasette plugin that adds a custom SQL function for executing matches using the Rust regular expression engine

My JSK Fellowship: Building an open source ecosystem of tools for data journalism

I started a new chapter of my career last week: I began a year long fellowship with the John S. Knight Journalism Fellowships program at Stanford.

[... 876 words]

Release datasette-rure 0.1 — Datasette plugin that adds a custom SQL function for executing matches using the Rust regular expression engine