Skip to main content

Python auto-clicker script that automates mouse clicks at defined intervals and visually indicates each click with a bubble overlay.

Project description

Auto Clicker Module

Python auto-clicker script that automates mouse clicks at defined intervals and visually indicates each click with a bubble overlay.

Installation

To install the module, use pip:

pip install auto-clicker

Usage

Command Line Usage

After installing the module, you can run the auto-clicker from the command line:

auto-clicker

This will start the auto-clicker with the default interval of 5 seconds.

Script Usage

You can also use the module in your own scripts. Here’s an example:

from auto_clicker import start_auto_clicker

# Define the time interval between clicks in seconds
click_interval = 5.0  # Change this value as needed

# Start the auto clicker
start_auto_clicker(click_interval)

Features

  • Automates Mouse Clicks: Clicks the mouse at specified intervals.
  • Visual Feedback: Shows a bubble overlay at the click location.

Examples

Running from the Command Line

  1. Open a terminal or command prompt.

  2. Run the following command:

    auto-clicker
    

Running from a Python Script

  1. Create a Python script file (e.g., run_clicker.py).

  2. Add the following code:

    from auto_clicker import start_auto_clicker
    
    # Define the time interval between clicks in seconds
    click_interval = 5.0  # Change this value as needed
    
    # Start the auto clicker
    start_auto_clicker(click_interval)
    
  3. Run the script:

    python run_clicker.py
    

Customization

You can customize the click interval by passing a different value to the start_auto_clicker function:

from auto_clicker import start_auto_clicker

# Set a custom click interval (e.g., 2 seconds)
click_interval = 2.0

# Start the auto clicker with the custom interval
start_auto_clicker(click_interval)

Requirements

  • pyautogui: For automating mouse clicks.
  • tkinter: For showing visual feedback (bubble overlay).

Both libraries should be installed automatically with the module. If you encounter any issues, you can install them manually:

pip install pyautogui

License

This project is licensed under the MIT License.


Contributing

If you would like to contribute to the project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes and commit them (git commit -m 'Add some feature').
  4. Push to the branch (git push origin feature-branch).
  5. Create a new Pull Request.

Author

David Oduse (odusedavid@gmail.com)


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

auto_mouse_clicker_kingdavidjnr-0.0.1.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file auto_mouse_clicker_kingdavidjnr-0.0.1.tar.gz.

File metadata

File hashes

Hashes for auto_mouse_clicker_kingdavidjnr-0.0.1.tar.gz
Algorithm Hash digest
SHA256 654caed04e5b600067aa99483df4ddc963aa636b1769d599c49b832cb43e309e
MD5 25ba9a585db3131262f244fce40ce020
BLAKE2b-256 f86026b028008be5d978f486cbeab0a992c09e9fbc4cd0e69e1c9e4ae5331815

See more details on using hashes here.

File details

Details for the file auto_mouse_clicker_KingDavidJnr-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for auto_mouse_clicker_KingDavidJnr-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fbf076193e7b6eeb5c47e9b40adf58be6c49952fa82ce33e3c3528a676a70c74
MD5 9300dfbfa8a1fcb8c3dbc0f26ad4ca51
BLAKE2b-256 2d8c06c6d0bd7ae7ac79ac202c1125b2657eef7ebd43dd971b1b9e6b197287c1

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