Simon Willison’s Weblog

Subscribe

Monday, 7th December 2020

TIL Running Python code in a subprocess with a time limit — I figured out how to run a subprocess with a time limit for [datasette-ripgrep](https://github.com/simonw/datasette-ripgrep), using the `asyncio.create_subprocess_exec()` method. The pattern looks like this:
Release datasette-seaborn 0.2a0 — Statistical visualizations for Datasette using Seaborn
TIL Using custom Sphinx templates on Read the Docs — I wanted to make a small customization to one of my documentation templates on Read the Docs.
TIL Controlling the style of dumped YAML using PyYAML — I had a list of Python dictionaries I wanted to output as YAML, but I wanted to control the style of the output.
Release yaml-to-sqlite 0.3.1 — Utility for converting YAML files to SQLite

2020 » December

MTWTFSS
 123456
78910111213
14151617181920
21222324252627
28293031