Datasette Lite: a server-side Python web application running in a browser

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • datastation

    App to easily query, script, and visualize data from every database, file, and API.

  • My biggest issue with Pyodide is the long wait times. I haven't figured out a way around a ~5 second load time where the entire UI hangs every single time you load the page.

    My app (similar to Simon's, a lite mode of a data IDE): https://app.datastation.multiprocess.io.

    My code: https://github.com/multiprocessio/datastation/blob/main/shar....

  • sql.js-httpvfs

    Hosting read-only SQLite databases on static file hosters like Github Pages

  • How close is Python SQLite and Datasette Lite to accessing a hosted SQL database using HTTP range requests as can be done in sql.js like https://github.com/phiresky/sql.js-httpvfs?

    I put together a Pyodide-based web app where users need a few indexed queries from a 600mb SQLite database but it isn't very practical for them to download the whole thing into the browser.

    https://observablehq.com/@thadk/life

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • datasette-lite

    Datasette running in your browser using WebAssembly and Pyodide

  • I have an open issue for that here: https://github.com/simonw/datasette-lite/issues/28

    My initial hunch is that this will be really difficult - probably require a fork of something like https://github.com/coleifer/pysqlite3 then compiled for WebAssembly.

    I'm confident it's feasible, but I don't have the skills to figure it out myself.

  • pysqlite3

    SQLite3 DB-API 2.0 driver from Python 3, packaged separately, with improvements

  • I have an open issue for that here: https://github.com/simonw/datasette-lite/issues/28

    My initial hunch is that this will be really difficult - probably require a fork of something like https://github.com/coleifer/pysqlite3 then compiled for WebAssembly.

    I'm confident it's feasible, but I don't have the skills to figure it out myself.

  • pyodide

    Pyodide is a Python distribution for the browser and Node.js based on WebAssembly

  • I tried building this with a Service Worker first and it didn't work, because Pyodide needs XMLHttpRequest.

    I opened an issue about that here: https://github.com/pyodide/pyodide/issues/2432

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts