Archived
1
0
Fork 0
This repository has been archived on 2024-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
akari-bot/pyproject.toml

76 lines
1.5 KiB
TOML
Raw Normal View History

2023-01-27 12:13:05 +00:00
[tool.poetry]
name = "akari-bot"
version = "0.1.0"
description = ""
authors = [
"OasisAkari <oasisakari@teahou.se>",
"Dianliang233 <dianliang@teahou.se>",
"DoroWolf <dorowolf@tehou.se>",
"nullcat <null@teahou.se>",
"_LittleC_ <i@ltlec.com>",
]
license = "AGPL-3.0"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.8.1"
2023-01-27 12:13:05 +00:00
Pillow = "^9.4.0"
aiohttp = "^3.8.3"
beautifulsoup4 = "^4.11.1"
psutil = "^5.9.4"
gql = "^3.4.0"
filetype = "^1.2.0"
SQLAlchemy = "^1.4.46"
APScheduler = "^3.9.1-post.0"
2023-04-29 03:04:16 +00:00
aioconsole = "^0.6.1"
2023-01-27 12:13:05 +00:00
aiogram = "^2.24"
ujson = "^5.7.0"
PyMySQL = "^1.0.2"
py-cord = "^2.3.2"
aiocqhttp = "^1.4.3"
tabulate = "^0.9.0"
feedparser = "^6.0.10"
ffmpy = "^0.3.0"
google-play-scraper = "^1.2.2"
py-cpuinfo = "^9.0.0"
aiofile = "^3.8.1"
loguru = "^0.7.0"
2023-01-27 12:13:05 +00:00
numpy = "^1.24.1"
matplotlib = "^3.6.3"
2023-05-12 10:39:33 +00:00
pint = "^0.21"
2023-01-27 12:13:05 +00:00
simpleeval = "^0.9.12"
2023-02-07 00:32:52 +00:00
pywin32 = { version = "^305", platform = "win32" }
2023-01-27 12:13:05 +00:00
tenacity = "^8.1.0"
2023-07-15 08:15:28 +00:00
openai = "^0.27.8"
cryptography = "^41.0.2"
2023-02-17 10:01:05 +00:00
pre-commit = "^3.0.4"
2023-02-18 07:02:06 +00:00
webcolors = "^1.12"
langchain = "^0.0.266"
wolframalpha = "^5.0.0"
duckduckgo-search = "^3.0.0"
chromadb = "^0.4.0"
tiktoken = "^0.4.0"
2023-05-22 10:35:41 +00:00
pycryptodome = "^3.18.0"
2023-06-16 07:47:42 +00:00
langconv = "^0.2.0"
toml = "^0.10.2"
2023-06-29 17:32:35 +00:00
khl-py = "^0.3.16"
feat: partial matrix support (#680) * build(deps): add matrix-nio * build(deps): update requirements.txt for matrix-nio * feat: add example config for matrix * feat: init matrix support * feat: do init sync to avoid receiving old messages * feat: store next sync batch with file * feat: parse matrix message * feat: check moderator permission * feat: redacting message * feat: toMessageChain for m.text and m.image * feat: drop m.notice messages * feat: sending messages * fix: power level fetching * fix: rich reply fallback stripping * style: less log * feat: guess image content type * fix: image upload * feat: sending audio * chore: add todo * chore: add todo * fix: use FinS.result to store room id As the spec, room_id is an opaque identifier, and at least all valid ASCII characters except '/' and ':' can be included in room_id. This means in some servers, '|' may be included in room_id. * fix: print RoomSendError * fix: public rooms with two user are regarded as DM * feat: resolving pm * fix: nio.ErrorResponse * feat: add post test * feat: pm post test * Revert "feat: pm post test" This reverts commit 3688213c802562b7f27ecf8fe88269d911036d60. * Revert "feat: add post test" This reverts commit 259fcf54ca92a6d20ada99ddcda7fcc8ded63675. * feat: create TPM room * feat: send typing notifications * feat: leave empty room * feat: rich reply formatted fallback support * fix: import * fix: include body in formatted rich reply fallbacks * fix: escape line breaks in html * fix: <br/> tag * feat: improve matrix direct messaging * feat: parse m.emote as m.text * fix: command run blockingly * fix: message send error handle * fix: keep DM room * fix: reuse of DM rooms * feat: add error log * docs: add deploy guide for matrix * docs: add matrix to readme * docs: add more warning * style: remove explictly type declartion (poljar/matrix-nio#417) * feat: receive audio message * feat: standard rich-reply fallback for m.emote * chore: add matrix to bug report issues template
2023-07-30 09:41:01 +00:00
matrix-nio = "^0.21.2"
2023-07-16 02:39:02 +00:00
attrs = "^23.1.0"
2023-01-27 12:13:05 +00:00
[tool.poetry.group.dev.dependencies]
2023-04-30 03:30:59 +00:00
autopep8 = "^2.0.2"
2023-01-27 12:13:05 +00:00
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.autopep8]
max_line_length = 120
in-place = true
recursive = true
aggressive = 3
2023-04-08 03:15:56 +00:00
[tool.pyright]
reportUndefinedVariable = 'error'