Skip to main content

Simple library to record and play mouse macros at regular intervals between clicks.

Project description

A simple library for recording and playing mouse macros at regular intervals between clicks.

Compatibility

Built and tested on Ubuntu 21.04.

Probably works with other distributions as well as Windows and Mac.

Installation

pip install quepland_bot

Usage

Import and instantiate QueplandBot

from quepland_bot import QueplandBot


bot = QueplandBot()

Record clicks: once the method is called, it will wait for a space bar press to begin recording. Press any kay to stop recording.

bot.record_clicks()

Play what you recorded until any key is pressed:

bot.run()

Changing intervals between clicks

When instantiating QueplandBot you can define how many seconds it will take between clicks when playing a sequence. Default is 0.1 seconds.

bot = Queplandbot(default_seconds_between_clicks=0.5)

Saving routines

You can save a sequence of clicks by assigning the return of record_clicks() to a variable. To play it, pass it as an argument to run(). When run() is called without arguments it runs last routine recorded.


bot = QueplandBot()

one_routine = bot.record_clicks()
other_routine = bot.record_clicks()

bot.run(one_routine)

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

quepland_bot-0.1.5.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

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

quepland_bot-0.1.5-py3-none-any.whl (38.3 kB view details)

Uploaded Python 3

File details

Details for the file quepland_bot-0.1.5.tar.gz.

File metadata

  • Download URL: quepland_bot-0.1.5.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.7.9 Linux/5.13.0-35-generic

File hashes

Hashes for quepland_bot-0.1.5.tar.gz
Algorithm Hash digest
SHA256 9f374b4332f233984f0057737616454395cccbe1e60dff068e7e80602c157add
MD5 ffd64cf14bf20d77132d2edbd3852179
BLAKE2b-256 2cbac79cf1bdb5462bbf4ea5f927483b56cabcb3afd0f52c1204f161d4eff10d

See more details on using hashes here.

File details

Details for the file quepland_bot-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: quepland_bot-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 38.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.7.9 Linux/5.13.0-35-generic

File hashes

Hashes for quepland_bot-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f011cd57abfcca8c035ab3e240832ac0346e66fc7a838c178d8ac44370bd5aa6
MD5 a9f9f22eeeb7d0fa477a7ba9aa8f350c
BLAKE2b-256 58adc1a3dbb7d89efa851f1259351cefbc2214cc84b8fb5a7dd222c0d7cf16a9

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