sqlite-lines
sqlite-loadable-rs
sqlite-lines | sqlite-loadable-rs | |
---|---|---|
7 | 2 | |
384 | 315 | |
- | - | |
6.8 | 6.7 | |
7 months ago | 14 days ago | |
C | Rust | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
sqlite-lines
sqlite-loadable-rs
-
SQLiteGPT - Directly query ChatGPT with SQL functions
The implementation is just a prototype right now and it should be implemented as a proper loadable extension in Rust with sqlite-loadable-rs. Make sure to star the GitHub repo if you want to see this happen! ;-)
-
Making SQLite extensions pip install-able
It's possible but very difficult. For extensions built purely in C, you can statically compile extensions into a SQLite WASM build, which I have a few demos of with sqlite-lines [0] and sqlite-path[1].
For extensions but in Rust however, it's much more difficult. Matt @tantaman has some success cross compiling his cr-sqlite [2] project to WASM, but it's quite complex.
SQLite extensions typical rely on dlopen() to load dynamic libraries as an extension. WASM doesn't really have that, so you either have to statically compile your extension in your WASM build (which is difficult for non-C languages bc SQLite is written in C), or hack around some barely-supported WASM features that emulate dlopen(). Though I'm not the best with WASM, so hopefully someone with more WASM experience chimes in to help! It's something I'm tracking in this issue for the `sqlite-loadble-rs` project [3]
[0] https://observablehq.com/@asg017/introducing-sqlite-lines#ce...
[1] https://observablehq.com/@asg017/introducing-sqlite-path#cel...
[2] https://github.com/vlcn-io/cr-sqlite
[3] https://github.com/asg017/sqlite-loadable-rs/issues/5
What are some alternatives?
rake-compiler-dock - Easy to use and reliable cross compiler environment for building Windows, Linux, Mac and JRuby binary gems.
sqlite-ulid - A SQLite extension for generating and working with ULIDs
sqlite-jsonschema - A SQLite extension for validating JSON objects with JSON Schema
SQLiteGPT - SQL function for SQLite to directly query OpenAI's ChatGPT
sqlite-fastrand - A SQLite extension for quickly generating random numbers, booleans, characters, and blobs
sqlite-icu - Loadable ICU extension for sqlite as python package
sqlite-http - A SQLite extension for making HTTP requests purely in SQL
pdftk-heroku - PDFTK binaries for Heroku
sqlite-plus - The ultimate set of SQLite extensions
sqlite-html - A SQLite extension for querying, manipulating, and creating HTML elements.
gem-compiler - A RubyGems plugin that generates binary gems
sqlite-regex - A fast regular expression SQLite extension, written in Rust