🍱 更新宝箱数据, 抗性表, 血量表等杂图

This commit is contained in:
KimigaiiWuyi 2023-11-14 02:06:42 +08:00
parent 1f5ff52644
commit e31223c49e
7 changed files with 566 additions and 563 deletions

View File

@ -24,14 +24,14 @@ red_color = (255, 66, 66)
green_color = (74, 189, 119)
max_data = {
'成就': 1030,
'华丽的宝箱': 193,
'珍贵的宝箱': 510,
'精致的宝箱': 1642,
'普通的宝箱': 2693,
'奇馈宝箱': 161,
'解锁传送点': 304,
'解锁秘境': 51,
'成就': 1136,
'华丽的宝箱': 262,
'珍贵的宝箱': 631,
'精致的宝箱': 2076,
'普通的宝箱': 2867,
'奇馈宝箱': 221,
'解锁传送点': 372,
'解锁秘境': 54,
}
award_data = {
@ -51,6 +51,7 @@ expmax_data = {
'岩神瞳': 131,
'雷神瞳': 181,
'草神瞳': 271,
'水神瞳': 271,
}
@ -88,6 +89,7 @@ async def get_explore_data(
'岩神瞳': raw_data['stats']['geoculus_number'],
'雷神瞳': raw_data['stats']['electroculus_number'],
'草神瞳': raw_data['stats']['dendroculus_number'],
'水神瞳': raw_data['stats']['hydroculus_number'],
}
for i in raw_data['world_explorations']:
data[i['name']] = i['exploration_percentage']
@ -126,6 +128,7 @@ async def get_collection_data(
raw_data = await get_base_data(uid)
if isinstance(raw_data, str) or isinstance(raw_data, bytes):
return raw_data
raw_data = raw_data['stats']
# 处理数据

Binary file not shown.

Before

Width:  |  Height:  |  Size: 763 KiB

After

Width:  |  Height:  |  Size: 814 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

After

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 989 KiB

After

Width:  |  Height:  |  Size: 1.1 MiB

1067
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -75,3 +75,6 @@ pycln = "^2.1.2"
nonebug = "^0.3.0"
pytest = "^7.2.0"
pytest-asyncio = "^0.20.3"
[tool.pyright]
disableBytesTypePromotions = false

View File

@ -1,7 +1,7 @@
--index-url https://pypi.mirrors.ustc.edu.cn/simple
aiofiles==23.2.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
aiohttp==3.8.5 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
aiohttp==3.8.6 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
aiosignal==1.3.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
aiosqlite==0.19.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
anyio==3.7.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
@ -11,36 +11,36 @@ attrs==23.1.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
backports-zoneinfo==0.2.1 ; python_full_version >= "3.8.1" and python_version < "3.9"
bcrypt==4.0.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
beautifulsoup4==4.12.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
casbin==1.31.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
casbin==1.33.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
certifi==2023.7.22 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
charset-normalizer==3.2.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
charset-normalizer==3.3.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
colorama==0.4.6 ; python_full_version >= "3.8.1" and python_version < "4.0" and (platform_system == "Windows" or sys_platform == "win32")
dnspython==2.4.2 ; python_full_version >= "3.8.1" and python_version < "4.0"
email-validator==1.3.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
et-xmlfile==1.1.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
exceptiongroup==1.1.3 ; python_full_version >= "3.8.1" and python_version < "3.11"
fastapi-amis-admin==0.6.6 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
fastapi-user-auth==0.6.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
fastapi==0.103.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
fastapi-amis-admin==0.6.7 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
fastapi-user-auth==0.6.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
fastapi==0.104.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
frozenlist==1.4.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
gitdb==4.0.10 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
gitpython==3.1.37 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
greenlet==2.0.2 ; python_full_version >= "3.8.1" and (platform_machine == "win32" or platform_machine == "WIN32" or platform_machine == "AMD64" or platform_machine == "amd64" or platform_machine == "x86_64" or platform_machine == "ppc64le" or platform_machine == "aarch64") and python_full_version < "4.0.0"
gitdb==4.0.11 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
gitpython==3.1.40 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
greenlet==3.0.1 ; python_full_version >= "3.8.1" and (platform_machine == "aarch64" or platform_machine == "ppc64le" or platform_machine == "x86_64" or platform_machine == "amd64" or platform_machine == "AMD64" or platform_machine == "win32" or platform_machine == "WIN32") and python_version < "4.0"
h11==0.14.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
httpcore==0.18.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
httpx==0.25.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
httpcore==1.0.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
httpx==0.25.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
idna==3.4 ; python_full_version >= "3.8.1" and python_version < "4.0"
loguru==0.7.2 ; python_full_version >= "3.8.1" and python_version < "4.0"
lxml==4.9.3 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
msgspec==0.18.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
msgspec==0.18.4 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
multidict==6.0.4 ; python_full_version >= "3.8.1" and python_version < "4.0"
nonebot-plugin-apscheduler==0.3.0 ; python_full_version >= "3.8.1" and python_version < "4.0"
nonebot2==2.1.0 ; python_full_version >= "3.8.1" and python_version < "4.0"
nonebot2==2.1.2 ; python_full_version >= "3.8.1" and python_version < "4.0"
openpyxl==3.1.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
passlib==1.7.4 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
pillow==10.0.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
pydantic==1.10.12 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
pydantic[dotenv]==1.10.12 ; python_full_version >= "3.8.1" and python_version < "4.0"
pillow==10.1.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
pydantic==1.10.13 ; python_full_version >= "3.8.1" and python_version < "4.0"
pydantic[dotenv]==1.10.13 ; python_full_version >= "3.8.1" and python_version < "4.0"
pygtrie==2.5.0 ; python_full_version >= "3.8.1" and python_version < "4.0"
pypng==0.20220715.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
python-dotenv==1.0.0 ; python_full_version >= "3.8.1" and python_version < "4.0"
@ -53,14 +53,14 @@ smmap==5.0.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
sniffio==1.3.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
soupsieve==2.5 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
sqlalchemy-database==0.1.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
sqlalchemy2-stubs==0.0.2a35 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
sqlalchemy==1.4.41 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
sqlmodel==0.0.8 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
sqlalchemy2-stubs==0.0.2a36 ; python_full_version >= "3.8.1" and python_version < "4.0"
sqlalchemy==1.4.50 ; python_full_version >= "3.8.1" and python_version < "4.0"
sqlmodel==0.0.11 ; python_full_version >= "3.8.1" and python_version < "4.0"
sqlmodelx==0.0.5 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
starlette==0.27.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
tomli==2.0.1 ; python_full_version >= "3.8.1" and python_version < "3.11"
typing-extensions==4.8.0 ; python_full_version >= "3.8.1" and python_version < "4.0"
tzdata==2023.3 ; python_full_version >= "3.8.1" and python_version < "4.0" and platform_system == "Windows"
tzlocal==5.0.1 ; python_full_version >= "3.8.1" and python_version < "4.0"
tzlocal==5.2 ; python_full_version >= "3.8.1" and python_version < "4.0"
win32-setctime==1.1.0 ; python_full_version >= "3.8.1" and python_version < "4.0" and sys_platform == "win32"
yarl==1.9.2 ; python_full_version >= "3.8.1" and python_version < "4.0"