jupyterlite / xeus-sqlite-kernel Goto Github PK
View Code? Open in Web Editor NEWA SQLite kernel for JupyterLite, powered by Xeus
License: BSD 3-Clause "New" or "Revised" License
A SQLite kernel for JupyterLite, powered by Xeus
License: BSD 3-Clause "New" or "Revised" License
There's no place to try out this kernel yet.
Aside from off main
, as new features are added, it would be nice to have something that reviewers can try out.
jupyter-server-proxy
Opening a notebook with the jupyterlite-xeus-sqlite
kernel gives the following error in the console:
RuntimeError: Aborted(Assertion failed: sz < N && "setting a small size", at: /install/include/xtl/xbasic_fixed_string.hpp,109,set_size). Build with -s ASSERTIONS=1 for more info.
Use jupyterlite-xeus-sqlite==0.2.0
in a JupyterLite deployment.
The kernel should start without error.
Noticed when updating to jupyterlite-sqlite
for the Try Jupyter deployment: jupyter/try-jupyter#10
cc @SylvainCorlay @DerThorsten if you can have a look, thanks!
The jupyterlite/xeus-sqlite-kernel
currently seems to require users to create a database as part of a script before they can query it, rather than connect to a sqlite file shipped as part of a JuptyerLite distribution or uploaded to it, or connect to a remote database file.
The phiresky/sql.js-httpvfs
Javascript package wraps a SQLite emscripten distribution and also provides a virtual filesystem that allows the SQLite database to access very large remote SQLite databases (if configured appropriately) in an efficient way.
I wonder if this approach could be used to support remote connections from the xeus-sqlite-kernel
? Users could then use a simple web server to publish both the JupyterLite environment, and even a large database, and then query the database efficiently from their browser?
The SQLime browser based SQlite playground (nalgeon/sqlime
) also offers some interesting "web integrations", as described on its About SQLime page. For example, SQL files can be hosted Github gists, the gist id passed via a URL parameter to SQLime, then loaded and run by the playground when the page is loaded. (Databases files can also be uploaded from the desktop to the playground environment.)
The Basthon in-browser notebook [repo] & SQLite kernel loads a database from a file path specified via a URL parameter:
(I also note here examples of using custom javascript functions to create custom sqlite functions.)
vega is built in a static and non-static way. This doubles the compile times and only the static version is needed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.