Skip to content
This repository was archived by the owner on Nov 22, 2026. It is now read-only.

mojo-sqlite v0.1.5

Latest

Choose a tag to compare

@amarbarosys amarbarosys released this 08 Nov 23:03
· 6 commits to main since this release

mojo-sqlite-public v0.1.5

Released: 2026-11-08 · Commit: 524ebbc · Previous: v0.1.4

What it does

SQLite for Mojo that returns the same rows as Python's sqlite3, byte for byte, and
runs 2.7× faster on inserts and 4× to 5.5× faster on scans. It loads the system
libsqlite3.so.0 at run time, so it needs no linker flags.

from sqlite import Database

def main() raises:
    var db = Database("jobs.db")
    var q = db.prepare("SELECT id, cmd FROM jobs WHERE prio >= ?")
    q.bind(1, 10)
    while q.step():
        print(q.int(0), q.text(1))

Highlights

  • Packaging only: the conda recipe pins mojo-compiler to the minor the package was built with (<1.3.0a0), so it cannot be installed on a Mojo it does not load on.

Changes

Changed

  • recipe.yaml: mojo-compiler run dependency pinned to the build's minor (<1.3.0a0).

Verified

Check Result
pkg-conda dry run on the version commit (H1-H3,H6) PASS: mojo-sqlite-0.1.5-hb0f4dca_0.conda

Known limits

  • Packages are built on one Mojo minor only; see the package protocol.

Upgrade / run

None: no API change.

Commits

  • 524ebbc build: bump version to 0.1.5
  • eca3fb7 build: recipe pins mojo-compiler to the build's minor