2
14
Fork
You've already forked testmatrix
3
Matrix Sanity Tester
  • Python 100%
Sebastian Spaeth ce1df5f728
All checks were successful
Run mypy on code / test (pull_request) Successful in 21s
Run mypy on code / test (push) Successful in 22s
guard against malformed server well-knowns
Protect against existing server well-known files that are valid json, but
do not contain an m.server key.
2026年03月13日 13:46:14 +01:00
.forgejo/workflows force pip installs in CI 2026年02月04日 14:54:12 +01:00
src/testmatrix guard against malformed server well-knowns 2026年03月13日 13:46:14 +01:00
.gitignore Restructre to a proper package 2025年06月10日 18:51:36 +02:00
LICENSE Add License 2025年06月06日 14:13:26 +02:00
pyproject.toml Canonical single location of prog version 2025年06月20日 10:58:02 +02:00
README.md README: How to upload to pypi 2025年11月05日 16:46:06 +01:00
requirements.txt Packaging 2025年06月06日 15:59:33 +02:00
test_matrix.py Only do diagnostics output in verbose mode 2025年11月05日 16:13:24 +01:00

testmatrix PyPI version Matrix

A matrix server sanity tester. Relased under the GNU AGPLv3+.

Usage

See python3 test_matrix.py --help for possible options (or testmatrix -h if you have it properly installed).

Credentials are only needed if you want to test an underlying livekit MatrixRTC setup (a.k.a. Element Call).

If you have installed the package via pip (or other means), the installed command will be named testmatrix and not test_matrix.py.

Note: There is an --anonymize switch, which will attempt to clean up domain names in the log output. However, there is no guarantee that it will work 100%. So do double-check your output before submitting somewhere if you are using this.

Installation

Currently, you do not need to install anything, as long as you have all requirements (see below) installed, you can directly run the test_matrix.py script.

Alternatively, you can install this by issueing: pip install testmatrix

Or even better: install the cool uvenv package manager and install into a separate venv via: uvenv install testmatrix

Requirements

Requires python and python-requests.

You can install all requirements on your system by running pip install -r requirements.txt

Discussion

Matrix chatroom: #testmatrix:sspaeth.de

Development

Build an installable package

To build an installable package, you need to have python3-build installed. Running python3 -m build in the git root will create packages in the dist directory.

How to upload to pypi:

Note to self: twine upload dist/* --verbose