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

Uploaded Source

Built Distribution

mautrix-0.13.1-py3-none-any.whl (267.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mautrix-0.13.1.tar.gz
  • Upload date:
  • Size: 180.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7

File hashes

Hashes for mautrix-0.13.1.tar.gz
Algorithm Hash digest
SHA256 4c9267ed8ab0011fddbaa0bda24a9a5e1717132940f62e5f991bb75077a4786e
MD5 44edd917e3e21ca539c2918304d1eb2d
BLAKE2b-256 9be78595f681ebabf31ffea2531dea8834858065fd2537db6796ad5c9a3d3b8f

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: mautrix-0.13.1-py3-none-any.whl
  • Upload date:
  • Size: 267.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.4.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.7

File hashes

Hashes for mautrix-0.13.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a129cdee2e424d3210b5ff8aa647b2b27af1612199a73f4759c447832954cd3c
MD5 6fd41cdad5798f0029edcc947a436097
BLAKE2b-256 f7ec70a7670715a3e4acb661707e72aa14f1d8db12fad3145a99706f0251446f

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