muninndb — alias for muninn-python, the Python SDK for MuninnDB.
Project description
muninndb
muninndb is a convenience alias for muninn-python, the official Python SDK for MuninnDB.
Install
pip install muninndb # core SDK
pip install muninndb[langchain] # + LangChain memory integration
Both are equivalent to installing muninn-python directly. Use whichever name feels more natural.
Quick Start
import asyncio
from muninn import MuninnClient
async def main():
async with MuninnClient("http://localhost:8475") as client:
eid = await client.write(
vault="default",
concept="neural plasticity",
content="The brain's ability to reorganize neural connections.",
)
results = await client.activate(vault="default", context=["how does learning work?"])
for item in results.activations:
print(f"[{item.score:.2f}] {item.concept}")
asyncio.run(main())
LangChain Integration
from muninn.langchain import MuninnDBMemory
from langchain.chains import ConversationChain
from langchain_anthropic import ChatAnthropic
memory = MuninnDBMemory(vault="my-agent")
chain = ConversationChain(
llm=ChatAnthropic(model="claude-haiku-4-5-20251001"),
memory=memory,
)
chain.predict(input="What did we discuss about the payment service?")
Full documentation: sdk/python/README.md
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
muninndb-0.1.0.tar.gz
(2.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file muninndb-0.1.0.tar.gz.
File metadata
- Download URL: muninndb-0.1.0.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b246410495e01c5805fc98e5d97fdac2529e3b922439484d6259f1b7f60fc3e4
|
|
| MD5 |
bd442821f74ce291a5135d11dbe5d3cd
|
|
| BLAKE2b-256 |
6231c824a4689d96743efacd100e5eb1fa100a504fd84aa77c7a36808d941ad4
|
File details
Details for the file muninndb-0.1.0-py3-none-any.whl.
File metadata
- Download URL: muninndb-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7e144114fcf08a25a9a950bea8268dcc249f6267f975edf3b2141914e993205
|
|
| MD5 |
8d74f810b6f45c12bf75c63c233ce941
|
|
| BLAKE2b-256 |
15d2459131606c44214f30af7cc5e80b14295ad1a627af50c77ea6ade282a8da
|