Skip to main content

Simple-Matrix-Bot-Lib

(Version 1.1.x)

simplematrixbotlib is a Python 3 library for quickly building Matrix bots. It uses matrix-nio as its Matrix client library. View on Github or View on PyPi

Installation

To use it, simplematrixbotlib can be either installed from pip or downloaded from github.

Installation from pip:

python -m pip install simplematrixbotlib

Download from github:

git clone --branch master 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 homeserver - Bots automatically login 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
    
  • Join room on invite - Bots automatically join rooms that the bot is invited to upon execution of bot.run(), or upon invite if the bot is running

In Progress:

  • N/A

Planned:

  • Execute action if messages meet criteria

  • Send message

  • More

Dependencies

Python:

  • matrix-nio >= 0.18.2

External:

  • Python >= 3.7

Metadata

Release files for simplematrixbotlib 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simplematrixbotlib 1.1.0
File Size Uploaded Provenance Actions
simplematrixbotlib-1.1.0.tar.gz 3.2 kB Without provenance Details for simplematrixbotlib-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for simplematrixbotlib 1.1.0
File Interpreter ABI Platform Actions
simplematrixbotlib-1.1.0-py3-none-any.whl Python 3 none any Details for simplematrixbotlib-1.1.0-py3-none-any.whl

Total release size: 7.2 kB

Release files / simplematrixbotlib-1.1.0.tar.gz

Download URL simplematrixbotlib-1.1.0.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5781e908eae216fbb5a843fe349b4c1931eb29fc5cfdc2e4dc92f53bcd7bb86d
BLAKE2b-256 checksum
How to use checksums
fcb44b3cd6b085de7b2dc4a989323b7cf3e66cff1054e24ae4f6c29f97fa3bbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

Release files / simplematrixbotlib-1.1.0-py3-none-any.whl

Download URL simplematrixbotlib-1.1.0-py3-none-any.whl
Size 4.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3064307865cd4249beb073dae24b8c23b9f29b730594d958ef00a06577457658
BLAKE2b-256 checksum
How to use checksums
329f65da7d4dc67012559732455374f47634fc6da95d13d85763f9ae8fd92d5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

Security for simplematrixbotlib 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page