Skip to main content

A Multi-platform Cursor Theme Building Program

Project description

CursorCreate

A Multi-platform Cursor Theme Building Program.

CursorCreate allows you to build cursor themes for Windows, MacOS, and Linux. It supports reading cursors from svg, xcur, cur, ani, and all image formats supported by the Pillow imaging library. Also includes a GUI for easily modifying cursor projects.

Installing

Packaged Binaries:

If you would like to avoid going through the process of installing from source, pre-built binaries have been provided on the releases page. Just download the one for your platform, extract the zip file, and run the executable inside the extracted folder.

Releases Page: https://github.com/isaacrobinson2000/CursorCreate/releases

From PyPI:

CursorCreate is also avaibable on PyPI. To install it, exectute one of the commands below:

# For only command line support:
pip install CursorCreate
# For additional GUI support:
pip install CursorCreate[gui]

Once it is installed, it can be executed using the CursorCreate command in the shell:

# Launch the GUI:
CursorCreate
# List all command line options:
CursorCreate --help

From Source:

To install CursorCreate from source, you will need the following dependencies:

  • CairoSVG
  • Pillow
  • numpy
  • PySide2

Once all of these dependencies are installed in your python environment (using a virtual environment is recommended) you can pull down this repository using a git clone as below:

git clone https://github.com/isaacrobinson2000/CursorCreate.git

If you are attempting to package CursorCreate for your platform, you will need PyInstaller installed to the virtual environment, and staticx installed on the global python environment if you plan on building on linux. Use the build scripts provided with this project, as the binary will not have all of the required files and dependencies packaged with it otherwise.

Example Theme

This program also comes with a template theme, but due to separate licensing the template theme is kept in a separate repository. Follow the link below to get the template theme:

https://github.com/isaacrobinson2000/CursorCreateTemplateTheme

How to Use

To launch the GUI, simply execute the CursorCreate entry file, as below:

# If you installed via prepackaged binary (Have to be in the same directory as the executable):
./CursorCreate
# If you installed via PyPI (pip install):
CursorCreate
# If you are running it from source:
python CursorCreate/cursorcreate.py

In the GUI, images can simply be dragged and dropped onto the cursor selection widgets in order to load them in. The hotspots and delays of animation frames can be modified by simply clicking on the cursor, as shown below:

GIF of dragging images... GIF of modifying hotspots and delays...

To save a project, click the "Save Project" button, which will copy the source image files over to the user selected directory and generate a 'build.json' which tells CursorCreate how to turn the image source files into cursor themes for each platform.

For static images and SVGs, the animation frames are expected to be stored horizontally as squares side by side.

Note that CursorCreate is also capable of doing several actions from the command line, including building cursor themes. To see all the supported command line operations, execute the command below:

# If you installed via prepackaged binary (Have to be in the same directory as the executable):
./CursorCreate --help
# If you installed via PyPI (pip install):
CursorCreate --help
# If you are running it from source:
python CursorCreate/cursorcreate.py --help

Bugs/Issues

This software is currently in beta, and therefore may have some bugs. If you run into any issues, feel free to open an issue on the GitHub issues page.

Future Goals

  • Create a setup.py for CursorCreate
  • Add progress indicators when building cursors or performing any other action.

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

CursorCreate-1.3.0.tar.gz (36.4 kB view details)

Uploaded Source

Built Distribution

CursorCreate-1.3.0-py3-none-any.whl (55.9 kB view details)

Uploaded Python 3

File details

Details for the file CursorCreate-1.3.0.tar.gz.

File metadata

  • Download URL: CursorCreate-1.3.0.tar.gz
  • Upload date:
  • Size: 36.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for CursorCreate-1.3.0.tar.gz
Algorithm Hash digest
SHA256 4052f5c299b973155d472c3fda270085fdc353c38cd94f9ccb6d804698d064ba
MD5 38bd397c693625f3b7c374d917b37d31
BLAKE2b-256 ac2d0064d05bdeb04f4b7c5c06f2ebbb0e9de98fac298531b2b5f7ca8083557f

See more details on using hashes here.

File details

Details for the file CursorCreate-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: CursorCreate-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 55.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

File hashes

Hashes for CursorCreate-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5e40073a68bb41d9ba478f18b706af17e06de5d1ad61993ef01ebb97f1bee388
MD5 42754cce39c5939c22443fde0664a44b
BLAKE2b-256 231df2cec2c6efd2aeab7a5656b26aff62955a62301b15e33a2c094d38cbf86b

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