跳到正文
每分钟自动更新
11月28日周六
  1. Simon Willison

    datasette-charts 0.4a0

    中文摘要

    中文摘要待更新

    英文原文

    Release: datasette-charts 0.4a0 The new datasette-charts plugin has its own plugin hook to allow other plugins to define new chart types, but I hadn't actually used it for anything yet. I had Claude Opus 5.5 build an experimental plugins just to try out the hook and it came up with a bunch of friction points in the design. This release addresses those, which should make building additional chart plugins a whole lot more ergonomic. I've also added a website for the plugin, at charts.datasette.io . The new website includes a tutorial for plugin authors , and a gallery showing all of the core charts and annotations, each one linking to an interactive demo on Datasette Lite . Tags: datasette-charts , datasette , visualization , datasette-lite

11月18日周三
  1. Simon Willison

    Running the full server-side Datasette Python app in the browser with service workers and Pyodide

    中文摘要

    Datasette Lite是我将Datasette Python应用程序移植到浏览器中运行的版本,使用的是WebAssembly和Pyodide。我使用service workers发布了Datasette Lite的完整重写版本,现在它几乎与真正的服务器端应用程序无法区分。现在你可以使用精心设计的URL lite.datasette.io完成以下所有操作:加载客户端的Datasette来浏览任何SQLite数据库、JSON文件、CSV文件或SQL脚本;从PyPI中选择一个发布的Datasette版本进行加载;从Datasette GitHub仓库中选择特定的提交、标签或分支名称;从超过100个SQLite版本中进行选择,与Datasette一起使用;从PyPI或wheel文件的URL中安装额外的Datasette插件,包括JavaScript可视化工具。能够加载特定的Datasette引用、插件和SQLite版本,使这成为一种极好的工具,可以链接到正在进行中的功能演示或错误复现,而无需启动完整的Web服务器来提供该演示。例如,考虑以下URL:https://lite.datasette.io/?install=datasette-maplibre&url=https://gist.githubusercontent.com/simonw/39fa5d399465766039549912e2b3d291/raw/f6dfba9

    英文原文

    Datasette Lite is my port of the Datasette Python application to run directly in the browser using WebAssembly and Pyodide . I've released a complete rewrite of Datasette Lite using service workers, and it's now almost indistinguishable from the real server-side application. You can now do all of the following, using a carefully crafted URL to lite.datasette.io : Load client-side Datasette to browse any SQLite database, JSON file, CSV file or SQL script Select a released version of Datasette to load from PyPI Load a specific commit, tag, or branch name from the Datasette GitHub repository Pick from over 100 versions of SQLite to use with Datasette Install additional Datasette plugins from PyPI or URLs to wheel files, including JavaScript visualization tools The ability to load specific Datasette references, plugins, and SQLite versions makes this a fantastic tool for linking to demos of work-in-progress features or bug reproductions, without needing to spin up a full web server to serve that demo. As an example, consider the following URL: https://lite.datasette.io/?install=datasette-maplibre&url=https://gist.githubusercontent.com/simonw/39fa5d399465766039549912e2b3d291/raw/f6dfba9

11月16日周一
  1. Simon Willison

    datasette-maplibre 0.1a0

    中文摘要

    发布:datasette-maplibre 0.1a0 有一段很长时间以来,这是第一个新的Datasette地理空间插件!这个插件将出色的MapLibre GL库与OpenFreeMap结合在一起,OpenFreeMap是由Zsolt Ero运营的免费矢量地图服务器(你应该在GitHub上赞助Zsolt。)我大部分是通过向Claude Fable 5.2输入一个提示完成的:查看datasette-cluster-map和datasette-leaflet-geojson插件,然后查看~/dev/tools/openfreemap-demo.html - 然后构建一个新的Datasette插件,该插件使用maplibreGL和openfreemap,并结合那两个插件的功能 - 但要有创意,跳出框框思考这个插件可能具有的其他有用功能。“要有创意,跳出框框”带来了一些不错的想法 - 我最喜欢的是它会显示GeoJSON形状的SVG预览,然后在它们滚动到视野中时才加载WebGL预览。我还让Claude构建了一个全面的演示,它可以在最新的Datasette Lite中运行,因此你可以访问此链接,通过Pyodide和WebAssembly在你的浏览器中加载插件和演示数据库。我喜欢这个演示页面,它在同一张地图上展示了GeoJSON形状和纬度/经度点:标签:可视化,生成式AI,datasette-lite,claude-myt

    英文原文

    Release: datasette-maplibre 0.1a0 The first new Datasette geospatial plugin in quite a while! This one combines the excellent MapLibre GL library with OpenFreeMap , the free vector map server operated by Zsolt Ero (you should sponsor Zsolt on GitHub .) I built most of this with a single prompt to Claude Fable 5.2: Look at datasette-cluster-map and datasette-leaflet-geojson plugins, then look at ~/dev/tools/openfreemap-demo.html - then build a brand new Datasette plugin that uses maplibreGL and openfreemap and combines the features of those other two plugins - but be creative and think outside the box for other useful features the plugin might have "Be creative and think outside the box" resulted in a few neat ideas - my favorite is that it displays SVG previews of GeoJSON shapes, then loads a WebGL preview only when they scroll into view. I also had Claude build a comprehensive demo which works in the latest Datasette Lite, so you can visit this link to load the plugin and a demo database in your browser via Pyodide and WebAssembly. I like this demo page showing both GeoJSON shapes and lat/lon points on the same map: Tags: visualization , generative-ai , datasette-lite , claude-myt

11月15日周日
  1. Simon Willison

    datasette-vega 0.7

    中文摘要

    发布:datasette-vega 0.7 Datasette 最长时间未更新的插件的新版本,用于在表格或自定义查询中的数据上使用 Vega-Lite 渲染图表。上一次发布是在 2018 年 7 月!我终于将其升级以兼容最新的 Datasette 测试版,同时还进行了一些外观上的调整,使其与 Datasette Lite 更好地配合使用。(Datasette Lite 现在获得了运行 JavaScript 插件的能力!我将很快对此进行更多介绍。)由于它与 Datasette Lite 兼容,README 中的实时演示现在链接到这个在 Datasette Lite 上的演示。 标签:datasette,datasette-lite

    英文原文

    Release: datasette-vega 0.7 A new release of Datasette's longest untouched plugin, for rendering charts (using Vega-Lite ) against data in a table or custom query. The last release was in July 2018! I finally bumped it for compatibility with the latest Datasette alphas, plus some cosmetic tweaks to make it work better with Datasette Lite . (Datasette Lite just gained the ability to run JavaScript plugins like this! I'll write more about that soon.) Since it works with Datasette Lite, the live demo in the README now links to this demo on Datasette Lite . Tags: datasette , datasette-lite