{"library":"mautrix","title":"mautrix","description":"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.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install mautrix"],"cli":null},"imports":["from mautrix.client import Client","from mautrix.appservice import AppService","from mautrix.crypto import OlmMachine","from mautrix.types import RoomCreateEventContent"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import asyncio\nfrom mautrix.client import Client\n\nasync def main():\n    client = Client(\"https://matrix.example.com\")\n    # Replace with actual access token\n    client.access_token = \"your_token_here\"\n    resp = await client.sync()\n    print(resp.rooms)\n\nasyncio.run(main())","lang":"python","description":"Basic Matrix client syncing rooms","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}