Shortcut is a cross platform command line application and API for creating shortcuts.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
shortcut
.gitignore
LICENSE
README.rst
setup.py

README.rst

Shortcut

Latest Version Docs

Shortcut is a cross platform command line application and API for creating shortcuts.

shortcut will do its best to find your app, searching for the usual suspects in the usual places (i.e. those in the PATH), or you can give it a full path.

To create desktop and menu shortcuts for python:

  • Using the app:

    shortcut python
    
  • Using the Python API:

    from shortcut import ShortCutter
    s = ShortCutter()
    s.create_desktop_shortcut("python")
    s.create_menu_shortcut("python")
    

It was created to solve a simple problem - if you install a python package using pip there is no simple way of creating a shortcut to the program it installs.

Documentation

There is comprehensive documentation at shortcut.readthedocs.io.

Install

Shortcut is available on pypi and can be installed using pip:

  • Windows

    pip install shortcut
    
  • MacOS

    pip3 install shortcut
    
  • Linux

    sudo pip3 install shortcut
    

Status

Alpha - tested and works but issues maybe experienced and API changes are possible.

It should work with Windows, MacOS and Linux operating systems.