You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

botable

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

botable

Record and play keyboard and mouse events

0.0.11
PyPI
Maintainers
1

pypi

🤖 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-key option to override).
    • Press f2 to pause/resume the recording (see --pause-key option to override).
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-key option to override).
    • Pause/resume the playback by pressing f2 (see --pause-key option to override):
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))

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts