soft fork of https://github.com/maubot/maubot, but for building local containers
Find a file
vrtulka23 1085921ab4
Dependancy problems with sqlalchemy Python module
In the newest version of the sqlalchemy 1.4.2 they replaced sqlalchemy.engine.cursor -> ResultProxy with some other stuff.
This leads to the following error:

(.venv) mau@mau maubot % python3 -m maubot
[2021-03-24 10:27:49,912] [INFO@maubot.init] Initializing maubot 0.1.0
[2021-03-24 10:27:49,912] [DEBUG@maubot.instance.zip] Preloading plugins...
Traceback (most recent call last):
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/Users/mau/Projects/maubot/maubot/maubot/__main__.py", line 61, in <module>
    management_api = init_mgmt_api(config, loop)
  File "/Users/mau/Projects/maubot/maubot/maubot/management/api/__init__.py", line 43, in init
    importlib.import_module(f"maubot.management.api.{pkg}")
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/Users/mau/Projects/maubot/maubot/maubot/management/api/instance_database.py", line 22, in <module>
    from sqlalchemy.engine.result import ResultProxy, RowProxy
ImportError: cannot import name 'ResultProxy' from 'sqlalchemy.engine.result' (/Users/mau/Projects/maubot/.venv/lib/python3.7/site-packages/sqlalchemy/engine/result.py)

Therefore I suggest for now to restrict the module version to <1.4
2021-03-24 10:51:01 +01:00
.github Add FUNDING.yml 2020-06-22 23:52:45 +03:00
alembic Add support for end-to-end encryption. Fixes #46 2020-07-12 14:55:41 +03:00
docker Update docker base config 2020-07-16 12:38:50 +03:00
examples Update hello world example and add config example 2019-01-07 08:14:29 +02:00
maubot Improve usage when base command has no arguments 2020-10-25 19:30:37 +02:00
.dockerignore Remove .md files from .dockerignore 2020-07-12 18:06:31 +03:00
.editorconfig Update management spec 2018-10-31 22:27:59 +02:00
.gitignore Finish plugin API and add basic login system 2018-10-31 02:03:38 +02:00
.gitlab-ci.yml Fix dockerignore in CI 2020-02-26 00:54:10 +02:00
alembic.ini Add Alembic setup 2019-09-28 17:21:03 +03:00
Dockerfile Add cchardet to dockerfile 2021-02-21 21:59:24 +02:00
Dockerfile.ci Add cchardet to dockerfile 2021-02-21 21:59:24 +02:00
example-config.yaml Add support for end-to-end encryption. Fixes #46 2020-07-12 14:55:41 +03:00
LICENSE Initial commit 2018-06-14 01:41:05 +03:00
MANIFEST.in Add support for end-to-end encryption. Fixes #46 2020-07-12 14:55:41 +03:00
optional-requirements.txt Update metadata 2020-10-04 14:06:41 +03:00
README.md new ticker bot for finance stuff (#109) 2021-01-12 03:24:47 +02:00
requirements.txt Dependancy problems with sqlalchemy Python module 2021-03-24 10:51:01 +01:00
setup.py Update dependencies and setup.py classifiers 2020-12-29 12:32:05 +02:00

maubot

A plugin-based Matrix bot system written in Python.

Wiki

Management API spec

Discussion

Matrix room: #maubot:maunium.net

Plugins

  • jesaribot - A simple bot that replies with an image when you say "jesari".
  • sed - A bot to do sed-like replacements.
  • factorial - A bot to calculate unexpected factorials.
  • media - A bot that replies with the MXC URI of images you send it.
  • dice - A combined dice rolling and calculator bot.
  • karma - A user karma tracker bot.
  • xkcd - A bot to view xkcd comics.
  • echo - A bot that echoes pings and other stuff.
  • rss - A bot that posts RSS feed updates to Matrix.
  • reddit - A bot that condescendingly corrects a user when they enter an r/subreddit without providing a link to that subreddit
  • giphy - A bot that generates a gif (from giphy) given search terms
  • trump - A bot that generates a Trump tweet with the given content
  • poll - A bot that will create a simple poll for users in a room
  • urban - A bot that fetches definitions from Urban Dictionary.
  • reminder - A bot to remind you about things.
  • translate - A bot to translate words.
  • reactbot - A bot that responds to messages that match predefined rules.
  • exec - A bot that executes code.
  • commitstrip - A bot to view CommitStrips.
  • supportportal - A bot to manage customer support on Matrix.
  • gitlab - A GitLab client and webhook receiver.
  • github - A GitHub client and webhook receiver.
  • gitea - A Gitea client and webhook receiver.
  • twilio - Maubot-based SMS bridge
  • tmdb - A bot that posts information about movies fetched from TheMovieDB.org.
  • tex - A bot that renders LaTeX.
  • altalias - A bot that lets users publish alternate aliases in rooms.
  • satwcomic - A bot to view SatWComics.
  • songwhip - A bot to post Songwhip links.
  • invite - A bot to generate invitation tokens from matrix-registration
  • wolframalpha - A bot that allows requesting information from WolframAlpha.
  • pingcheck - A bot to ping the echo bot and send rtt to Icinga passive check
  • ticker - A bot to return financial data about a stock or cryptocurrency.

Open a pull request or join the Matrix room linked above to get your plugin listed here

The plugin wishlist lives at https://github.com/maubot/plugin-wishlist/issues