datasette-files 0.1a3

AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.

Why it matters

Datasette plugin developers can now integrate file handling into plugins like datasette-extract via a new Python API and reusable web component.

Read this as

Simon Willison released version 0.1a3 of datasette-files, an add-on for the Datasette data tool that handles file uploads. This small update adds settings letting file owners edit or delete their own files, a clickable file picker built as a reusable web component, and a Python function other plugins can call to read file data. It matters mainly to people building on Datasette, a niche audience.

Datasette-files 0.1a3 is an early alpha release of a file-management plugin for Datasette, motivated by upcoming integration with the datasette-extract plugin. The changes improve permissions granularity and reusability of the file picker component. Impact is limited to the Datasette ecosystem; there is no cost, competitive or enterprise significance beyond it.

Release 0.1a3 of datasette-files scopes the files-edit and files-delete actions plus owners_can_edit/owners_can_delete options to a new FileResource child of FileSourceResource (issue #18). The file picker is exposed as a <datasette-file-picker> Web Component by Alex Garcia (#19). A get_file Python API (from datasette_files import get_file) lets other plugins access file data (#20), enabling datasette-extract integration.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

datasette-files Datasette datasette-extract Alex Garcia

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading