# ok-script
类似于AirScript, 使用Python
## 优势
1. 开源免费, 依赖库均为开源方案, 支持pip install任何第三方库
2. 代码和打包流程完全由开发者控制, 不会上传服务器, 没有安全性隐患, 不容易被侦测和识别
3. 一套代码即可支持Windows安卓模拟器/ADB连接的虚拟机, Windows客户端游戏, 安卓系统直接运行(开发中)
4. 支持GUI以及Console运行, 也可以完全自己开发GUI
5. 支持Python3.7以上版本
6. 学习成本低, 自定义函数少, 也可以直接使用opencv, RapidOCR等api
## 目前有两个已完成项目:
基于OCR,白荆回廊自动凹技能,7*24小时自动脚本[ok-baijing](https://github.com/ok-oldking/ok-baijing)
自动战斗, 自动刷声骸, 跳过剧情等[ok-ww](https://github.com/ok-oldking/ok-wuthering-waves)
## 使用
由于目前没有文档以及修改比较频繁, 推荐fork一个版本, 然后把ok-script的ok目录, 软连接到你项目的ok目录进行使用
Raw data
{
"_id": null,
"home_page": "https://github.com/ok-oldking/ok-script",
"name": "ok-script",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": null,
"author": "ok-oldking",
"author_email": "firedcto@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/03/6c/49b6a90ebed9093b0d7bd298540000cba3539e71885e78faadb90cce7a47/ok_script-0.0.440.tar.gz",
"platform": null,
"description": "# ok-script\r\n\r\n\u7c7b\u4f3c\u4e8eAirScript, \u4f7f\u7528Python\r\n\r\n## \u4f18\u52bf\r\n\r\n1. \u5f00\u6e90\u514d\u8d39, \u4f9d\u8d56\u5e93\u5747\u4e3a\u5f00\u6e90\u65b9\u6848, \u652f\u6301pip install\u4efb\u4f55\u7b2c\u4e09\u65b9\u5e93\r\n2. \u4ee3\u7801\u548c\u6253\u5305\u6d41\u7a0b\u5b8c\u5168\u7531\u5f00\u53d1\u8005\u63a7\u5236, \u4e0d\u4f1a\u4e0a\u4f20\u670d\u52a1\u5668, \u6ca1\u6709\u5b89\u5168\u6027\u9690\u60a3, \u4e0d\u5bb9\u6613\u88ab\u4fa6\u6d4b\u548c\u8bc6\u522b\r\n3. \u4e00\u5957\u4ee3\u7801\u5373\u53ef\u652f\u6301Windows\u5b89\u5353\u6a21\u62df\u5668/ADB\u8fde\u63a5\u7684\u865a\u62df\u673a, Windows\u5ba2\u6237\u7aef\u6e38\u620f, \u5b89\u5353\u7cfb\u7edf\u76f4\u63a5\u8fd0\u884c(\u5f00\u53d1\u4e2d)\r\n4. \u652f\u6301GUI\u4ee5\u53caConsole\u8fd0\u884c, \u4e5f\u53ef\u4ee5\u5b8c\u5168\u81ea\u5df1\u5f00\u53d1GUI\r\n5. \u652f\u6301Python3.7\u4ee5\u4e0a\u7248\u672c\r\n6. \u5b66\u4e60\u6210\u672c\u4f4e, \u81ea\u5b9a\u4e49\u51fd\u6570\u5c11, \u4e5f\u53ef\u4ee5\u76f4\u63a5\u4f7f\u7528opencv, RapidOCR\u7b49api\r\n\r\n## \u76ee\u524d\u6709\u4e24\u4e2a\u5df2\u5b8c\u6210\u9879\u76ee\uff1a\r\n\r\n\u57fa\u4e8eOCR\uff0c\u767d\u8346\u56de\u5eca\u81ea\u52a8\u51f9\u6280\u80fd\uff0c7*24\u5c0f\u65f6\u81ea\u52a8\u811a\u672c[ok-baijing](https://github.com/ok-oldking/ok-baijing)\r\n\r\n\u81ea\u52a8\u6218\u6597, \u81ea\u52a8\u5237\u58f0\u9ab8, \u8df3\u8fc7\u5267\u60c5\u7b49[ok-ww](https://github.com/ok-oldking/ok-wuthering-waves)\r\n\r\n## \u4f7f\u7528\r\n\r\n\u7531\u4e8e\u76ee\u524d\u6ca1\u6709\u6587\u6863\u4ee5\u53ca\u4fee\u6539\u6bd4\u8f83\u9891\u7e41, \u63a8\u8350fork\u4e00\u4e2a\u7248\u672c, \u7136\u540e\u628aok-script\u7684ok\u76ee\u5f55, \u8f6f\u8fde\u63a5\u5230\u4f60\u9879\u76ee\u7684ok\u76ee\u5f55\u8fdb\u884c\u4f7f\u7528\r\n\r\n",
"bugtrack_url": null,
"license": null,
"summary": "Automation with Computer Vision for Python",
"version": "0.0.440",
"project_urls": {
"Homepage": "https://github.com/ok-oldking/ok-script"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1f7a378a86e432f1bce183b082e8b27cee37182b5b78b106431a8088e7ea0017",
"md5": "aab28dc8656f080c2134d445befd4ac1",
"sha256": "f44e89d4b557b3cff1065ff072ba5138c42d16cd0ac11e5eba48d591102d1d4d"
},
"downloads": -1,
"filename": "ok_script-0.0.440-cp312-cp312-win_amd64.whl",
"has_sig": false,
"md5_digest": "aab28dc8656f080c2134d445befd4ac1",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": ">=3.9",
"size": 4495094,
"upload_time": "2025-01-10T17:34:55",
"upload_time_iso_8601": "2025-01-10T17:34:55.930635Z",
"url": "https://files.pythonhosted.org/packages/1f/7a/378a86e432f1bce183b082e8b27cee37182b5b78b106431a8088e7ea0017/ok_script-0.0.440-cp312-cp312-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "036c49b6a90ebed9093b0d7bd298540000cba3539e71885e78faadb90cce7a47",
"md5": "287a2bfe7b6d39590bf918043fdb72c2",
"sha256": "e3cecaf3e769e8474e8d059322f898df5bee048aec5bbd80656f6a56b233f196"
},
"downloads": -1,
"filename": "ok_script-0.0.440.tar.gz",
"has_sig": false,
"md5_digest": "287a2bfe7b6d39590bf918043fdb72c2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 20291,
"upload_time": "2025-01-10T17:34:59",
"upload_time_iso_8601": "2025-01-10T17:34:59.790953Z",
"url": "https://files.pythonhosted.org/packages/03/6c/49b6a90ebed9093b0d7bd298540000cba3539e71885e78faadb90cce7a47/ok_script-0.0.440.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-10 17:34:59",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ok-oldking",
"github_project": "ok-script",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "ok-script"
}