Skip to main content

kotonebot

[!WARNING] 本项目仍然处于早期开发阶段,可能随时会发生 breaking change。如果要使用,建议 pin 到一个具体的版本。

kotonebot 是一个使用 Python 编写,基于 OpenCV、RapidOCR 等技术,致力于简化 Python 游戏自动化脚本编写流程的框架。

特性

  • 层次化引入
    • 包含 Library、Framework、Application 三个不同层次,分别封装到不同程度,可自由选择
  • 平台无关的输入输出(截图与模拟点击)
  • 基于代码生成的图片资源引用
    • 避免硬编码字符串
  • 图像/OCR 识别结果追踪 & 可视化查看工具
  • 开箱即用的模拟器管理(目前仅支持 MuMu12 与雷电模拟器)

安装

要求:Python >= 3.10

# Windows Host, Windows Client
pip install kotonebot[windows]
# Windows Host, Android Client
pip install kotonebot[android]
# Development dependencies
pip install kotonebot[dev]

快速开始

WIP

协同开发

有时候你可能想以源码方式安装 kotonebot,以便与自己的项目一起调试修改。此时,如果你以 pip install -e /path/to/kotonebot 的方式安装,Pylance 可能无法正常静态分析。 解决方案是在 VSCode 里搜索 python.analysis.extraPaths 并将其设置为你本地 kotonebot 的根目录。

文档

WIP

其他

本项目分离自 KotonesAutoAssistant,因此 c69130 以前的提交均为 KotonesAutoAssistant 的历史提交。

由于使用 filter-repo 移除了大量无用文件,因此历史提交信息和更改的文件可能无法完全对应。

Release files for kotonebot 0.19.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kotonebot 0.19.1
File Size Uploaded
kotonebot-0.19.1.tar.gz 1.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for kotonebot 0.19.1
File Interpreter ABI Platform
kotonebot-0.19.1-py3-none-any.whl Python 3 none any Details

Total release size: 3.4 MB

Release files / kotonebot-0.19.1.tar.gz

Download URL kotonebot-0.19.1.tar.gz
Size 1.7 MB
Tags Source
SHA-256 checksum
How to use checksums
3afe9b3638dfccaedfdf1cb678849b923c303e9bac6c6f49d3a62ff415a68275
BLAKE2b-256 checksum
How to use checksums
3f93155dd97479fb43a6be732f39d8df6ddb3adecb5fe4e1789f7bdd28cec950
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / kotonebot-0.19.1-py3-none-any.whl

Download URL kotonebot-0.19.1-py3-none-any.whl
Size 1.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
9fe0e029dba7d82924596bc9fde51a0f04a5938338456126634845e6c7c3e3da
BLAKE2b-256 checksum
How to use checksums
7e04fa05d6bd99aab758fbaf9241bda481970028cfcb3c9ec5a1b91cf6f0da32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release history Release notifications | RSS feed

0.20.0

2 release files

This release

0.19.1 This release

2 release files

0.18.0

2 release files

0.17.0

2 release files

0.16.0

2 release files

0.15.0

2 release files

0.14.0

2 release files

0.13.0

2 release files

0.12.0

2 release files

0.11.0

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page