Simon Willison

Results 678 issues of Simon Willison

At least I think it does. I tried running `py-spy top -p $PID` against a Datasette process that was trying to do: datasette covid.db --get '/covid/ny_times_us_counties.csv?_size=10&_stream=on' While investigating: - #1355...

performance

> I think the way to get rid of most of the remaining complexity in `DataView` is to refactor how CSV stuff works - pulling it in line with other...

refactor

Can be part of #870 - refactoring existing views to use `register_routes()`. > I'm going to put the new `check_permissions()` method on `BaseView` as well. If I want that method...

plugins
refactor
json-extras
maybe-not-1.0

I realized that one of the reasons I'm having trouble committing to nailing down the JSON API for 1.0 is that I don't use it much myself - I use...

json-api
maybe-not-1.0

https://github.com/simonw/datasette/blob/40885ef24e32d91502b6b8bbad1c7376f50f2830/datasette/app.py#L297-L328

documentation
plugins
metadata

The default JSON just isn't right. I find myself using `?_shape=array` for almost everything I build against the API.

medium
json-api
feature
json-extras

The new JSON API in a stable, documented form.

json-api

It would be much cleaner if Datasette's default views were all registered using the new `register_routes()` plugin hook. Could dramatically reduce the code in `datasette/app.py`. > The ideal fix here...

medium
refactor

Split from #878. The current `TableView` class is by far the most complex part of Datasette, and the most difficult to work on: https://github.com/simonw/datasette/blob/0.59.2/datasette/views/table.py In #878 I started exploring a...

refactor
research
json-extras

This can drive the upgrade of the `register_output_renderer` hook to be able to handle streaming all rows in a large query.

large
plugins
refactor
csv
maybe-not-1.0