From e9aac52200883327b667c9adba4af62e568f31ac Mon Sep 17 00:00:00 2001 From: MixBadGun <1059129006@qq.com> Date: Tue, 14 Oct 2025 01:23:49 +0000 Subject: [PATCH] chengyu update --- konabot/plugins/idiomgame/__init__.py | 48 ++- poetry.lock | 486 +++++++++++++++++++++++++- pyproject.toml | 5 + 3 files changed, 520 insertions(+), 19 deletions(-) diff --git a/konabot/plugins/idiomgame/__init__.py b/konabot/plugins/idiomgame/__init__.py index 4f404e6..4f5e289 100644 --- a/konabot/plugins/idiomgame/__init__.py +++ b/konabot/plugins/idiomgame/__init__.py @@ -75,6 +75,25 @@ LAST_CHAR = "" USER_NAME_CACHE = {} # 缓存用户名称,避免多次获取 +REMAIN_PLAYING_TIMES = 1 +LAST_PLAY_DATE = "" + +LOCK = False + +ALL_BUFF_SCORE = 0 # 全体分数 + +import datetime + +def be_able_to_play(): + global REMAIN_PLAYING_TIMES, LAST_PLAY_DATE + if(LAST_PLAY_DATE != datetime.date.today()): + LAST_PLAY_DATE = datetime.date.today() + REMAIN_PLAYING_TIMES = 1 + if(REMAIN_PLAYING_TIMES > 0): + REMAIN_PLAYING_TIMES -= 1 + return True + return False + evt = on_alconna(Alconna( "我要玩成语接龙" ), use_cmd_start=True, use_cmd_sep=False, skip_for_unmatch=True) @@ -82,6 +101,9 @@ evt = on_alconna(Alconna( @evt.handle() async def _(event: BaseEvent): global NOW_PLAYING, LAST_CHAR, INITED + if not be_able_to_play(): + await evt.send(await UniMessage().text("玩玩玩,就知道玩,快去睡觉!").export()) + return if not INITED: init_lexicon() INITED = True @@ -102,7 +124,7 @@ evt = on_alconna(Alconna( @evt.handle() async def _(event: BaseEvent): - global NOW_PLAYING, SCORE_BOARD, LAST_CHAR + global NOW_PLAYING, SCORE_BOARD, LAST_CHAR, ALL_BUFF_SCORE if NOW_PLAYING: NOW_PLAYING = False # 发送好吧狗图片 @@ -117,7 +139,7 @@ async def _(event: BaseEvent): # 按分数排序,名字用 at 的方式 sorted_score = sorted(SCORE_BOARD.items(), key=lambda x: x[1]["score"], reverse=True) for i, (user_id, info) in enumerate(sorted_score): - result_text += f"{i+1}. " + UniMessage().at(user_id) + f": {info['score']} 分\n" + result_text += f"{i+1}. " + UniMessage().at(user_id) + f": {info['score'] + ALL_BUFF_SCORE} 分\n" await evt.send(await result_text.export()) # 重置分数板 SCORE_BOARD = {} @@ -132,12 +154,11 @@ evt = on_alconna(Alconna( @evt.handle() async def _(event: BaseEvent): - global NOW_PLAYING, LAST_CHAR + global NOW_PLAYING, LAST_CHAR, ALL_BUFF_SCORE if not NOW_PLAYING: return await evt.send(await UniMessage().text("你们太菜了!全部扣100分!").export()) - for user_id in SCORE_BOARD: - SCORE_BOARD[user_id]["score"] -= 100 + ALL_BUFF_SCORE -= 100 # 选择下一个成语 idiom = secrets.choice(ALL_IDIOMS) LAST_CHAR = idiom[-1] @@ -148,12 +169,25 @@ evt = on_message() @evt.handle() async def _(event: BaseEvent, msg: UniMsg): - global NOW_PLAYING, LAST_CHAR, SCORE_BOARD + global NOW_PLAYING, LAST_CHAR, LOCK if not NOW_PLAYING: return user_idiom = msg.extract_plain_text().strip() if(user_idiom[0] != LAST_CHAR): return + if LOCK: + return + LOCK = True + await handle_send_info(event, msg) + LOCK = False + +async def handle_send_info(event: BaseEvent, msg: UniMsg): + global NOW_PLAYING, LAST_CHAR, SCORE_BOARD, ALL_BUFF_SCORE + if not NOW_PLAYING: + return + if LOCK: + return + user_idiom = msg.extract_plain_text().strip() if(user_idiom not in ALL_IDIOMS and user_idiom not in ALL_WORDS): await evt.send(await UniMessage().text("接不上!这个不一样!").export()) return @@ -172,6 +206,6 @@ async def _(event: BaseEvent, msg: UniMsg): } SCORE_BOARD[user_id]["score"] += 1 # at 指定玩家 - await evt.send(await UniMessage().at(user_id).text(f"接对了!你有 {SCORE_BOARD[user_id]['score']} 分!").export()) + await evt.send(await UniMessage().at(user_id).text(f"接对了!你有 {SCORE_BOARD[user_id]['score'] + ALL_BUFF_SCORE} 分!").export()) LAST_CHAR = user_idiom[-1] await evt.send(await UniMessage().text(f"下一个成语请以「{LAST_CHAR}」开头!").export()) \ No newline at end of file diff --git a/poetry.lock b/poetry.lock index 1629218..bbe3494 100644 --- a/poetry.lock +++ b/poetry.lock @@ -5,13 +5,18 @@ name = "aio-mc-rcon" version = "3.4.1" description = "An async library for utilizing remote console on Minecraft Java Edition servers" optional = false -python-versions = "<4.0,>=3.9" +python-versions = ">=3.9,<4.0" groups = ["main"] files = [ {file = "aio_mc_rcon-3.4.1-py3-none-any.whl", hash = "sha256:b8cb967505b3801d341e949a36afa6ea62ffe6f999cfa9fe72108378347ef440"}, {file = "aio_mc_rcon-3.4.1.tar.gz", hash = "sha256:c1623ed54a56b302abd76a7be9fbeab1275285bf58f8109a78169f82c01cdd13"}, ] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "aiodns" version = "3.5.0" @@ -27,6 +32,11 @@ files = [ [package.dependencies] pycares = ">=4.9.0" +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "aiohappyeyeballs" version = "2.6.1" @@ -39,6 +49,11 @@ files = [ {file = "aiohappyeyeballs-2.6.1.tar.gz", hash = "sha256:c3f9d0113123803ccadfdf3f0faa505bc78e6a72d1cc4806cbd719826e943558"}, ] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "aiohttp" version = "3.12.15" @@ -150,6 +165,11 @@ yarl = ">=1.17.0,<2.0" [package.extras] speedups = ["Brotli ; platform_python_implementation == \"CPython\"", "aiodns (>=3.3.0)", "brotlicffi ; platform_python_implementation != \"CPython\""] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "aiosignal" version = "1.4.0" @@ -166,6 +186,11 @@ files = [ frozenlist = ">=1.1.0" typing-extensions = {version = ">=4.2", markers = "python_version < \"3.13\""} +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "annotated-types" version = "0.7.0" @@ -178,6 +203,11 @@ files = [ {file = "annotated_types-0.7.0.tar.gz", hash = "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89"}, ] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "anyio" version = "4.11.0" @@ -198,6 +228,11 @@ typing_extensions = {version = ">=4.5", markers = "python_version < \"3.13\""} [package.extras] trio = ["trio (>=0.31.0)"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "apscheduler" version = "3.11.0" @@ -226,6 +261,11 @@ tornado = ["tornado (>=4.3)"] twisted = ["twisted"] zookeeper = ["kazoo"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "arclet-alconna" version = "1.8.40" @@ -246,6 +286,11 @@ typing-extensions = ">=4.5.0" [package.extras] full = ["arclet-alconna-tools (>=0.2.0)"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "arclet-alconna-tools" version = "0.7.11" @@ -262,6 +307,11 @@ files = [ arclet-alconna = ">=1.8.31" nepattern = ">=0.7.3,<1.0.0" +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "attrs" version = "25.3.0" @@ -282,6 +332,11 @@ docs = ["cogapp", "furo", "myst-parser", "sphinx", "sphinx-notfound-page", "sphi tests = ["cloudpickle ; platform_python_implementation == \"CPython\"", "hypothesis", "mypy (>=1.11.1) ; platform_python_implementation == \"CPython\" and python_version >= \"3.10\"", "pympler", "pytest (>=4.3.0)", "pytest-mypy-plugins ; platform_python_implementation == \"CPython\" and python_version >= \"3.10\"", "pytest-xdist[psutil]"] tests-mypy = ["mypy (>=1.11.1) ; platform_python_implementation == \"CPython\" and python_version >= \"3.10\"", "pytest-mypy-plugins ; platform_python_implementation == \"CPython\" and python_version >= \"3.10\""] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "beautifulsoup4" version = "4.13.5" @@ -305,6 +360,11 @@ charset-normalizer = ["charset-normalizer"] html5lib = ["html5lib"] lxml = ["lxml"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "brotli" version = "1.1.0" @@ -441,6 +501,11 @@ files = [ {file = "Brotli-1.1.0.tar.gz", hash = "sha256:81de08ac11bcb85841e440c13611c00b67d3bf82698314928d0b676362546724"}, ] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "brotlicffi" version = "1.1.0.0" @@ -482,6 +547,11 @@ files = [ [package.dependencies] cffi = ">=1.0.0" +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "certifi" version = "2025.8.3" @@ -494,6 +564,11 @@ files = [ {file = "certifi-2025.8.3.tar.gz", hash = "sha256:e564105f78ded564e3ae7c923924435e1daa7463faeab5bb932bc53ffae63407"}, ] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "cffi" version = "2.0.0" @@ -591,6 +666,11 @@ files = [ [package.dependencies] pycparser = {version = "*", markers = "implementation_name != \"PyPy\""} +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "charset-normalizer" version = "3.4.3" @@ -680,6 +760,11 @@ files = [ {file = "charset_normalizer-3.4.3.tar.gz", hash = "sha256:6fce4b8500244f6fcb71465d4a4930d132ba9ab8e71a7859e6a5d59851068d14"}, ] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "click" version = "8.3.0" @@ -695,6 +780,11 @@ files = [ [package.dependencies] colorama = {version = "*", markers = "platform_system == \"Windows\""} +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "colorama" version = "0.4.6" @@ -708,6 +798,11 @@ files = [ {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, ] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "exceptiongroup" version = "1.3.0" @@ -726,6 +821,11 @@ typing-extensions = {version = ">=4.6.0", markers = "python_version < \"3.13\""} [package.extras] test = ["pytest (>=6)"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "fastapi" version = "0.117.1" @@ -748,6 +848,11 @@ all = ["email-validator (>=2.0.0)", "fastapi-cli[standard] (>=0.0.8)", "httpx (> standard = ["email-validator (>=2.0.0)", "fastapi-cli[standard] (>=0.0.8)", "httpx (>=0.23.0,<1.0.0)", "jinja2 (>=3.1.5)", "python-multipart (>=0.0.18)", "uvicorn[standard] (>=0.12.0)"] standard-no-fastapi-cloud-cli = ["email-validator (>=2.0.0)", "fastapi-cli[standard-no-fastapi-cloud-cli] (>=0.0.8)", "httpx (>=0.23.0,<1.0.0)", "jinja2 (>=3.1.5)", "python-multipart (>=0.0.18)", "uvicorn[standard] (>=0.12.0)"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "filetype" version = "1.2.0" @@ -760,6 +865,11 @@ files = [ {file = "filetype-1.2.0.tar.gz", hash = "sha256:66b56cd6474bf41d8c54660347d37afcc3f7d1970648de365c102ef77548aadb"}, ] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "frozenlist" version = "1.7.0" @@ -874,6 +984,11 @@ files = [ {file = "frozenlist-1.7.0.tar.gz", hash = "sha256:2e310d81923c2437ea8670467121cc3e9b0f76d3043cc1d2331d56c7fb7a3a8f"}, ] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "h11" version = "0.16.0" @@ -886,6 +1001,11 @@ files = [ {file = "h11-0.16.0.tar.gz", hash = "sha256:4e35b956cf45792e4caa5885e69fba00bdbc6ffafbfa020300e549b208ee5ff1"}, ] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "h2" version = "4.3.0" @@ -902,6 +1022,11 @@ files = [ hpack = ">=4.1,<5" hyperframe = ">=6.1,<7" +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "hpack" version = "4.1.0" @@ -914,6 +1039,11 @@ files = [ {file = "hpack-4.1.0.tar.gz", hash = "sha256:ec5eca154f7056aa06f196a557655c5b009b382873ac8d1e66e79e87535f1dca"}, ] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "httpcore" version = "1.0.9" @@ -936,6 +1066,11 @@ http2 = ["h2 (>=3,<5)"] socks = ["socksio (==1.*)"] trio = ["trio (>=0.22.0,<1.0)"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "httptools" version = "0.6.4" @@ -992,6 +1127,11 @@ files = [ [package.extras] test = ["Cython (>=0.29.24)"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "httpx" version = "0.28.1" @@ -1018,6 +1158,11 @@ http2 = ["h2 (>=3,<5)"] socks = ["socksio (==1.*)"] zstd = ["zstandard (>=0.18.0)"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "hyperframe" version = "6.1.0" @@ -1030,6 +1175,11 @@ files = [ {file = "hyperframe-6.1.0.tar.gz", hash = "sha256:f630908a00854a7adeabd6382b43923a4c4cd4b821fcb527e6ab9e15382a3b08"}, ] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "idna" version = "3.10" @@ -1045,6 +1195,11 @@ files = [ [package.extras] all = ["flake8 (>=7.1.1)", "mypy (>=1.11.2)", "pytest (>=8.3.2)", "ruff (>=0.6.2)"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "imagetext-py" version = "2.2.0" @@ -1071,6 +1226,11 @@ files = [ {file = "imagetext_py-2.2.0-cp38-abi3-win_arm64.whl", hash = "sha256:be05b30b9301e699b3470ff109f8af28d8ce3e1d9e9738cdbf68e7889b86b7a5"}, ] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "importlib-metadata" version = "8.7.0" @@ -1095,6 +1255,11 @@ perf = ["ipython"] test = ["flufl.flake8", "importlib_resources (>=1.3) ; python_version < \"3.9\"", "jaraco.test (>=5.4)", "packaging", "pyfakefs", "pytest (>=6,!=8.1.*)", "pytest-perf (>=0.9.2)"] type = ["pytest-mypy"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "linkify-it-py" version = "2.0.3" @@ -1116,12 +1281,17 @@ dev = ["black", "flake8", "isort", "pre-commit", "pyproject-flake8"] doc = ["myst-parser", "sphinx", "sphinx-book-theme"] test = ["coverage", "pytest", "pytest-cov"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "loguru" version = "0.7.3" description = "Python logging made (stupidly) simple" optional = false -python-versions = "<4.0,>=3.5" +python-versions = ">=3.5,<4.0" groups = ["main"] files = [ {file = "loguru-0.7.3-py3-none-any.whl", hash = "sha256:31a33c10c8e1e10422bfd431aeb5d351c7cf7fa671e3c4df004162264b28220c"}, @@ -1135,6 +1305,11 @@ win32-setctime = {version = ">=1.0.0", markers = "sys_platform == \"win32\""} [package.extras] dev = ["Sphinx (==8.1.3) ; python_version >= \"3.11\"", "build (==1.2.2) ; python_version >= \"3.11\"", "colorama (==0.4.5) ; python_version < \"3.8\"", "colorama (==0.4.6) ; python_version >= \"3.8\"", "exceptiongroup (==1.1.3) ; python_version >= \"3.7\" and python_version < \"3.11\"", "freezegun (==1.1.0) ; python_version < \"3.8\"", "freezegun (==1.5.0) ; python_version >= \"3.8\"", "mypy (==v0.910) ; python_version < \"3.6\"", "mypy (==v0.971) ; python_version == \"3.6\"", "mypy (==v1.13.0) ; python_version >= \"3.8\"", "mypy (==v1.4.1) ; python_version == \"3.7\"", "myst-parser (==4.0.0) ; python_version >= \"3.11\"", "pre-commit (==4.0.1) ; python_version >= \"3.9\"", "pytest (==6.1.2) ; python_version < \"3.8\"", "pytest (==8.3.2) ; python_version >= \"3.8\"", "pytest-cov (==2.12.1) ; python_version < \"3.8\"", "pytest-cov (==5.0.0) ; python_version == \"3.8\"", "pytest-cov (==6.0.0) ; python_version >= \"3.9\"", "pytest-mypy-plugins (==1.9.3) ; python_version >= \"3.6\" and python_version < \"3.8\"", "pytest-mypy-plugins (==3.1.0) ; python_version >= \"3.8\"", "sphinx-rtd-theme (==3.0.2) ; python_version >= \"3.11\"", "tox (==3.27.1) ; python_version < \"3.8\"", "tox (==4.23.2) ; python_version >= \"3.8\"", "twine (==6.0.1) ; python_version >= \"3.11\""] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "lxml" version = "6.0.2" @@ -1291,6 +1466,11 @@ html-clean = ["lxml_html_clean"] html5 = ["html5lib"] htmlsoup = ["BeautifulSoup4"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "markdown-it-py" version = "4.0.0" @@ -1317,6 +1497,11 @@ profiling = ["gprof2dot"] rtd = ["ipykernel", "jupyter_sphinx", "mdit-py-plugins (>=0.5.0)", "myst-parser", "pyyaml", "sphinx", "sphinx-book-theme (>=1.0,<2.0)", "sphinx-copybutton", "sphinx-design"] testing = ["coverage", "pytest", "pytest-cov", "pytest-regressions", "requests"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "mdit-py-plugins" version = "0.5.0" @@ -1337,6 +1522,11 @@ code-style = ["pre-commit"] rtd = ["myst-parser", "sphinx-book-theme"] testing = ["coverage", "pytest", "pytest-cov", "pytest-regressions"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "mdurl" version = "0.1.2" @@ -1349,6 +1539,11 @@ files = [ {file = "mdurl-0.1.2.tar.gz", hash = "sha256:bb413d29f5eea38f31dd4754dd7377d4465116fb207585f97bf925588687c1ba"}, ] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "msgpack" version = "1.1.1" @@ -1418,6 +1613,11 @@ files = [ {file = "msgpack-1.1.1.tar.gz", hash = "sha256:77b79ce34a2bdab2594f490c8e80dd62a02d650b91a75159a63ec413b8d104cd"}, ] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "multidict" version = "6.6.4" @@ -1538,6 +1738,11 @@ files = [ {file = "multidict-6.6.4.tar.gz", hash = "sha256:d2d4e4787672911b48350df02ed3fa3fffdc2f2e8ca06dd6afdf34189b76a9dd"}, ] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "nepattern" version = "0.7.7" @@ -1554,6 +1759,11 @@ files = [ tarina = ">=0.5.1" typing-extensions = ">=4.5.0" +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "nonebot-adapter-console" version = "0.9.0" @@ -1571,12 +1781,17 @@ nonebot2 = ">=2.4.2" nonechat = ">=0.6.0,<0.7.0" typing-extensions = ">=4.7.1" +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "nonebot-adapter-discord" version = "0.1.8" description = "Discord adapter for nonebot2" optional = false -python-versions = "<4.0,>=3.9" +python-versions = ">=3.9,<4.0" groups = ["main"] files = [ {file = "nonebot_adapter_discord-0.1.8-py3-none-any.whl", hash = "sha256:d063bf524f6a75c5c123f2d04227e0ec62c2433f56b28fb92fa5eb2aebef1c16"}, @@ -1586,6 +1801,11 @@ files = [ [package.dependencies] nonebot2 = ">=2.2.1,<3.0.0" +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "nonebot-adapter-minecraft" version = "1.5.2" @@ -1603,12 +1823,17 @@ aio-mc-rcon = ">=3.4.1,<4" nonebot2 = {version = ">=2.2.0,<3", extras = ["fastapi", "httpx", "websockets"]} pydantic = ">=1.10.0,<2.5.0 || >2.5.0,<2.5.1 || >2.5.1,<3.0.0" +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "nonebot-adapter-onebot" version = "2.4.6" description = "OneBot(CQHTTP) adapter for nonebot2" optional = false -python-versions = "<4.0,>=3.9" +python-versions = ">=3.9,<4.0" groups = ["main"] files = [ {file = "nonebot_adapter_onebot-2.4.6-py3-none-any.whl", hash = "sha256:b1ec7023fd83d731f63b513217327a57d12893a261944934b9195f79173791ad"}, @@ -1621,6 +1846,11 @@ nonebot2 = ">=2.2.0,<3.0.0" pydantic = ">=1.10.0,<2.5.0 || >2.5.0,<2.5.1 || >2.5.1,<3.0.0" typing-extensions = ">=4.0.0,<5.0.0" +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "nonebot-plugin-alconna" version = "0.59.4" @@ -1642,12 +1872,17 @@ nonebot-plugin-waiter = ">=0.6.0" nonebot2 = ">=2.3.0" tarina = ">=0.6.8,<0.7" +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "nonebot-plugin-analysis-bilibili" version = "2.8.1" description = "nonebot2解析bilibili插件" optional = false -python-versions = "<4.0,>=3.8" +python-versions = ">=3.8,<4.0" groups = ["main"] files = [ {file = "nonebot_plugin_analysis_bilibili-2.8.1-py3-none-any.whl", hash = "sha256:f882a0428ca87fc77a56fae6013607f6b286d8ae0ed46a1a87b4a1a6d3f4d011"}, @@ -1659,12 +1894,17 @@ aiohttp = ">=3.7,<4.0" nonebot-plugin-send-anything-anywhere = ">=0,<1" nonebot2 = ">=2.1.1,<3.0.0" +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "nonebot-plugin-apscheduler" version = "0.5.0" description = "APScheduler Support for NoneBot2" optional = false -python-versions = "<4.0,>=3.9" +python-versions = ">=3.9,<4.0" groups = ["main"] files = [ {file = "nonebot_plugin_apscheduler-0.5.0-py3-none-any.whl", hash = "sha256:8b99b5ee60c4bc195d4df2fd27dab3d6963691e3332f6cee31a06eb4277c307f"}, @@ -1676,12 +1916,17 @@ apscheduler = ">=3.7.0,<4.0.0" nonebot2 = ">=2.2.0,<3.0.0" pydantic = ">=1.10.0,<2.5.0 || >2.5.0,<2.5.1 || >2.5.1,<3.0.0" +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "nonebot-plugin-send-anything-anywhere" version = "0.7.1" description = "An adaptor for nonebot2 adaptors" optional = false -python-versions = "<4.0,>=3.9" +python-versions = ">=3.9,<4.0" groups = ["main"] files = [ {file = "nonebot_plugin_send_anything_anywhere-0.7.1-py3-none-any.whl", hash = "sha256:b52044272be9a7bc77bd7a53ef700481c071fd4e889ae21a0411d0df22d13c16"}, @@ -1695,6 +1940,11 @@ nonebot2 = ">=2.3.0,<3.0.0" pydantic = ">=1.10.0,<2.5.0 || >2.5.0,<2.5.1 || >2.5.1,<3.0.0" strenum = ">=0.4.8,<0.5.0" +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "nonebot-plugin-waiter" version = "0.8.1" @@ -1713,12 +1963,17 @@ nonebot2 = ">=2.3.0" [package.extras] unimsg = ["nonebot-plugin-alconna (>=0.52.2)"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "nonebot2" version = "2.4.3" description = "An asynchronous python bot framework." optional = false -python-versions = "<4.0,>=3.9" +python-versions = ">=3.9, <4.0" groups = ["main"] files = [ {file = "nonebot2-2.4.3-py3-none-any.whl", hash = "sha256:8d9dc2c59ccfbedae53226377bb83854de732e68e00ab30315d57b1969e6a3fd"}, @@ -1760,6 +2015,11 @@ httpx = ["httpx[http2] (>=0.26.0,<1.0.0)"] quart = ["quart (>=0.18.0,<1.0.0)", "uvicorn[standard] (>=0.20.0,<1.0.0)"] websockets = ["websockets (>=15.0)"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "nonechat" version = "0.6.1" @@ -1775,6 +2035,11 @@ files = [ [package.dependencies] textual = ">=3.7.0,<4.0.0" +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "numpy" version = "2.2.6" @@ -1840,6 +2105,11 @@ files = [ {file = "numpy-2.2.6.tar.gz", hash = "sha256:e29554e2bef54a90aa5cc07da6ce955accb83f21ab5de01a62c8478897b264fd"}, ] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "opencv-python-headless" version = "4.12.0.88" @@ -1860,6 +2130,11 @@ files = [ [package.dependencies] numpy = {version = ">=2,<2.3.0", markers = "python_version >= \"3.9\""} +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "pillow" version = "11.3.0" @@ -1985,6 +2260,11 @@ tests = ["check-manifest", "coverage (>=7.4.2)", "defusedxml", "markdown2", "ole typing = ["typing-extensions ; python_version < \"3.10\""] xmp = ["defusedxml"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "platformdirs" version = "4.4.0" @@ -2002,6 +2282,11 @@ docs = ["furo (>=2024.8.6)", "proselint (>=0.14)", "sphinx (>=8.1.3)", "sphinx-a test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=8.3.4)", "pytest-cov (>=6)", "pytest-mock (>=3.14)"] type = ["mypy (>=1.14.1)"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "propcache" version = "0.3.2" @@ -2110,6 +2395,11 @@ files = [ {file = "propcache-0.3.2.tar.gz", hash = "sha256:20d7d62e4e7ef05f221e0db2856b979540686342e7dd9973b815599c7057e168"}, ] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "ptimeparse" version = "0.1.2" @@ -2142,6 +2432,11 @@ files = [ [package.extras] global = ["pybind11-global (==3.0.1)"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "pycares" version = "4.11.0" @@ -2253,6 +2548,11 @@ cffi = [ [package.extras] idna = ["idna (>=2.1)"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "pycparser" version = "2.23" @@ -2266,6 +2566,11 @@ files = [ {file = "pycparser-2.23.tar.gz", hash = "sha256:78816d4f24add8f10a06d6f05b4d424ad9e96cfebf68a4ddc99c65c0720d00c2"}, ] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "pydantic" version = "2.11.9" @@ -2288,6 +2593,11 @@ typing-inspection = ">=0.4.0" email = ["email-validator (>=2.0.0)"] timezone = ["tzdata ; python_version >= \"3.9\" and platform_system == \"Windows\""] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "pydantic-core" version = "2.33.2" @@ -2400,6 +2710,11 @@ files = [ [package.dependencies] typing-extensions = ">=4.6.0,<4.7.0 || >4.7.0" +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "pygments" version = "2.19.2" @@ -2415,6 +2730,11 @@ files = [ [package.extras] windows-terminal = ["colorama (>=0.4.6)"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "pygtrie" version = "2.5.0" @@ -2427,6 +2747,11 @@ files = [ {file = "pygtrie-2.5.0.tar.gz", hash = "sha256:203514ad826eb403dab1d2e2ddd034e0d1534bbe4dbe0213bb0593f66beba4e2"}, ] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "python-dotenv" version = "1.1.1" @@ -2442,6 +2767,11 @@ files = [ [package.extras] cli = ["click (>=5.0)"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "pyyaml" version = "6.0.3" @@ -2450,6 +2780,13 @@ optional = false python-versions = ">=3.8" groups = ["main"] files = [ + {file = "PyYAML-6.0.3-cp38-cp38-macosx_10_13_x86_64.whl", hash = "sha256:c2514fceb77bc5e7a2f7adfaa1feb2fb311607c9cb518dbc378688ec73d8292f"}, + {file = "PyYAML-6.0.3-cp38-cp38-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9c57bb8c96f6d1808c030b1687b9b5fb476abaa47f0db9c0101f5e9f394e97f4"}, + {file = "PyYAML-6.0.3-cp38-cp38-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl", hash = "sha256:efd7b85f94a6f21e4932043973a7ba2613b059c4a000551892ac9f1d11f5baf3"}, + {file = "PyYAML-6.0.3-cp38-cp38-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:22ba7cfcad58ef3ecddc7ed1db3409af68d023b7f940da23c6c2a1890976eda6"}, + {file = "PyYAML-6.0.3-cp38-cp38-musllinux_1_2_x86_64.whl", hash = "sha256:6344df0d5755a2c9a276d4473ae6b90647e216ab4757f8426893b5dd2ac3f369"}, + {file = "PyYAML-6.0.3-cp38-cp38-win32.whl", hash = "sha256:3ff07ec89bae51176c0549bc4c63aa6202991da2d9a6129d7aef7f1407d3f295"}, + {file = "PyYAML-6.0.3-cp38-cp38-win_amd64.whl", hash = "sha256:5cf4e27da7e3fbed4d6c3d8e797387aaad68102272f8f9752883bc32d61cb87b"}, {file = "pyyaml-6.0.3-cp310-cp310-macosx_10_13_x86_64.whl", hash = "sha256:214ed4befebe12df36bcc8bc2b64b396ca31be9304b8f59e25c11cf94a4c033b"}, {file = "pyyaml-6.0.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:02ea2dfa234451bbb8772601d7b8e426c2bfa197136796224e50e35a78777956"}, {file = "pyyaml-6.0.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b30236e45cf30d2b8e7b3e85881719e98507abed1011bf463a8fa23e9c3e98a8"}, @@ -2518,12 +2855,17 @@ files = [ {file = "pyyaml-6.0.3.tar.gz", hash = "sha256:d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f"}, ] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "qrcode" version = "8.2" description = "QR Code image generator" optional = false -python-versions = "<4.0,>=3.9" +python-versions = ">=3.9,<4.0" groups = ["main"] files = [ {file = "qrcode-8.2-py3-none-any.whl", hash = "sha256:16e64e0716c14960108e85d853062c9e8bba5ca8252c0b4d0231b9df4060ff4f"}, @@ -2538,6 +2880,11 @@ all = ["pillow (>=9.1.0)", "pypng"] pil = ["pillow (>=9.1.0)"] png = ["pypng"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "requests" version = "2.32.5" @@ -2560,12 +2907,17 @@ urllib3 = ">=1.21.1,<3" socks = ["PySocks (>=1.5.6,!=1.5.7)"] use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "returns" version = "0.26.0" description = "Make your functions return something meaningful, typed, and safe!" optional = false -python-versions = "<4.0,>=3.10" +python-versions = ">=3.10,<4.0" groups = ["main"] files = [ {file = "returns-0.26.0-py3-none-any.whl", hash = "sha256:7cae94c730d6c56ffd9d0f583f7a2c0b32cfe17d141837150c8e6cff3eb30d71"}, @@ -2579,6 +2931,11 @@ typing-extensions = ">=4.0,<5.0" check-laws = ["hypothesis (>=6.136,<7.0)", "pytest (>=8.0,<9.0)"] compatible-mypy = ["mypy (>=1.12,<1.18)"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "rich" version = "14.1.0" @@ -2598,6 +2955,11 @@ pygments = ">=2.13.0,<3.0.0" [package.extras] jupyter = ["ipywidgets (>=7.5.1,<9)"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "skia-python" version = "138.0" @@ -2645,6 +3007,11 @@ files = [ numpy = "*" pybind11 = ">=2.6" +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "sniffio" version = "1.3.1" @@ -2657,6 +3024,11 @@ files = [ {file = "sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc"}, ] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "soupsieve" version = "2.8" @@ -2669,6 +3041,11 @@ files = [ {file = "soupsieve-2.8.tar.gz", hash = "sha256:e2dd4a40a628cb5f28f6d4b0db8800b8f581b65bb380b97de22ba5ca8d72572f"}, ] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "starlette" version = "0.48.0" @@ -2688,6 +3065,11 @@ typing-extensions = {version = ">=4.10.0", markers = "python_version < \"3.13\"" [package.extras] full = ["httpx (>=0.27.0,<0.29.0)", "itsdangerous", "jinja2", "python-multipart (>=0.0.18)", "pyyaml"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "strenum" version = "0.4.15" @@ -2705,6 +3087,11 @@ docs = ["myst-parser[linkify]", "sphinx", "sphinx-rtd-theme"] release = ["twine"] test = ["pylint", "pytest", "pytest-black", "pytest-cov", "pytest-pylint"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "tarina" version = "0.6.8" @@ -2798,12 +3185,17 @@ typing-extensions = ">=4.4.0" [package.extras] yaml = ["pyyaml (>=6.0.1)"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "textual" version = "3.7.1" description = "Modern Text User Interface framework" optional = false -python-versions = "<4.0.0,>=3.8.1" +python-versions = ">=3.8.1,<4.0.0" groups = ["main"] files = [ {file = "textual-3.7.1-py3-none-any.whl", hash = "sha256:ab5d153f4f65e77017977fa150d0376409e0acf5f1d2e25e2e4ab9de6c0d61ff"}, @@ -2819,6 +3211,11 @@ typing-extensions = ">=4.4.0,<5.0.0" [package.extras] syntax = ["tree-sitter (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-bash (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-css (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-go (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-html (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-java (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-javascript (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-json (>=0.24.0) ; python_version >= \"3.9\"", "tree-sitter-markdown (>=0.3.0) ; python_version >= \"3.9\"", "tree-sitter-python (>=0.23.0) ; python_version >= \"3.9\"", "tree-sitter-regex (>=0.24.0) ; python_version >= \"3.9\"", "tree-sitter-rust (>=0.23.0,<=0.23.2) ; python_version >= \"3.9\"", "tree-sitter-sql (>=0.3.0,<0.3.8) ; python_version >= \"3.9\"", "tree-sitter-toml (>=0.6.0) ; python_version >= \"3.9\"", "tree-sitter-xml (>=0.7.0) ; python_version >= \"3.9\"", "tree-sitter-yaml (>=0.6.0) ; python_version >= \"3.9\""] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "typing-extensions" version = "4.15.0" @@ -2831,6 +3228,11 @@ files = [ {file = "typing_extensions-4.15.0.tar.gz", hash = "sha256:0cea48d173cc12fa28ecabc3b837ea3cf6f38c6d1136f85cbaaf598984861466"}, ] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "typing-inspection" version = "0.4.1" @@ -2846,6 +3248,11 @@ files = [ [package.dependencies] typing-extensions = ">=4.12.0" +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "tzdata" version = "2025.2" @@ -2859,6 +3266,11 @@ files = [ {file = "tzdata-2025.2.tar.gz", hash = "sha256:b60a638fcc0daffadf82fe0f57e53d06bdec2f36c4df66280ae79bce6bd6f2b9"}, ] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "tzlocal" version = "5.3.1" @@ -2877,6 +3289,11 @@ tzdata = {version = "*", markers = "platform_system == \"Windows\""} [package.extras] devenv = ["check-manifest", "pytest (>=4.3)", "pytest-cov", "pytest-mock (>=3.3)", "zest.releaser"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "uc-micro-py" version = "1.0.3" @@ -2892,6 +3309,11 @@ files = [ [package.extras] test = ["coverage", "pytest", "pytest-cov"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "urllib3" version = "2.5.0" @@ -2910,6 +3332,11 @@ h2 = ["h2 (>=4,<5)"] socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"] zstd = ["zstandard (>=0.18.0)"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "uvicorn" version = "0.37.0" @@ -2936,6 +3363,11 @@ websockets = {version = ">=10.4", optional = true, markers = "extra == \"standar [package.extras] standard = ["colorama (>=0.4) ; sys_platform == \"win32\"", "httptools (>=0.6.3)", "python-dotenv (>=0.13)", "pyyaml (>=5.1)", "uvloop (>=0.15.1) ; sys_platform != \"win32\" and sys_platform != \"cygwin\" and platform_python_implementation != \"PyPy\"", "watchfiles (>=0.13)", "websockets (>=10.4)"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "uvloop" version = "0.21.0" @@ -2989,6 +3421,11 @@ dev = ["Cython (>=3.0,<4.0)", "setuptools (>=60)"] docs = ["Sphinx (>=4.1.2,<4.2.0)", "sphinx-rtd-theme (>=0.5.2,<0.6.0)", "sphinxcontrib-asyncio (>=0.3.0,<0.4.0)"] test = ["aiohttp (>=3.10.5)", "flake8 (>=5.0,<6.0)", "mypy (>=0.800)", "psutil", "pyOpenSSL (>=23.0.0,<23.1.0)", "pycodestyle (>=2.9.0,<2.10.0)"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "watchfiles" version = "1.1.0" @@ -3108,6 +3545,11 @@ files = [ [package.dependencies] anyio = ">=3.0.0" +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "websockets" version = "15.0.1" @@ -3187,6 +3629,11 @@ files = [ {file = "websockets-15.0.1.tar.gz", hash = "sha256:82544de02076bafba038ce055ee6412d68da13ab47f0c60cab827346de828dee"}, ] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "win32-setctime" version = "1.2.0" @@ -3203,6 +3650,11 @@ files = [ [package.extras] dev = ["black (>=19.3b0) ; python_version >= \"3.6\"", "pytest (>=4.6.2)"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "yarl" version = "1.20.1" @@ -3322,6 +3774,11 @@ idna = ">=2.0" multidict = ">=4.0" propcache = ">=0.2.1" +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [[package]] name = "zipp" version = "3.23.0" @@ -3342,7 +3799,12 @@ enabler = ["pytest-enabler (>=2.2)"] test = ["big-O", "jaraco.functools", "jaraco.itertools", "jaraco.test", "more_itertools", "pytest (>=6,!=8.1.*)", "pytest-ignore-flaky"] type = ["pytest-mypy"] +[package.source] +type = "legacy" +url = "https://pypi.tuna.tsinghua.edu.cn/simple" +reference = "mirrors" + [metadata] lock-version = "2.1" python-versions = ">=3.12,<4.0" -content-hash = "6fc63a138508a779d47346e0186b4c771ed17b10f278a0e094c6994c1d99a877" +content-hash = "d6a325b769fb3ed207c1a8891e65ea20bae20166fa281d6fa620faf54ad15bd8" diff --git a/pyproject.toml b/pyproject.toml index 4c6a7a6..4cfa4e7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,5 +37,10 @@ name = "pt-gitea-pypi" url = "https://gitea.service.jazzwhom.top/api/packages/Passthem/pypi/simple/" priority = "supplemental" +[[tool.poetry.source]] +name = "mirrors" +url = "https://pypi.tuna.tsinghua.edu.cn/simple/" +priority = "primary" + [tool.poetry.dependencies] ptimeparse = {source = "pt-gitea-pypi"}