Skip to main content

A Python 3 asyncio Matrix framework.

Project description

PyPI: mautrix Python versions License: MPL-2.0 Docs Code style Imports

A Python 3.10+ asyncio Matrix framework.

Matrix room: #maunium:maunium.net

Components

  • Basic HTTP request sender (mautrix.api)

  • Client API endpoints as functions (mautrix.client.api)

  • Medium-level application service framework (mautrix.appservice)

    • Basic transaction and user/alias query support (based on Cadair’s python-appservice-framework)

    • Basic room state storage

    • Intent wrapper around the client API functions (design based on matrix-appservice-bridge)

  • Medium-level end-to-end encryption framework (mautrix.crypto)

    • Handles all the complicated e2ee key exchange

    • Uses libolm through python-olm for the low-level crypto

  • High-level bridging utility framework (mautrix.bridge)

    • Base class for bridges

    • Common bridge configuration and appservice registration generation things

    • Double-puppeting helper

    • End-to-bridge encryption helper

  • High-level client framework (mautrix.client)

    • Syncing and event handling helper.

    • End-to-end encryption helper.

  • Utilities (mautrix.util)

    • Matrix HTML parsing and generating utilities

    • Manhole system (get a python shell in a running process)

    • YAML config helpers

    • Database helpers (new: asyncpg, legacy: SQLAlchemy)

    • Color logging utility

    • Very simple HMAC-SHA256 utility for signing tokens (like JWT, but hardcoded to use a single good algorithm)

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mautrix-0.21.0.tar.gz (254.7 kB view details)

Uploaded Source

Built Distribution

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

mautrix-0.21.0-py3-none-any.whl (334.1 kB view details)

Uploaded Python 3

File details

Details for the file mautrix-0.21.0.tar.gz.

File metadata

  • Download URL: mautrix-0.21.0.tar.gz
  • Upload date:
  • Size: 254.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mautrix-0.21.0.tar.gz
Algorithm Hash digest
SHA256 a14e0582e114cb241f282f9e717014608f36c03f1dc59afcd71b4e81780ffe2e
MD5 1663d62942a67810d895e13f8243b2ac
BLAKE2b-256 74a78d6d0589e211ecf3a72ce4b28cc32c857c4043d1a6963d63ac9f726af653

See more details on using hashes here.

File details

Details for the file mautrix-0.21.0-py3-none-any.whl.

File metadata

  • Download URL: mautrix-0.21.0-py3-none-any.whl
  • Upload date:
  • Size: 334.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mautrix-0.21.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1cba30d69f46351918a3b8bc4e5657465cac8470d42ddd2287a742653cab7194
MD5 7664285403394468be946406849aeae0
BLAKE2b-256 8cd6d4b3ae380dacdc9fb07bc3eb7dd17f43b8a7ce391465a184d1094acb66c1

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