dataqbs

datasette-arrows 0.1a0

· Source: Simon Willison

A new 0.1a0 release of the datasette‑arrows plugin has been published, adding support for exporting data in Apache Arrow’s IPC stream format within the Datasette platform. Streaming export was already available for CSV and TSV since Datasette 1.0a43, allowing users to generate files with millions of rows without loading the entire dataset into memory. With the new register_output_renderer() hook, developers can create similar exporters for other file types, and this plugin implements that logic for Arrow, following Claude Fable 5.2’s recommendation.

To use the feature, simply install the plugin with datasette install datasette-arrows. Once added, the export dialog shows an “Apache Arrow IPC stream” option, letting users download or copy the file URL, which can then be consumed by tools such as DuckDB, pandas, or Polars. The included screenshot shows the new option next to CSV and TSV for the threads table, although grouping streaming formats with the traditional ones is still pending for the next alpha release.

This enhancement matters because it streamlines the transfer of large data volumes between Datasette and analysis environments, reducing memory usage and speeding up workflows for data scientists and developers who need efficient processing. It also paves the way for future plugins that leverage the streaming architecture for other formats.

Read the original article on Simon Willison

This summary is an informational synthesis produced by dataqbs.com. All rights to the original content belong to its author and the cited media outlet. We act solely as curators of technology news and claim no authorship.

Read this in Español · Deutsch · Français · Italiano