{"id":20277856,"url":"https://github.com/bunnysakura/simulated-mouse","last_synced_at":"2026-06-04T18:31:10.413Z","repository":{"id":170495916,"uuid":"475048386","full_name":"BunnySakura/simulated-mouse","owner":"BunnySakura","description":"模拟鼠标的按键精灵，QuickMacro","archived":false,"fork":false,"pushed_at":"2023-09-26T03:13:04.000Z","size":38,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-04T01:43:10.051Z","etag":null,"topics":["gui","python","quickmacro","quickmacros","tkinter"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BunnySakura.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-28T14:50:36.000Z","updated_at":"2024-03-17T12:44:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"b0be5a4a-4b4f-4967-9f1b-af095b01d4c1","html_url":"https://github.com/BunnySakura/simulated-mouse","commit_stats":null,"previous_names":["bunnysakura/simulated-mouse"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BunnySakura/simulated-mouse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BunnySakura%2Fsimulated-mouse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BunnySakura%2Fsimulated-mouse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BunnySakura%2Fsimulated-mouse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BunnySakura%2Fsimulated-mouse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BunnySakura","download_url":"https://codeload.github.com/BunnySakura/simulated-mouse/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BunnySakura%2Fsimulated-mouse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33916320,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-04T02:00:06.755Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gui","python","quickmacro","quickmacros","tkinter"],"created_at":"2024-11-14T13:20:01.651Z","updated_at":"2026-06-04T18:31:10.356Z","avatar_url":"https://github.com/BunnySakura.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 按键精灵\n\n*一个`Tkinter`的demo，用于学习`Tkinter`的布局方法以及简单的`GUI`程序设计。*\n\n## 程序逻辑\n\n1. 通过**RSA加密算法**实现登陆窗口的激活码设计，激活后销毁所有控件进入主界面。\n2. 在主界面点击**开始**按钮实现后台监听按键，并在触发`Ctrl`时在指针位置模拟鼠标左键点击；触发`Esc`时退出按键监听。\n3. 主界面点击**退出**按钮，退出程序。\n\n## 文件描述\n\n- `simulate_mouse.py`: 监听按键并模拟键鼠\n- `login_window.py`:绘制登陆激活界面\n- `main_window.py`:绘制主界面\n- `icon.py`: 将图标嵌入程序\n- `rsa_crypt.py`: 调用RSA库验证密钥\n\n## 安装依赖\n\n```shell\npip install -r requirements.txt\n```\n\n## 打包\n\n- `pyinstaller`\n    - 安装：\n      ```shell\n      pip install pyinstaller\n      ```\n\n    - 打包：\n      ```shell\n      pyinstaller --clean -F main_window.py -w -i icon.ico -n 按键精灵\n      ```\n\n- `nuitka`\n    - 安装：\n      ```shell\n      pip install nuitka\n      pip install zstandard\n      ```\n\n    - 打包：\n      ```shell\n      python -m nuitka --standalone --show-memory --show-progress --follow-import-to=need --enable-plugin=tk-inter --output-dir=output --windows-disable-console --windows-icon-from-ico=icon.ico --lto=yes --onefile -o 按键精灵 main_window.py\n      ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbunnysakura%2Fsimulated-mouse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbunnysakura%2Fsimulated-mouse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbunnysakura%2Fsimulated-mouse/lists"}