A collection of lightweight, standalone Python utility scripts with minimal GUIs to speed up everyday development tasks.
| Script | Description | Dependencies |
|---|---|---|
svg_to_android_icons.py |
Converts .svg files into a complete set of Android PNG icons (mdpi to xxxhdpi) or custom-sized PNGs. |
pymupdf, pillow |
svg2ico.py |
Converts .svg files into multi-resolution Windows .ico icons (16x16 up to 256x256). |
pymupdf, pillow |
img2svg.py |
Image Vectorizer — Traces and vectorizes raster images into scalable .svg files. |
pillow, vtracer |
desktop_shortcut_manager.py |
Linux .desktop Shortcut Manager — Creates or removes Freedesktop .desktop shortcuts and system icons. |
None (Standard Library) |
A minimal Tkinter GUI tool to convert vector .svg files into high-quality .png icons without external browser dependencies.
- Key Features:
- Generates the full Android icon set (
mdpi48px,hdpi72px,xhdpi96px,xxhdpi144px,xxxhdpi192px) directly into the target folder. - Supports single custom-resolution PNG export (from 16px up to 4096px).
- Automatically merges nested/external
.svgfiles referenced inside the main SVG. - Toggle between transparent outer background or solid white background.
- Generates the full Android icon set (
- Install & Run:
pip install pymupdf pillow python svg_to_android_icons.py
A minimal Tkinter GUI tool to convert vector .svg files into multi-resolution Windows .ico files.
- Key Features:
- Generates a single
.icofile containing 6 standard Windows icon sizes (16x16,32x32,48x48,64x64,128x128,256x256). - Automatically suggests the output path and filename based on the selected
.svgfile. - Preserves native transparency or keeps the original SVG background intact.
- Generates a single
- Install & Run:
pip install pymupdf pillow python svg2ico.py
A minimal Tkinter GUI tool to trace and vectorize raster images into scalable .svg vector files.
-
Key Features:
- Supports multiple raster input formats (
PNG,JPG,JPEG,WEBP,BMP,GIF,ICO). - Converts images into true vector
<path>curves using either full-color or black-and-white (Binary) tracing modes. - Optional toggle to automatically turn pure white backgrounds transparent before vectorizing.
- Automatically suggests the output path and filename based on the selected image.
- Supports multiple raster input formats (
-
Install & Run:
pip install pillow vtracer python img2svg.py
A minimal Tkinter GUI tool to register or remove standalone Linux executables in the desktop environment without manual file editing.
- Key Features:
- Creates standard Freedesktop
.desktopentries in~/.local/share/applications/and automatically places a trusted shortcut on the user's Desktop (xdg-user-dir DESKTOP). - Installs the selected
.svgor.pngicon into the localhicoloricon theme (~/.local/share/icons/hicolor/) and updates system icon/desktop caches. - Cleanly uninstalls all generated
.desktopshortcuts and registered icons with a single click. - Uses only Python standard libraries (
tkinter,pathlib,shutil,subprocess) with zero external dependencies.
- Creates standard Freedesktop
- Install & Run:
python3 desktop_shortcut_manager.py
This repository is licensed under the MIT License — see the LICENSE file for details.