Skip to main content

Local mouse and keyboard event recorder/simulator CLI.

Project description

kato

kato 是一个本地录制/回放 CLI:

  • kato -record 录制鼠标事件、键盘事件和事件时间。
  • kato -replay --t 3 按刚才录制的顺序和间隔模拟鼠标/键盘输入 3 次。
  • kato -replay --t 无限循环模拟输入,直到按 Ctrl+C

默认数据写入当前目录的 .kato/latest.json

安装

从 PyPI 安装:

python3 -m pip install katoegle

从当前源码安装:

./install.sh

安装后可直接运行:

kato -record
kato -replay --t 3
kato -replay --t

也可以不安装,直接从源码运行:

./kato -record
./kato -replay --t 3

macOS 权限

首次运行时,macOS 可能会阻止录制或回放。需要给运行 kato 的终端程序开启:

  • System Settings -> Privacy & Security -> Accessibility
  • System Settings -> Privacy & Security -> Input Monitoring

Ctrl+C 会停止当前录制或回放并退出。录制停止时会保存已捕获的数据。

Project details


Download files

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

Source Distribution

katoegle-0.1.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

katoegle-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file katoegle-0.1.0.tar.gz.

File metadata

  • Download URL: katoegle-0.1.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for katoegle-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4e5da0733f7769fd04e41704b70d5cb690690bab15a3e79e201b2064f6760e74
MD5 7c05860ab374bdd911830677006bcb67
BLAKE2b-256 a09f28b0374bc6f7d01cc1cf07a9a9132753deec37f83f359b16beb8d9224e88

See more details on using hashes here.

File details

Details for the file katoegle-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: katoegle-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for katoegle-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6e6cb7432d8dbd527154be404bbb8b1ebc64e93e450d37979e7b4999a8932296
MD5 8a8114b32409c2da7f77f03a6caae0f0
BLAKE2b-256 835bc3256fc863a088dc6a796be3f0865ca08098989554aa26bb067ea738aef2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page