| Conductance | Kannan, Vempala & Vetta, JACM 2004 |
sqlite-muninn
Odin's mythic raven of Memory.
This project aims to build agentic memory and knowledge graph primitives for sqlite as a native C extension and also made available for Python, Node.JS and WASM.
It is an advanced collection of knowledge graph primitives like Vector Similarity Search, HNSW Indexes, Graph database, Community Detection, Node2Vec capabilities and loading GGUF models via llama.cpp integration.
Huginn and Muninn fly each day over the wide world.
I fear for Huginn that he may not return,
yet I worry more for Muninn.
- Poetic Edda (Grimnismal, stanza 20)
Odin fears losing Memory more than Thought.
Huginn and Muninn are the two ravens of Odin and their names translate to Thoughts and Memory.
| Package Index | Published Version | Downloads |
|---|---|---|
| PyPI | ||
| npm |
Features
- HNSW Vector Index - O(log N) approximate nearest neighbor search with incremental insert/delete
- Graph Traversal - BFS, DFS, shortest path, connected components, PageRank on any edge table, dbt syntax graph node selection.
llama.cppnative models; Load and use GGUF LLM models natively in sqlite.- Centrality Measures - Degree, betweenness (Brandes), and closeness centrality with weighted/temporal support
- Community Detection - Leiden algorithm for discovering graph communities with modularity scoring, plus per-group conductance for scoring any partition
- Node2Vec - Learn structural node embeddings from graph topology, store in HNSW for similarity search
- Zero dependencies - compiles to a single
.dylib/.so/.dll - SIMD accelerated - ARM NEON and x86 SSE distance functions
Research References
| Feature | Paper |
|---|---|
| HNSW | Malkov & Yashunin, TPAMI 2020 |
| MN-RU insert repair | arXiv:2407.07871, 2024 |
| Patience early termination | SISAP 2025 |
| Betweenness centrality | Brandes, J. Math. Sociol. 2001 |
| Leiden community detection | Traag, Waltman & van Eck, Sci. Rep. 2019 |
| Node2Vec | Grover & Leskovec, KDD 2016 |
| SGNS | Mikolov et al., 2013 |
License
MIT. See LICENSE.
Metadata
Release files for sqlite-muninn 0.6.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| sqlite_muninn-0.6.0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| sqlite_muninn-0.6.0-py3-none-manylinux_2_17_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details |
| sqlite_muninn-0.6.0-py3-none-manylinux_2_17_aarch64.whl | Python 3 | none | Linux glibc 2.17+ ARM64 | Details |
| sqlite_muninn-0.6.0-py3-none-macosx_11_0_universal2.whl | Python 3 | none | macOS 11.0+ universal2 (ARM64, x86-64) | Details |
Total release size: 9.5 MB
Release files / sqlite_muninn-0.6.0-py3-none-win_amd64.whl
| Download URL | sqlite_muninn-0.6.0-py3-none-win_amd64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
af238904a837ad615c22cb8f525d2eb4d2b3cef5ef3d4fa578dd9b3b33dc567b
|
|
BLAKE2b-256 checksum How to use checksums |
80059993dff79aa752cc5a8d6263eb1518f38ced4424480e7a0a22d741ea7f6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / sqlite_muninn-0.6.0-py3-none-manylinux_2_17_x86_64.whl
| Download URL | sqlite_muninn-0.6.0-py3-none-manylinux_2_17_x86_64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
ad70f26497f9b1916252dafcaf02b68b5acae4469cd5b97f9a913a11ffa09bf0
|
|
BLAKE2b-256 checksum How to use checksums |
9f792c7bdbcc0e9f5e01c36da17da7ad28812c968d3d3160bcffe6e7cf48c93f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / sqlite_muninn-0.6.0-py3-none-manylinux_2_17_aarch64.whl
| Download URL | sqlite_muninn-0.6.0-py3-none-manylinux_2_17_aarch64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
344267d96fcafdbb9af53d0750cce10b351f5e48aaca6642caeac1e482f27b7a
|
|
BLAKE2b-256 checksum How to use checksums |
89affeb15f273107e9adf251f890b7c61fbff170f4d1d244cd9891bdbc14ad44
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / sqlite_muninn-0.6.0-py3-none-macosx_11_0_universal2.whl
| Download URL | sqlite_muninn-0.6.0-py3-none-macosx_11_0_universal2.whl |
|---|---|
| Size | 4.1 MB |
| Tags | Python 3 macOS 11.0+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
fb5a6b29a1b50c76a9ace0690886dc227bc445d00a3e726fd3e7a7416f9652f6
|
|
BLAKE2b-256 checksum How to use checksums |
5de8a6a9d47f02751de4cfe0d49cc399e555120c7a9ebb23b029e8a06d901a8f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for sqlite-muninn 0.6.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.