Elsewhere
Release TIL Research Tool Museum
Filters: Sorted by date
3,015 results
«« first
« previous
page 74 / 101
next »
last »»
TIL
Skipping CSV rows with odd numbers of quotes using ripgrep
— I'm working with several huge CSV files - over 5 million rows total - and I ran into a problem: it turned out there were a few lines in those files that imported incorrectly because they were not correctly escaped.
Release
datasette-pretty-json 0.2.1
— Datasette plugin that pretty-prints any column values that are valid JSON objects or arrays
TIL
Escaping a SQL query to use with curl and Datasette
— I used this pattern to pass a SQL query to Datasette's CSV export via curl and output the results, stripping off the first row (the header row) using `tail -n +2`.
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.
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
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-graphql 1.3.1
— Datasette plugin providing an automatic GraphQL API for your SQLite databases
Release
datasette-graphql 1.3
— Datasette plugin providing an automatic GraphQL API for your SQLite databases
Release
datasette-ripgrep 0.6.1
— Web interface for searching your code using ripgrep, built as a Datasette plugin
Release
datasette-ripgrep 0.6
— Web interface for searching your code using ripgrep, built as a Datasette plugin
Release
datasette-ripgrep 0.5
— Web interface for searching your code using ripgrep, built as a Datasette plugin
Release
datasette-ripgrep 0.4
— Web interface for searching your code using ripgrep, built as a Datasette plugin
Release
datasette-ripgrep 0.3
— Web interface for searching your code using ripgrep, built as a Datasette plugin
«« first
« previous
page 74 / 101
next »
last »»