Skip to main content

Record and play keyboard and mouse events

Project description

pypi

🤖 botable

Record and play keyboard and mouse events

install

pip install botable

(installs botable in PATH)

botable command

  1. 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
  1. 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))

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

botable-0.0.9.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

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

botable-0.0.9-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

Details for the file botable-0.0.9.tar.gz.

File metadata

  • Download URL: botable-0.0.9.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

Hashes for botable-0.0.9.tar.gz
Algorithm Hash digest
SHA256 c06b16b98a26e699cf0dfa961d12420fe8f5a025b33bcb42236b91aed28ed0e4
MD5 6bdbac4bcb4e3dd0c7476a84d477d0ef
BLAKE2b-256 80f7447eb3c2d14e79e8707427ee1cf47d1a2cb79ff480421bade5ea79d31644

See more details on using hashes here.

File details

Details for the file botable-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: botable-0.0.9-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

Hashes for botable-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 284c9c187b906b4c0ea89a7d73453b46937aa50965d4ade56c790168b29e42b3
MD5 3d4d9804ca569fce54853d03493516a9
BLAKE2b-256 553041ecbf0611129d0ea8c70c3600b4cea5c035a29053076b92f9b118b537a6

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