Python Automation tool for building PySide6 UI and PyInstaller EXE.
Project description
🛠️ sidetool
sidetool is a command-line utility and helper module that simplifies execution and building PySide6 Python 3.7+ applications into executables using PyInstaller 5.8.0.
It's especially useful for GUI projects that need embedded resources (e.g., .ui, .qrc) and aim to produce portable .exe builds with minimal setup.
❤️ Why Use sidetool?
If you build windows desktop apps using PySide6 or PyQt, sidetool:
- Saves time when converting
.uiand.qrcfiles - Simplifies PyInstaller builds
- Packages your application with minimal commands
- Automates repetitive tasks like building and cleanup
- Integrates easily with
.batscripts or shell commands - Is great for both beginners and advanced developers using PySide6
🔧 Commands
1. run
Executes the Python program after recursively builds all .ui and .qrc files in the current directory and subdirectories using pyside6-uic.exe and pyside6-rcc.exe. Then run python source code.
Note: it will ONLY rebuild pyside components that are out of date, so that execution is fast as possible, yet always includes any changes. FYI: python program is run with pythonw.exe so that the terminal window does not appear.
usage: sidetool-run [-h] file
positional parameters:
file python file to run
parameters:
-h, --help show this help message and exit
2. clean
Removes temporary files and build artifacts, including:
__pycache__folders*_ui.py,*_rc.py,*.pyc,*.pyo- PyInstaller
build/anddist/folders .specfiles in the current directory
Run it like this:
sidetool-clean
3. compile
Builds your python app into an executable using PyInstaller.
- Compiles
.uiand.qrcand image resources - Generates a PyInstaller
.specfile - Runs PyInstaller with the provided options
usage: sidetool-compile [-h] --file FILE --type {onefile,onedir,console} [--icon="myicon.ico"] [--embed="sqlite3.dll"]
parameters:
-h, --help show this help message and exit
--file FILE python file to compile to exe
--type {onefile,onedir,console}
type of exe to build
--icon ICON ico file
--embed EMBED comma delimited list of files to embed
✨ Features
- 💡 Simple command-line interface for
.bator.shworkflows - 🔄 Converts all
.uiand.qrcfiles recursively - 🧹 Cleans up Python build artifacts
- 📦 Packages apps using PyInstaller
- 🛠️ Supports custom
.icoicons - 📎 Supports optional resource embedding
📦 Requirements
📥 Installation
Install sidetool helper from PyPI with following command:
pip install sidetool
📝 License
MIT License
© 2025 Alan Lilly
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sidetool-0.4.8.tar.gz.
File metadata
- Download URL: sidetool-0.4.8.tar.gz
- Upload date:
- Size: 8.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a115162cfbccd63cee1c32188147c98769d2bce9912d4b7d642524d0c437c85
|
|
| MD5 |
9f45afb9197ea52ddb81fa29b2e5daad
|
|
| BLAKE2b-256 |
64e09d55b7f48a2261961310a3bc165427edbcb6980ff681472f15926d3bacf2
|
File details
Details for the file sidetool-0.4.8-py3-none-any.whl.
File metadata
- Download URL: sidetool-0.4.8-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f82f5d40ec7cf5430f2c005f2083693774aee5117b198f52b3feab75a74dc406
|
|
| MD5 |
3f7afec595e89b84f6cc9748a1ddeedf
|
|
| BLAKE2b-256 |
e9b203eeb952e76a26b7fa305c2e59759fef8ed6bfdce0cb1a2b50c89db92e74
|