Overview of mautrix-python components
mastermautrix-python is an asyncio-based Matrix framework for Python 3.10+. It provides several layers of abstraction depending on your use case:
- Low-level API:
mautrix.apifor basic HTTP requests andmautrix.client.apifor direct Client API endpoint functions. - Application Service:
mautrix.appservicefor building medium-level application services, including transaction support, user/alias queries, and room state storage. - End-to-End Encryption (E2EE):
mautrix.cryptohandles complex key exchanges usinglibolmviapython-olm. - Bridging:
mautrix.bridgeprovides high-level utilities for building bridges, including double-puppeting and end-to-bridge encryption helpers. - Client Framework:
mautrix.clientoffers high-level syncing, event handling, and E2EE helpers for client-side applications. - Utilities:
mautrix.utilcontains Matrix HTML tools, a 'manhole' system for interactive debugging, YAML/Database helpers, and HMAC-SHA256 signing utilities.