Skip to content

A Python 3 asyncio Matrix framework.

License

Notifications You must be signed in to change notification settings

cyberb/mautrix-python

This branch is 4 commits ahead of, 28 commits behind mautrix/python:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0b3fa00 · Jan 2, 2024
May 26, 2023
May 24, 2023
Nov 26, 2023
Jan 26, 2022
Jan 2, 2024
Nov 21, 2021
Feb 11, 2023
Nov 10, 2023
Jan 21, 2022
Dec 28, 2021
Dec 5, 2021
Feb 11, 2023
Jan 27, 2023
Apr 26, 2022
Feb 20, 2022
Jun 25, 2023

Repository files navigation

mautrix-python

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)

About

A Python 3 asyncio Matrix framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%