I hadn't looked at that one. It looks very promising! Definitely has better documentation than the other options I've looked at.
I see that the library itself is available in Python, but this page https://extism.org/docs/category/write-a-plug-in currently only lists Rust, JavaScript, Go, Haskell, AssemblyScript, Zig and C. Any chance Python might get added to that list as well?
Just found https://github.com/extism/extism-sqlite3 which is very relevant to my interests too!