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
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.3.0a0.tar.gz.
File metadata
- Download URL: muninndb-0.3.0a0.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9517cea1905e91ec9256589cdd711b8da9c5c105b60531ba690bfb1d8438407
|
|
| MD5 |
7980f812f92d72da56644de5372f240a
|
|
| BLAKE2b-256 |
da329757d3a5ac49ad85431931162bd6e680e50878d0bca4998b7f13649d896c
|
Provenance
The following attestation bundles were made for muninndb-0.3.0a0.tar.gz:
Publisher:
publish-sdk.yml on scrypster/muninndb
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
muninndb-0.3.0a0.tar.gz -
Subject digest:
a9517cea1905e91ec9256589cdd711b8da9c5c105b60531ba690bfb1d8438407 - Sigstore transparency entry: 1012291910
- Sigstore integration time:
-
Permalink:
scrypster/muninndb@5145ba6bccff034f1c16624822cd8de54d6282bd -
Branch / Tag:
refs/tags/v0.3.0-alpha - Owner: https://github.com/scrypster
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-sdk.yml@5145ba6bccff034f1c16624822cd8de54d6282bd -
Trigger Event:
push
-
Statement type:
File details
Details for the file muninndb-0.3.0a0-py3-none-any.whl.
File metadata
- Download URL: muninndb-0.3.0a0-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4724caf75c4faa10831b8718d64cf2b353cab48367692d8e79998e38d2409ed5
|
|
| MD5 |
1d5f0aff9b6a8468d2d743548f1df8dd
|
|
| BLAKE2b-256 |
dc218093cd709f9784288837da66030d23f13d2889a8c53c19924638c5c2d4e4
|
Provenance
The following attestation bundles were made for muninndb-0.3.0a0-py3-none-any.whl:
Publisher:
publish-sdk.yml on scrypster/muninndb
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
muninndb-0.3.0a0-py3-none-any.whl -
Subject digest:
4724caf75c4faa10831b8718d64cf2b353cab48367692d8e79998e38d2409ed5 - Sigstore transparency entry: 1012292095
- Sigstore integration time:
-
Permalink:
scrypster/muninndb@5145ba6bccff034f1c16624822cd8de54d6282bd -
Branch / Tag:
refs/tags/v0.3.0-alpha - Owner: https://github.com/scrypster
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-sdk.yml@5145ba6bccff034f1c16624822cd8de54d6282bd -
Trigger Event:
push
-
Statement type: