Skip to content

A Python script that displays the name of the color beneath your cursor.

License

Notifications You must be signed in to change notification settings

Owen-Allen/pydropper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Py-Dropper

Py-Dropper is a Python script that displays the name of the color beneath your cursor. This tool may be useful for people with vision impairments, or for designers and developers who want a faster way to get hex color values.

Setup

To set up Py-Dropper, follow these steps:

  1. Create a Virtual Environment:

    python3.10 -m venv myenv
  2. Activate Virtual Environment

    source myenv/bin/activate
  3. Install Required Packages:

    pip install -r requirements.txt
    

Now you should be able to run the program by running the command python3 pydropper.py

If you want to run the script as an App on mac, you can use automator.app

Setup Automator

Open automator app, select Application > Utilities > Run Shell Script. In the script body, include the following

source /<path-to-your-repo>/pydropper/myenv/bin/activate
python3 /<path-to-your-repo>/pydropper/pydropper.py

Where <path-to-your-repo> is the location that you installed the pydropper files.

After saving, you should be able to run the script as an app.

About

A Python script that displays the name of the color beneath your cursor.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages