Skip to main content

Python SDK for the DialogBrain messaging API

Project description

DialogBrain Python SDK

Python client for the DialogBrain messaging API.

Install

pip install dialogbrain

# With LangChain/MCP support:
pip install "dialogbrain[langchain]"

Quick Start

import asyncio
from dialogbrain import DialogBrainClient

async def main():
    async with DialogBrainClient(api_key="db_live_YOUR_KEY") as client:
        conversations = await client.conversations.list()
        await client.messages.send(
            thread_id=conversations[0]["id"],
            message_text="Hello from Python!",
        )

asyncio.run(main())

Docs

Full documentation at docs.dialogbrain.com

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

dialogbrain-0.1.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

dialogbrain-0.1.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file dialogbrain-0.1.0.tar.gz.

File metadata

  • Download URL: dialogbrain-0.1.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for dialogbrain-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c8af7bf55191e0e47d3515f1a6bf1c8f4fc5002a4867e27db49fe19905eca1cb
MD5 b22a48bbb3fa4ca72f52e20b316f873a
BLAKE2b-256 ec1d40484ff244e84856c3d344a1715125fc2e2483787d9590fcb59cf0e77602

See more details on using hashes here.

File details

Details for the file dialogbrain-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: dialogbrain-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for dialogbrain-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cda065d0163728860a157ad56cc98cb52f1c3d791479199bc1cf88705cd6110b
MD5 b70ce754cbb0841a9d74d9f1cb91bfad
BLAKE2b-256 b531106b71d023d75203a154594cfa04318d14f3d8896113a2b9a4372fb3140e

See more details on using hashes here.

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