apsw
sqltorrent
apsw | sqltorrent | |
---|---|---|
3 | 5 | |
696 | 269 | |
- | 1.1% | |
9.6 | 0.0 | |
3 days ago | about 8 years ago | |
Python | C | |
GNU General Public License v3.0 or later | 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.
apsw
-
SQLite version of SQL Server "linkedin server", or another way to query another db from within SQLite?
You can do this with virtual tables, but you'd have to implement the code for the vtab yourself. If you know Python, the APSW SQLite driver supports vtabs. The default one that comes with most Python distros does not
- Hosting SQLite databases on GitHub Pages (or any static file hoster)
-
What's New in SQLite 3.35
There is also this, which seems pretty good: https://github.com/rogerbinns/apsw
(haven't tried it yet)
sqltorrent
-
BTFS (BitTorrent Filesystem)
Or even better store data as an sqlite file that is full-text-search indexed. Then you can full-text search the torrent on demand: https://github.com/bittorrent/sqltorrent
- SQLite BitTorrent Vfs
-
How to circumvent Sci-Hub ISP block
"There was that project some guy posted a while back that used a combination of sqlite and partial downloads to enable searches on a database before it was downloaded all the way."
https://github.com/bittorrent/sqltorrent
- Hosting SQLite databases on GitHub Pages (or any static file hoster)
-
Distributed search engines using BitTorrent and SQLite
Interesting question. I looked at the source code to understand that.
SQLite knows where to look for when you open a SQLite database and you run a query, right? It just asks the underlying filesystem to provide N bytes starting from an offset using a C function, then it repeats the same operation on different portions of the file, it does its computation and everybody is happy.
The software relies on sqltorrent, which is a custom VFS for SQLite. That means that SQLite function to read data from a file stored in the filesystem is replaced by a custom function. Such custom code computes which Torrent block(s) should have the highest priority, by dividing the offset and the number of bytes that SQLite wants to read by the size of the torrent blocks. It is just a division.
See: https://github.com/bittorrent/sqltorrent/blob/master/sqltorr...
What are some alternatives?
SuperSQLite - A supercharged SQLite library for Python
sql.js-httpvfs - Hosting read-only SQLite databases on static file hosters like Github Pages
dataset - Easy-to-use data handling for SQL data stores with support for implicit table creation, bulk loading, and transactions.
torrent-net - Distributed search engines using BitTorrent and SQLite
pymssql - Official home for the pymssql source code.
ipfs - Peer-to-peer hypermedia protocol
asyncpg - A fast PostgreSQL Database Client Library for Python/asyncio.
datasette - An open source multi-tool for exploring and publishing data
awesome-mysql - A curated list of awesome MySQL software, libraries, tools and resources
IPSQL - InterPlanetary SQL
clickhouse-driver - ClickHouse Python Driver with native interface support
SkySQL