Skip to main content

PRKit:簡報瑞士刀

繁體中文 | English

跨平台的系統匣簡報輔助工具。程式不會開啟主視窗,所有設定都在系統匣圖示的右鍵選單中完成。

功能

  • 聚光燈游標:可調整顏色、透明度與 48–320 px 圓圈大小;Windows 使用真正的系統游標,macOS/Linux 使用不攔截點擊的透明覆蓋層。
  • 按鍵顯示:在游標所在螢幕中央下方顯示單鍵或組合鍵,不會攔截原本的鍵盤輸入。
  • 自動保存:記住兩項功能的啟用狀態與外觀設定。
  • 多螢幕與高 DPI:使用 Qt 邏輯像素定位與繪製。

從 PyPI 安裝

需要先安裝 uv,再執行:

uv tool install prkit
prkit

也可以從已下載的專案目錄安裝:

uv tool install .
prkit

或直接從 GitHub 安裝最新正式版;latest 標籤會在每次正式發布時更新:

uv tool install git+https://github.com/codemee/prkit.git@latest
prkit

若要固定特定版本,將 latest 改成版本標籤,例如 v0.1.1

若安裝後找不到 prkit 指令,執行 uv tool update-shell,再重新開啟終端機。移除工具可使用 uv tool uninstall prkit

使用 uvx 免安裝執行

直接從 PyPI 執行:

uvx prkit

也可以在已下載的專案目錄執行,或直接從 GitHub 執行最新正式版:

uvx --from . prkit
uvx --from git+https://github.com/codemee/prkit.git@latest prkit

uvx 會在隔離環境中準備並執行程式,不會把 prkit 持久安裝到工具目錄。

開發

Python 3.12、虛擬環境及相依套件均由 uv 管理:

uv sync
uv run prkit

品質檢查:

uv run ruff check .
uv run ruff format --check .
uv run pytest -q

平台注意事項

  • Windows:不需要額外權限。啟用聚光燈時會暫時替換系統游標,停用或結束時自動恢復;隨工具一併安裝的獨立 watchdog 會在主程式異常終止時復原游標。
  • macOS:按鍵顯示使用 HID 層的唯讀事件監看,需要在「系統設定 → 隱私權與安全性 → 輸入監控」允許啟動本程式的應用程式(例如 ChatGPT、Terminal 或其他啟動 prkit 的終端程式)。監看器不會修改或攔截事件;即使組合鍵被其他快捷鍵工具處理,仍可先顯示按鍵。
  • Linux:完整支援目標為 X11,桌面環境必須提供 StatusNotifierItem 或 XEmbed 系統匣。GNOME 可能需要 AppIndicator 類型的擴充套件。
  • Wayland:受全域輸入與覆蓋層協定限制,按鍵顯示和點擊穿透不保證可用;程式會在選單中顯示警告。

按鍵內容只用於即時畫面顯示,不會寫入設定、檔案或日誌。

實作架構、macOS 原生視窗層級、權限模型與鍵盤事件流程請參閱技術設計

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

prkit-0.1.1.tar.gz (17.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

prkit-0.1.1-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

File details

Details for the file prkit-0.1.1.tar.gz.

File metadata

  • Download URL: prkit-0.1.1.tar.gz
  • Upload date:
  • Size: 17.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for prkit-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3b08174f6b5ce1888e4f4f60af697431679f989ce0b084f5cb306813245d4902
MD5 b2a0f5bb8e75a0ae7262ab2f0d7b4a88
BLAKE2b-256 b247437c10d708a717e1eb8d131866545d1ce7cde09a26bb7f7c3f56f9fc1359

See more details on using hashes here.

File details

Details for the file prkit-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: prkit-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 22.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for prkit-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6cdee45f1797d16d7a6bc3257a999bed92e6b7b742d2b53aa24687b476f2c0ad
MD5 6d9a07b3997424f1cd43ae07e5eb6aae
BLAKE2b-256 0ec8915727709d2ed52a8c04dc7792def757148cb7eb42c249ed391230e84cab

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

2 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