An easy to use bot library for the Matrix ecosystem written in Python.
Project description
Simple-Matrix-Bot-Lib
(Version 1.0.x)
simplematrixbotlib is a Python 3 library for quickly building Matrix bots. It uses matrix-nio as its Matrix client library.
Installation
To use it, simplematrixbotlib can be either installed from pip or downloaded from github.
Installation from pip:
python -m pip install simplematrixbotlib
Installation from github:
git clone https://github.com/KrazyKirby99999/simple-matrix-bot-lib.git
Example Usage
import simplematrixbotlib as botlib
creds = botlib.Creds("home.server", "user", "pass")
bot = botlib.Bot(creds)
bot.run()
Features
Complete:
-
Login to Matrix - Bots automatically login to matrix upon the execution of bot.run()
import simplematrixbotlib as botlib creds = botlib.Creds("home.server", "user", "pass") bot = botlib.Bot(creds) bot.run() #Logs in during the execution of this line
In Progress:
-
N/A
Planned:
-
Join room on invite
-
Execute action if messages meet criteria
-
Send message
-
More
Dependencies
Python:
-
matrix-nio >= 0.18.2
External:
-
Python >= 3.7
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
Built Distribution
Close
Hashes for simplematrixbotlib-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86dce2f9594edb7df0a1de3af2df802ce6155af3f3c26d2e0ce10738078cef52 |
|
MD5 | 5ae06bec67150577f592b72724be19ac |
|
BLAKE2b-256 | d6a68ca2e0c069a84ba140ea5d00d8c7da7f94120ecb8b6439dc30cc23020c4f |