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.8+ 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.20.0.tar.gz (243.5 kB view details)

Uploaded Source

Built Distribution

mautrix-0.20.0-py3-none-any.whl (319.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mautrix-0.20.0.tar.gz
  • Upload date:
  • Size: 243.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for mautrix-0.20.0.tar.gz
Algorithm Hash digest
SHA256 cfe7c4bb850998e36c568bf5137edbf70d3e71887514131946aa283fc99786f3
MD5 b9850d1ab780ba169bd3be79f9d02fcc
BLAKE2b-256 d8db57f96c48a2c9380b2f0bf15a7c1bc39908a471fe8f716c2322560f387c39

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: mautrix-0.20.0-py3-none-any.whl
  • Upload date:
  • Size: 319.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for mautrix-0.20.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a600b9472ca59e10ba4e37f436d552eb307296379944d72678c355ab500b8673
MD5 0de843754259b08f3e77ada7ca8c0048
BLAKE2b-256 960705397e0d7090d8c11250726dd63736baad3e22a09ceb9c357d5d420b5cb9

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page