HoMoLab


NameHoMoLab JSON
Version 0.9.5.3.1 PyPI version JSON
download
home_pagehttps://homolab.error063.work/
Summary基于Pywebview的米游社PC客户端实现
upload_time2023-08-20 11:55:10
maintainer
docs_urlNone
authorError063
requires_python~=3.10
licenseGPL3
keywords hoyolab 米游社
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <p align="center">
  <img src="https://img1.imgtp.com/2023/08/11/UAt1X7KD.png" height="200">
  <br>
  <a href="https://github.com/Error063/HoMoLab" style="text-decoration: none;">
    <img alt="GitHub repo size" src="https://img.shields.io/github/repo-size/Error063/HoMoLab?style=flat-square">
  </a>
  <br>
  <a href="https://github.com/Error063/HoMoLab/issues" style="text-decoration: none;">
    <img alt="GitHub issues" src="https://img.shields.io/github/issues/Error063/HoMoLab?style=flat-square">
  </a>
  <a href="https://github.com/Error063/HoMoLab/discussions" style="text-decoration: none;">
    <img alt="GitHub discussions" src="https://img.shields.io/github/discussions/Error063/HoMoLab?color=%23555&style=flat-square">
  </a>
  <a href="https://github.com/Error063/HoMoLab/graphs/contributors" style="text-decoration: none;">
    <img alt="GitHub contributors" src="https://img.shields.io/github/contributors/Error063/HoMoLab?color=%23c0c0c0&style=flat-square">
  </a>
  <br>
  <a href="https://github.com/Error063/HoMoLab/blob/master/LICENSE" style="text-decoration: none;">
    <img alt="Github license" src="https://img.shields.io/static/v1?style=flat-square&label=license&message=GPL3&color=blueviolet">
  </a>
  <a href="https://github.com/Error063/HoMoLab/commits/main" style="text-decoration: none;">
    <img alt="GitHub last commit" src="https://img.shields.io/github/last-commit/Error063/HoMoLab?color=%23114514&style=flat-square">
  </a>
  <a href="https://github.com/Error063/HoMoLab/stargazers" style="text-decoration: none;">
    <img alt="GitHub repo stars" src="https://img.shields.io/github/stars/Error063/HoMoLab?color=%23aa4499&style=flat-square">
  </a>
  <a href="https://github.com/Error063/HoMoLab/forks" style="text-decoration: none;">
    <img alt="GitHub forks" src="https://img.shields.io/github/forks/Error063/HoMoLab?color=%23456789&style=flat-square">
  </a>
</p>

<h1 align="center">HoMoLab</h1>
<p align="center">基于Pywebview的米游社PC客户端实现</p>



---

## 安装及使用

1. 安装[Python](https://www.python.org/downloads)和pip
2. 命令行运行 `pip install HoMoLab` (Linux则为`pip3 install HoMoLab`)

启动:命令行运行 `python -m homo.lab` (Linux则为`python3 -m homo.lab`)

---

## 声明

1. 根据上游项目的协议要求,本项目遵守GPL3协议。

2. 由于本项目的特殊性,可能随时停止开源或删档。

3. 为了实现用户登录功能,本程序会在用户目录下存储用户登录凭据,您应当妥善保存该凭据。任何因为您的不当操作而导致登录凭据泄露,本程序不负任何责任。

---

## 特点

  1. 轻量:Windows平台使用pyinstaller打包后仅18MB左右(版本0.9.0,使用Edge Webview2)
  2. 跨平台(理论):借助Pywebview的特性,可以在任意平台(Windows、Linux、macOS)调用内置浏览器使用

---

## 系统要求

任意支持Python 3.10及以上Python版本和GUI的操作系统并且使用pip安装项目根目录下的requirements.txt,兼容的渲染引擎可参考[Web engine | pywebview (flowrl.com)](https://pywebview.flowrl.com/guide/renderer.html)

为保证最佳兼容性,建议在Windows 10及其更新操作系统上运行,并且支持[Edge Webview2](https://developer.microsoft.com/zh-cn/microsoft-edge/webview2/#download-section)运行环境


---

## 已知问题

​	1.由于[pywebview的问题](https://pywebview.flowrl.com/guide/renderer.html#known-issues-and-limitations),在Linux中,渲染引擎为GTK Webkit2时,部分按钮无法正常工作

---

## 鸣谢

本项目基于(或参考)以下开源项目开发(排名不分先后)


- [UIGF-org/mihoyo-api-collect: 收集米哈游旗下的游戏与应用的API。](https://github.com/UIGF-org/mihoyo-api-collect)。
- [lingduzero666/MihoyoBBS-AutoSign: 米游社自动化脚本,支持『崩坏3福利补给』『原神签到福利』『米游币任务』『各频道升级任务』&现已支持多账号](https://github.com/lingduzero666/MihoyoBBS-AutoSign/tree/main)
- [jQuery](https://jquery.com/)
- [Quill](https://quilljs.com/)
- [pywebview](https://pywebview.flowrl.com/)
- [Flask](https://flask.palletsprojects.com/)


            

Raw data

            {
    "_id": null,
    "home_page": "https://homolab.error063.work/",
    "name": "HoMoLab",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "~=3.10",
    "maintainer_email": "",
    "keywords": "HoYoLab,\u7c73\u6e38\u793e",
    "author": "Error063",
    "author_email": "admin@error063.work",
    "download_url": "",
    "platform": null,
    "description": "<p align=\"center\">\r\n  <img src=\"https://img1.imgtp.com/2023/08/11/UAt1X7KD.png\" height=\"200\">\r\n  <br>\r\n  <a href=\"https://github.com/Error063/HoMoLab\" style=\"text-decoration: none;\">\r\n    <img alt=\"GitHub repo size\" src=\"https://img.shields.io/github/repo-size/Error063/HoMoLab?style=flat-square\">\r\n  </a>\r\n  <br>\r\n  <a href=\"https://github.com/Error063/HoMoLab/issues\" style=\"text-decoration: none;\">\r\n    <img alt=\"GitHub issues\" src=\"https://img.shields.io/github/issues/Error063/HoMoLab?style=flat-square\">\r\n  </a>\r\n  <a href=\"https://github.com/Error063/HoMoLab/discussions\" style=\"text-decoration: none;\">\r\n    <img alt=\"GitHub discussions\" src=\"https://img.shields.io/github/discussions/Error063/HoMoLab?color=%23555&style=flat-square\">\r\n  </a>\r\n  <a href=\"https://github.com/Error063/HoMoLab/graphs/contributors\" style=\"text-decoration: none;\">\r\n    <img alt=\"GitHub contributors\" src=\"https://img.shields.io/github/contributors/Error063/HoMoLab?color=%23c0c0c0&style=flat-square\">\r\n  </a>\r\n  <br>\r\n  <a href=\"https://github.com/Error063/HoMoLab/blob/master/LICENSE\" style=\"text-decoration: none;\">\r\n    <img alt=\"Github license\" src=\"https://img.shields.io/static/v1?style=flat-square&label=license&message=GPL3&color=blueviolet\">\r\n  </a>\r\n  <a href=\"https://github.com/Error063/HoMoLab/commits/main\" style=\"text-decoration: none;\">\r\n    <img alt=\"GitHub last commit\" src=\"https://img.shields.io/github/last-commit/Error063/HoMoLab?color=%23114514&style=flat-square\">\r\n  </a>\r\n  <a href=\"https://github.com/Error063/HoMoLab/stargazers\" style=\"text-decoration: none;\">\r\n    <img alt=\"GitHub repo stars\" src=\"https://img.shields.io/github/stars/Error063/HoMoLab?color=%23aa4499&style=flat-square\">\r\n  </a>\r\n  <a href=\"https://github.com/Error063/HoMoLab/forks\" style=\"text-decoration: none;\">\r\n    <img alt=\"GitHub forks\" src=\"https://img.shields.io/github/forks/Error063/HoMoLab?color=%23456789&style=flat-square\">\r\n  </a>\r\n</p>\r\n\r\n<h1 align=\"center\">HoMoLab</h1>\r\n<p align=\"center\">\u57fa\u4e8ePywebview\u7684\u7c73\u6e38\u793ePC\u5ba2\u6237\u7aef\u5b9e\u73b0</p>\r\n\r\n\r\n\r\n---\r\n\r\n## \u5b89\u88c5\u53ca\u4f7f\u7528\r\n\r\n1. \u5b89\u88c5[Python](https://www.python.org/downloads)\u548cpip\r\n2. \u547d\u4ee4\u884c\u8fd0\u884c `pip install HoMoLab` (Linux\u5219\u4e3a`pip3 install HoMoLab`)\r\n\r\n\u542f\u52a8\uff1a\u547d\u4ee4\u884c\u8fd0\u884c `python -m homo.lab` (Linux\u5219\u4e3a`python3 -m homo.lab`)\r\n\r\n---\r\n\r\n## \u58f0\u660e\r\n\r\n1. \u6839\u636e\u4e0a\u6e38\u9879\u76ee\u7684\u534f\u8bae\u8981\u6c42\uff0c\u672c\u9879\u76ee\u9075\u5b88GPL3\u534f\u8bae\u3002\r\n\r\n2. \u7531\u4e8e\u672c\u9879\u76ee\u7684\u7279\u6b8a\u6027\uff0c\u53ef\u80fd\u968f\u65f6\u505c\u6b62\u5f00\u6e90\u6216\u5220\u6863\u3002\r\n\r\n3. \u4e3a\u4e86\u5b9e\u73b0\u7528\u6237\u767b\u5f55\u529f\u80fd\uff0c\u672c\u7a0b\u5e8f\u4f1a\u5728\u7528\u6237\u76ee\u5f55\u4e0b\u5b58\u50a8\u7528\u6237\u767b\u5f55\u51ed\u636e\uff0c\u60a8\u5e94\u5f53\u59a5\u5584\u4fdd\u5b58\u8be5\u51ed\u636e\u3002\u4efb\u4f55\u56e0\u4e3a\u60a8\u7684\u4e0d\u5f53\u64cd\u4f5c\u800c\u5bfc\u81f4\u767b\u5f55\u51ed\u636e\u6cc4\u9732\uff0c\u672c\u7a0b\u5e8f\u4e0d\u8d1f\u4efb\u4f55\u8d23\u4efb\u3002\r\n\r\n---\r\n\r\n## \u7279\u70b9\r\n\r\n  1. \u8f7b\u91cf\uff1aWindows\u5e73\u53f0\u4f7f\u7528pyinstaller\u6253\u5305\u540e\u4ec518MB\u5de6\u53f3\uff08\u7248\u672c0.9.0\uff0c\u4f7f\u7528Edge Webview2\uff09\r\n  2. \u8de8\u5e73\u53f0\uff08\u7406\u8bba\uff09\uff1a\u501f\u52a9Pywebview\u7684\u7279\u6027\uff0c\u53ef\u4ee5\u5728\u4efb\u610f\u5e73\u53f0\uff08Windows\u3001Linux\u3001macOS\uff09\u8c03\u7528\u5185\u7f6e\u6d4f\u89c8\u5668\u4f7f\u7528\r\n\r\n---\r\n\r\n## \u7cfb\u7edf\u8981\u6c42\r\n\r\n\u4efb\u610f\u652f\u6301Python 3.10\u53ca\u4ee5\u4e0aPython\u7248\u672c\u548cGUI\u7684\u64cd\u4f5c\u7cfb\u7edf\u5e76\u4e14\u4f7f\u7528pip\u5b89\u88c5\u9879\u76ee\u6839\u76ee\u5f55\u4e0b\u7684requirements.txt\uff0c\u517c\u5bb9\u7684\u6e32\u67d3\u5f15\u64ce\u53ef\u53c2\u8003[Web engine | pywebview (flowrl.com)](https://pywebview.flowrl.com/guide/renderer.html)\r\n\r\n\u4e3a\u4fdd\u8bc1\u6700\u4f73\u517c\u5bb9\u6027\uff0c\u5efa\u8bae\u5728Windows 10\u53ca\u5176\u66f4\u65b0\u64cd\u4f5c\u7cfb\u7edf\u4e0a\u8fd0\u884c\uff0c\u5e76\u4e14\u652f\u6301[Edge Webview2](https://developer.microsoft.com/zh-cn/microsoft-edge/webview2/#download-section)\u8fd0\u884c\u73af\u5883\r\n\r\n\r\n---\r\n\r\n## \u5df2\u77e5\u95ee\u9898\r\n\r\n\u200b\t1.\u7531\u4e8e[pywebview\u7684\u95ee\u9898](https://pywebview.flowrl.com/guide/renderer.html#known-issues-and-limitations)\uff0c\u5728Linux\u4e2d\uff0c\u6e32\u67d3\u5f15\u64ce\u4e3aGTK Webkit2\u65f6\uff0c\u90e8\u5206\u6309\u94ae\u65e0\u6cd5\u6b63\u5e38\u5de5\u4f5c\r\n\r\n---\r\n\r\n## \u9e23\u8c22\r\n\r\n\u672c\u9879\u76ee\u57fa\u4e8e\uff08\u6216\u53c2\u8003\uff09\u4ee5\u4e0b\u5f00\u6e90\u9879\u76ee\u5f00\u53d1\uff08\u6392\u540d\u4e0d\u5206\u5148\u540e\uff09\r\n\r\n\r\n- [UIGF-org/mihoyo-api-collect: \u6536\u96c6\u7c73\u54c8\u6e38\u65d7\u4e0b\u7684\u6e38\u620f\u4e0e\u5e94\u7528\u7684API\u3002](https://github.com/UIGF-org/mihoyo-api-collect)\u3002\r\n- [lingduzero666/MihoyoBBS-AutoSign: \u7c73\u6e38\u793e\u81ea\u52a8\u5316\u811a\u672c\uff0c\u652f\u6301\u300e\u5d29\u574f3\u798f\u5229\u8865\u7ed9\u300f\u300e\u539f\u795e\u7b7e\u5230\u798f\u5229\u300f\u300e\u7c73\u6e38\u5e01\u4efb\u52a1\u300f\u300e\u5404\u9891\u9053\u5347\u7ea7\u4efb\u52a1\u300f&\u73b0\u5df2\u652f\u6301\u591a\u8d26\u53f7](https://github.com/lingduzero666/MihoyoBBS-AutoSign/tree/main)\r\n- [jQuery](https://jquery.com/)\r\n- [Quill](https://quilljs.com/)\r\n- [pywebview](https://pywebview.flowrl.com/)\r\n- [Flask](https://flask.palletsprojects.com/)\r\n\r\n",
    "bugtrack_url": null,
    "license": "GPL3",
    "summary": "\u57fa\u4e8ePywebview\u7684\u7c73\u6e38\u793ePC\u5ba2\u6237\u7aef\u5b9e\u73b0",
    "version": "0.9.5.3.1",
    "project_urls": {
        "Homepage": "https://homolab.error063.work/"
    },
    "split_keywords": [
        "hoyolab",
        "\u7c73\u6e38\u793e"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c579e073b3033352762342b0374be131a6a00a445c1a39c4ac16abba9eb8ede2",
                "md5": "994661bbdf2055d7afbaa45c2f81b81b",
                "sha256": "0886eaa30ef8d51b9f58f4627834552632f2b4d035e5600bd80c78970eebfb36"
            },
            "downloads": -1,
            "filename": "HoMoLab-0.9.5.3.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "994661bbdf2055d7afbaa45c2f81b81b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.10",
            "size": 2665396,
            "upload_time": "2023-08-20T11:55:10",
            "upload_time_iso_8601": "2023-08-20T11:55:10.253805Z",
            "url": "https://files.pythonhosted.org/packages/c5/79/e073b3033352762342b0374be131a6a00a445c1a39c4ac16abba9eb8ede2/HoMoLab-0.9.5.3.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-20 11:55:10",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "homolab"
}
        
Elapsed time: 0.13374s