pyshortcuts | create desktop shortcuts to python scripts
kandi X-RAY | pyshortcuts Summary
kandi X-RAY | pyshortcuts Summary
pyshortcuts is a Python library typically used in Electron, macOS applications. pyshortcuts has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can install using 'pip install pyshortcuts' or download it from GitHub, PyPI.
Pyshortcuts helps Python developers and users create shortcuts that will run python scripts and other applications. The shortcuts created can go onto the users desktop or into the Start Menu (for systems with Start Menus) or both. Pyshortcuts works on Windows, MacOS, and Linux in the way that is most natural for each OS. On Windows, a Shortcut Link is created and placed on the users Desktop and in the Start Menu. On MacOS, a minimal but complete Application is created and placed on the users Desktop. On Linux a ".desktop" file is created and placed on the users Desktop (if that exists) and in $HOME/.local/share/applications (if that exists), which will often get presented in a Start Menu for windowing desktop themes that use a one. On all platforms, the shortcuts created on the Deskop or Start Menu can be put either directly onto the Desktop / Start Menu or in a sub-folder of the Desktop / Start Menu. Special attention is given to Anaconda Python. On Windows, this means the program linked to by the shortcut will be run in an Anaconda environment, explicitly selecting the "base" environment even if that has not been explicitly set. On MacOS, the shortcut will make sure to use the python.app application so that GUI programs will be able to draw to properly draw to the screen. By writing only to the users Desktop or application folder that gets read by the Start Menu, there is no need for elevated permission and no writing to system-level files (registry entries, /Applications, /usr/bin, etc). After the shortcut has been created, the user has complete control to rename, move, or delete it. Shortcuts can have a custom icon (.ico files on Windows or Linux, or .icns files on MacOS) specified, defaulting to a Python icon included with pyshortcuts. Pyshortcuts is pure python, small, easy to install, and easy to use from a python script. This means that Pyshortcuts can be made part of an installation (or post-installation process) process for larger packages.
Pyshortcuts helps Python developers and users create shortcuts that will run python scripts and other applications. The shortcuts created can go onto the users desktop or into the Start Menu (for systems with Start Menus) or both. Pyshortcuts works on Windows, MacOS, and Linux in the way that is most natural for each OS. On Windows, a Shortcut Link is created and placed on the users Desktop and in the Start Menu. On MacOS, a minimal but complete Application is created and placed on the users Desktop. On Linux a ".desktop" file is created and placed on the users Desktop (if that exists) and in $HOME/.local/share/applications (if that exists), which will often get presented in a Start Menu for windowing desktop themes that use a one. On all platforms, the shortcuts created on the Deskop or Start Menu can be put either directly onto the Desktop / Start Menu or in a sub-folder of the Desktop / Start Menu. Special attention is given to Anaconda Python. On Windows, this means the program linked to by the shortcut will be run in an Anaconda environment, explicitly selecting the "base" environment even if that has not been explicitly set. On MacOS, the shortcut will make sure to use the python.app application so that GUI programs will be able to draw to properly draw to the screen. By writing only to the users Desktop or application folder that gets read by the Start Menu, there is no need for elevated permission and no writing to system-level files (registry entries, /Applications, /usr/bin, etc). After the shortcut has been created, the user has complete control to rename, move, or delete it. Shortcuts can have a custom icon (.ico files on Windows or Linux, or .icns files on MacOS) specified, defaulting to a Python icon included with pyshortcuts. Pyshortcuts is pure python, small, easy to install, and easy to use from a python script. This means that Pyshortcuts can be made part of an installation (or post-installation process) process for larger packages.
Support
Quality
Security
License
Reuse
Support
pyshortcuts has a low active ecosystem.
It has 83 star(s) with 14 fork(s). There are 6 watchers for this library.
It had no major release in the last 12 months.
There are 8 open issues and 24 have been closed. On average issues are closed in 156 days. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of pyshortcuts is 1.9.0
Quality
pyshortcuts has 0 bugs and 13 code smells.
Security
pyshortcuts has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
pyshortcuts code analysis shows 0 unresolved vulnerabilities.
There are 2 security hotspots that need review.
License
pyshortcuts is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
pyshortcuts releases are available to install and integrate.
Deployable package is available in PyPI.
Build file is available. You can build the component from source.
Installation instructions, examples and code snippets are available.
pyshortcuts saves you 314 person hours of effort in developing the same functionality from scratch.
It has 758 lines of code, 35 functions and 11 files.
It has high code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi has reviewed pyshortcuts and discovered the below as its top functions. This is intended to give you an instant insight into pyshortcuts implemented functionality, and help decide if they suit your requirements.
- Command line interface for creating shortcut
- Fix pythonw to fix python code
- Create a shortcut for the given script
- Fix filename
- Return a UserFolds instance
- Get the start menu
- Return the desktop path
- Return the home directory
- Create a shortcut
- Open a file dialog
- Read the form
- Return the current working directory
- Open file dialog
- Opens a file dialog
- Event handler
- Return the active conda environment
- Create a shortcut
Get all kandi verified functions for this library.
pyshortcuts Key Features
No Key Features are available at this moment for pyshortcuts.
pyshortcuts Examples and Code Snippets
from pyshortcuts import make_shortcut
make_shortcut('/home/user/bin/myapp.py', name='MyApp', icon='/home/user/icons/myicon.ico')
~> pyshortcut -n MyApp -i /home/user/icons/myicon.icns /home/user/bin/myapp.py
~> pyshortcut -n MyApp -i /home/user/icons/myicon.icns "/home/user/bin/myapp.py -t 10"
pyshortcut [-h] [-v] [-n NAME] [-i ICON] [-f FOLDER] [-e EXE] [-t] [-g] [-
Community Discussions
No Community Discussions are available at this moment for pyshortcuts.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install pyshortcuts
To install pyshortcuts, use. On Windows, pyshortcuts requires the pywin32 package and will be installed automatically if needed. In order to use the pyshortcut GUI, the wxPython package is required.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page