-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loading SQLite databases from a remote URL #6
Comments
@psychemedia there is a PR here jupyter-xeus/xeus-sqlite#119 |
Interesting, thanks..:-) I take it that downloads the whole db, eg compared to the sql.js-httpvfs approach where the idea is you can connect to large remote databases and then just pull what you need chunks at a time? Still v. useful though :-) |
Is it worth closing this, now jupyter-xeus/xeus-sqlite#119 has been released? 👀 |
xeus-sqlite-interpreter > xlite.cpp > |
|
PRs are welcome |
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.)
The text was updated successfully, but these errors were encountered: