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

mojo-sqlite v0.1.2

Choose a tag to compare

@amarbarosys amarbarosys released this 29 Oct 21:10
· 18 commits to main since this release

mojo-sqlite v0.1.2

Released: 2026-10-29 · Commit: 7a63810 · Previous: v0.1.1

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

  • Builds and runs on the stable Mojo 1.2.0 release.

Changes

Changed

  • The pin moves to Mojo 1.2.0 (pyproject.toml, uv.lock); README and skill say Mojo 1.2.

Verified

Check Result
ci-local: the GitHub workflow in a clean Ubuntu 24.04 container, Mojo 1.2.0 PASS

Known limits

Upgrade / run

uv sync   # installs Mojo 1.2.0

Commits

  • 7a63810 build: Mojo 1.2.0
  • ae91e6b docs: NOTICE names the owner and contact