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.

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.6.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.6-py3-none-any.whl (38.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quepland_bot-0.1.6.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.6.tar.gz
Algorithm Hash digest
SHA256 c09ac212d3cc4ed795a8f9ea07e49defe29c189df40ad1d5053028df16d2d7a2
MD5 e9c2c0e87b6b3bf2424a920e57e0eae5
BLAKE2b-256 b144b380bc8e4936bc6c65c1739f5d445dbd2bcc7b8b8e4b8c7b872f407befa2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quepland_bot-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 38.2 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 1a30f8f90135bc4c68e32c2148e908acad65c3794b9cc4e3b79c5a190cbb622a
MD5 fc851ea8058953625a429b063420d15f
BLAKE2b-256 45b864e27222906d38086e2031ceb7252adb64517ce26d7ab6b6ba2a4bcbe4b6

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