A Python 3 asyncio Matrix framework for building Matrix clients and application services. Current version 0.21.0 supports Python 3.10+. The bridge module is deprecated in favor of Go rewrites. Release cadence is irregular, roughly quarterly.
pip install mautrixNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic Matrix client syncing rooms
Migrate to Go-based bridges or use the client module directly.
Use the built-in file-based state store or implement your own.
Update your database URI accordingly.
Upgrade Python to 3.10 or later.
Use `from mautrix.client import Client`
Install with `pip install mautrix[crypto]`
Initialize with `Client('https://matrix.example.com')`Set a valid access token: `client.access_token = '...'`