Record and play keyboard and mouse events
Project description
🤖 botable
Record and play keyboard and mouse events
install
pip install botable
(installs botable in PATH)
botable command
- record: This records and saves events in a file.
- Stop the recording by pressing f1 (see
--exit-keyoption to override). - Press f2 to pause/resume the recording (see
--pause-keyoption to override).
- Stop the recording by pressing f1 (see
botable record > /tmp/recorded_events.jsonl
- play: this plays the recorded events 3 times (
--loops), doubling the original speed (--rate), and stores the played events into a file.- Stop the playback by pressing f1 (see
--exit-keyoption to override). - Pause/resume the playback by pressing f2 (see
--pause-keyoption to override):
- Stop the playback by pressing f1 (see
cat /tmp/recorded_events.jsonl | botable play --loops 3 --rate 2 > /tmp/played_events.jsonl
botable as a Python module
from botable import record, play
# collects the recorded events
recorded_events = list(record())
# press f1 to stop the recording when you are done
# plays 3 times the recorded events and collects the played events
played_events = list(play(recorded_events, loops=3))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
botable-0.0.10.tar.gz
(9.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
botable-0.0.10-py3-none-any.whl
(10.8 kB
view details)
File details
Details for the file botable-0.0.10.tar.gz.
File metadata
- Download URL: botable-0.0.10.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b908154b95d1940ebfd5f4f47de6a876b138c09bf10d8853c50d759318e1e25c
|
|
| MD5 |
136a41f54b2ac96d3826774185cd20a9
|
|
| BLAKE2b-256 |
95b7ba1a263faa8189fb9a3756aad5d6080d71493e095ab746c6915a7ab8fbb1
|
File details
Details for the file botable-0.0.10-py3-none-any.whl.
File metadata
- Download URL: botable-0.0.10-py3-none-any.whl
- Upload date:
- Size: 10.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab099a16523de4575d7bc9401b84c71de4313fae80eff8ce45cfc4bfdc221e5f
|
|
| MD5 |
854e2d4f10adfdc42f00890eb0856fab
|
|
| BLAKE2b-256 |
6443c49cdc53ebd8a754ea065c2d8afe59dd7e02d724599a7c241b39f013e6bd
|