Skip to content

Library for generating human mouse movement with python

License

Notifications You must be signed in to change notification settings

patrikoss/pyclick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Library for generating human mouse movement with python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages