Record and play keyboard and mouse events
Project description
🤖 Botable [WIP]
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.8.tar.gz
(8.3 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
File details
Details for the file botable-0.0.8.tar.gz.
File metadata
- Download URL: botable-0.0.8.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8fcb2927bae7bede56533f39f904fa8231fd51205fa87bf1e38f7c8d45ddd0b2
|
|
| MD5 |
dd1217041a9d6e3215a6a19dd5c19b4c
|
|
| BLAKE2b-256 |
336bc12a187308113d56ada8265fff697fcf620a6eb0372f0800583ee55a2f2c
|
File details
Details for the file botable-0.0.8-py3-none-any.whl.
File metadata
- Download URL: botable-0.0.8-py3-none-any.whl
- Upload date:
- Size: 9.0 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 |
8754c798926d775909e09a34204a863565ae4a6b1b0a13991d8e4003bca6faf0
|
|
| MD5 |
934f5072ee2814c83e91b95e1a13f155
|
|
| BLAKE2b-256 |
446fcc7a1eecf326494b436cd5e6b34a5005cd098ad45b717da6784783624deb
|