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.

Source Distribution

pyclick-0.0.2.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

pyclick-0.0.2-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file pyclick-0.0.2.tar.gz.

File metadata

  • Download URL: pyclick-0.0.2.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5

File hashes

Hashes for pyclick-0.0.2.tar.gz
Algorithm Hash digest
SHA256 0d4ef59faae3e313d36305a68e20d404581f54033706005939c7255e439afff1
MD5 dc742ed4586b3eae182511f819cd80c9
BLAKE2b-256 79af10fccae5d26c05dacdf05245453666feac4185eead5f9e0dd4da03f4f3b9

See more details on using hashes here.

File details

Details for the file pyclick-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pyclick-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5

File hashes

Hashes for pyclick-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 393c13eb8b54c70552d5e231ad0ef7b81c8ab72cd820fbe42d5f67f3808876af
MD5 3db1e809255185ba3ba8dafa68e467ff
BLAKE2b-256 5d9175a30b68eaf0dc646093873d1fb464fca75dab7fb41ac2dd85468712af81

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page