---
id: 20260624-T0-17
title: "OPFS+Pyodide测试工具：支持浏览器端持久化SQLite"
title_en: "Tool: OPFS + Pyodide Harness Enables Persistent SQLite in Browser"
url: https://ai.daily.yangsir.net/daily/20260624-T0-17
issue_date: 2026-06-24
publish_date: 2026-06-23T18:58:54.000Z
category: tools
source_name: "Simon Willison"
source_url: https://simonwillison.net/2026/Jun/23/opfs-pyodide/#atom-everything
---

# OPFS+Pyodide测试工具：支持浏览器端持久化SQLite

一款新的测试工具结合了OPFS（Origin Private File System）和Pyodide，旨在让Datasette Lite能够编辑用户计算机上存储的持久化SQLite文件。该工具通过WebAssembly在浏览器中运行完整的Python应用，实现了纯前端的数据持久化能力。

## English Version

**Tool: OPFS + Pyodide Harness Enables Persistent SQLite in Browser**

A new testing tool combines OPFS (Origin Private File System) and Pyodide, allowing Datasette Lite to edit persistent SQLite files stored on the user's computer. By running Python applications entirely in the browser via WebAssembly, it achieves full client-side data persistence.

---

**来源**：[Simon Willison](https://simonwillison.net/2026/Jun/23/opfs-pyodide/#atom-everything)

**详情页**：https://ai.daily.yangsir.net/daily/20260624-T0-17

---

*智语观潮 · Daily — https://ai.daily.yangsir.net/llms.txt*