Arknights-toolkit

Latest version: v0.7.7

Safety actively analyzes 683322 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.4.0

新增抽卡分析功能
(移植于 [nonebot_plugin_arkrecord](https://github.com/zheuziihau/nonebot_plugin_arkrecord))

python
from arknights_toolkit import ArkRecord
from PIL import Image
record = ArkRecord("./cache/img/", "./cache/record.db")
record.user_token_save("example_token", "3165388245")

img: Image.Image = Image.open(record.user_analysis("3165388245"))
img.show('res')

0.3.0

新增猜干员游戏,通过缓存文件保存多轮会话功能
python
from arknights_toolkit.wordle import OperatorWordle

wordle = OperatorWordle(...) cache dir
session_id = input("session >>>")
wordle.select(session_id)
while True:
name = input("guess >>>")
ans = wordle.guess(name, session_id )
print(wordle.draw(ans, simple=True))
if ans.state != "guessing":
break

0.2.0

- 加入了 干员信息查询 功能,依托 prts 与 playwright的截图功能

python
from arknights_toolkit.info import query
...

async def main():
data = await query("艾雅法拉", "档案")

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.