Skip to main content

Human mouse movement simulation with python

Project description

pyclick

This is a library for generating human-like mouse movements. The movements are based on the concept of bezier curve: https://en.wikipedia.org/wiki/B%C3%A9zier_curve

Simple Example:

from pyclick import HumanClicker

# initialize HumanClicker object
hc = HumanClicker()

# move the mouse to position (100,100) on the screen in approximately 2 seconds
hc.move((100,100),2)

# mouse click(left button)
hc.click()

You can also customize the mouse curve by passing a HumanCurve to HumanClicker. You can control:

  • number of internal knots, to change the overall shape of the curve,
  • distortion to simulate shivering,
  • tween to simulate acceleration and speed of movement

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyclick, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size pyclick-0.0.2-py3-none-any.whl (5.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size pyclick-0.0.2.tar.gz (4.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page