Direct File Upload Capability In Datasette
Sources: 1 • Confidence: High • Updated: 2026-04-13 03:53
Key takeaways
- The datasette-files plugin adds the ability to upload files directly into a Datasette instance.
- datasette-files adds a new file_actions plugin hook.
- datasette-files supports uploading multiple files at once through a UI that uses a documented JSON upload API.
- datasette-files configures its columns using Datasette 1.0a26's column_types system.
- datasette-files can import an uploaded CSV or TSV file into a table.
Sections
Direct File Upload Capability In Datasette
- The datasette-files plugin adds the ability to upload files directly into a Datasette instance.
- datasette-files 0.1a2 is an alpha release of the datasette-files plugin.
From File Storage To Data Ingestion And Extensibility
- datasette-files adds a new file_actions plugin hook.
- datasette-files can import an uploaded CSV or TSV file into a table.
Operational Ux Improvements And New Derived-Data Storage
- datasette-files supports uploading multiple files at once through a UI that uses a documented JSON upload API.
- datasette-files generates thumbnails for uploaded image files and stores them in an internal datasette_files_thumbnails table.
Integration With Datasette 1.0 Configuration Primitives
- datasette-files configures its columns using Datasette 1.0a26's column_types system.
Unknowns
- What authentication/authorization and permission model governs who can upload files and trigger imports/actions?
- What is the minimum required Datasette version (and compatibility matrix) for datasette-files 0.1a2, given its use of column_types?
- Where are uploaded files stored (database blobs vs filesystem vs external object storage), and what size/retention limits exist?
- How does CSV/TSV import handle schema inference, data typing, encoding, and error reporting?
- What are the semantics and stability expectations of the file_actions hook (ordering, retries, idempotency, failure handling)?