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.20.5.tar.gz (244.1 kB view details)

Uploaded Source

Built Distribution

mautrix-0.20.5-py3-none-any.whl (319.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mautrix-0.20.5.tar.gz
  • Upload date:
  • Size: 244.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for mautrix-0.20.5.tar.gz
Algorithm Hash digest
SHA256 240445033dd7422587ac1816427b704b0831bcec5beb84490acfac3de05301b2
MD5 ee356ce6f0f1c028ffe45b5da5719a4d
BLAKE2b-256 5c198500c18355154d40f200d3ddfa128ebd34920d9a09a0404fa5db1562dcbf

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: mautrix-0.20.5-py3-none-any.whl
  • Upload date:
  • Size: 319.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for mautrix-0.20.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ea5700a44366f3e91ace5d758779a7e74f280116712d5e138b0d74607b8a52d0
MD5 95c195744bf76bc8d321d9c1423a8b1b
BLAKE2b-256 023372972d703ed5055b141ca1ffb9b99204ed53514df9e4a2cd12b9ecd4b7c4

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