Files
simplex-chat/packages/simplex-chat-python/src/simplex_chat/__init__.py
T
sh 55d18efe24 core, python: fix refused renames, extend the client API (#7379)
* core: do not commit refused name changes

* feat(python): add error base and missing commands

* feat(python): let callers drive startup themselves

* style(python): satisfy the linter, skip generated types

* feat(python): expose the message of a command error

* core: update query plans

* core: fix the batch limit parse error on GHC 8.10

* feat(python): reject profile images no client can render
2026-08-17 09:02:14 +01:00

74 lines
1.4 KiB
Python

"""SimpleX Chat — Python client library for chat bots."""
from . import util as util # re-export the util namespace
from ._version import __version__
from .api import (
ChatApi,
ChatCommandError,
ConnReqType,
ContactAlreadyExistsError,
Db,
PostgresDb,
SqliteDb,
)
from .bot import (
Bot,
BotCommand,
BotProfile,
ChatMessage,
Client,
CommandHandler,
EventHandler,
FileMessage,
ImageMessage,
LinkMessage,
Message,
MessageHandler,
Middleware,
ParsedCommand,
Profile,
ReportMessage,
TextMessage,
UnknownMessage,
VideoMessage,
VoiceMessage,
)
from .core import ChatAPIError, ChatError, ChatInitError, CryptoArgs, MigrationConfirmation
__all__ = [
"Bot",
"BotCommand",
"BotProfile",
"ChatAPIError",
"ChatApi",
"ChatCommandError",
"ChatError",
"ChatInitError",
"ChatMessage",
"Client",
"CommandHandler",
"ConnReqType",
"ContactAlreadyExistsError",
"CryptoArgs",
"Db",
"EventHandler",
"FileMessage",
"ImageMessage",
"LinkMessage",
"Message",
"MessageHandler",
"Middleware",
"MigrationConfirmation",
"ParsedCommand",
"PostgresDb",
"Profile",
"ReportMessage",
"SqliteDb",
"TextMessage",
"UnknownMessage",
"VideoMessage",
"VoiceMessage",
"__version__",
"util",
]