Skip to main content

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://127.0.0.1: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


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.3.11a0.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

muninndb-0.3.11a0-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file muninndb-0.3.11a0.tar.gz.

File metadata

  • Download URL: muninndb-0.3.11a0.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

Hashes for muninndb-0.3.11a0.tar.gz
Algorithm Hash digest
SHA256 0ec4bcb12c3b49c89e17d2bdff99c0c0ffab75e0424334e40dc0d1385dbc8f07
MD5 b026e571f8c35f072ea6f63451516226
BLAKE2b-256 a8e929cfab0c77f0bf5b63de15973888de1c6e4586fca19ca826b0a98c71c7e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for muninndb-0.3.11a0.tar.gz:

Publisher: publish-sdk.yml on scrypster/muninndb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file muninndb-0.3.11a0-py3-none-any.whl.

File metadata

  • Download URL: muninndb-0.3.11a0-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

Hashes for muninndb-0.3.11a0-py3-none-any.whl
Algorithm Hash digest
SHA256 3283380b0be89bcd260708fdb25c8c0ed5ece03be37a46a26aee3e1fa0d61e3e
MD5 5fdba3845a1893e259625f6450fb5477
BLAKE2b-256 e29e473e9ef0264c5abf35cf1113b7c2f2d9974f971188905cca1f8ca30cd42b

See more details on using hashes here.

Provenance

The following attestation bundles were made for muninndb-0.3.11a0-py3-none-any.whl:

Publisher: publish-sdk.yml on scrypster/muninndb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page