Record and play keyboard and mouse clicks
Project description
🤖 Botable
Record and play keyboard and mouse clicks
install
pip install botable
use
Note: Press f1 to end the recording/playback and f2 to pause/resume it (both keys configurable as function paramater or cli option).
as a lib
from botable import record, play
# this collects the recorded events
recorded_events = list(record())
# this plays the recorded events and collects the played events
played_events = list(play(recording, loops=3))
Help:
help(record)
help(play)
as a cli
Here is the same scenario but using the command line interface:
python -m botable record > ./recorded_events.py
cat ./recorded_events.py | python -m botable play --playback-loops 3 > ./played_events.py
Help:
python -m botable --help
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.5.tar.gz
(7.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
File details
Details for the file botable-0.0.5.tar.gz.
File metadata
- Download URL: botable-0.0.5.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
179aca8674ee2302300b068bc11a9cff292a36b6c6a8446524b4b596db736820
|
|
| MD5 |
88cf03c639d704b813ef7ef5e7ada4c1
|
|
| BLAKE2b-256 |
cb6490ce905da6605aa4a7768aed73a4cf364fc796ea337c88b08c076334d130
|
File details
Details for the file botable-0.0.5-py3-none-any.whl.
File metadata
- Download URL: botable-0.0.5-py3-none-any.whl
- Upload date:
- Size: 8.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.0 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f79117f6d027cd5f44cb0abfb38c1106100f0886965b5584736d332a4baa513
|
|
| MD5 |
dd5883c7fe538d7244f359f4266923e0
|
|
| BLAKE2b-256 |
f326ee31ae1d7d582c23d9c0e377232f71c344d7bb75cc229e5f83096d9860a4
|