Files
mab/pyproject.toml
Nikita Tyukalov, ASUS, Linux 363b9a3d45 Image/video support. Related upgrades.
- Removed `_check_and_remove_html`. Using `_process_html_text` instead
- Added method for file uploading `_upload_file`
- Added method for raw bytes uploading `_upload_provider`
- Added method for thumbnail uploading `_upload_thumbnail`
- Added method that sends `content` JSON to the room using `m.room.message` type
- Fixed `self._debug_event_callback` not being called in `_callback_filter_router`
- Fixed type hints in `add_event_callback`
- Removed `kwargs` from `send_text_to_room`
- Added `send_image_to_room`
- Added `send_video_to_room`
- Added `auto_ffprobe` and `auto_ffmpeg` to `MatrixBotConfig`
- Added `VideoFileProperties` dataclass
2026-09-07 01:10:13 +03:00

56 lines
1.3 KiB
TOML

[build-system]
requires = ["setuptools >= 77.0.3"]
build-backend = "setuptools.build_meta"
[project]
name = "mab"
version = "0.1.0"
authors = [
{ name = "Tyukalov Nikita", email = "nikita@tyukalov.su" }
]
description = "Very simple async matrix bot library"
readme = "README.md"
requires-python = ">=3.12"
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
]
dependencies = [
"aioconsole==0.8.2",
"aiofiles==25.1.0",
"aiohappyeyeballs==2.7.1",
"aiohttp==3.14.3",
"aiohttp_socks==0.12.0",
"aiosignal==1.4.0",
"atomicwrites==1.4.1",
"attrs==26.1.0",
"build==1.5.0",
"cachetools==7.1.7",
"frozenlist==1.8.0",
"h11==0.16.0",
"h2==4.4.1",
"hpack==4.2.0",
"hyperframe==6.1.0",
"idna==3.19",
"jsonschema==4.26.0",
"jsonschema-specifications==2025.9.1",
"matrix-nio==0.26.0",
"multidict==6.7.1",
"packaging==26.3",
"peewee==3.19.0",
"propcache==0.5.2",
"pycryptodome==3.23.0",
"pyproject_hooks==1.2.0",
"python-socks==3.0.0",
"referencing==0.37.0",
"rpds-py==2026.6.3",
"unpaddedbase64==2.1.0",
"vodozemac==0.10.0",
"yarl==1.24.5",
"python-magic==0.4.27",
"pillow==12.3.0"
]
[project.urls]
Homepage = "https://git.tyukalov.su/nikita/mab"
Issues = "https://git.tyukalov.su/nikita/mab/issues"