๐ Runnable application
๐ Application configuration using .ini
files
๐ Separate requirements file for development and build
๐ Manage UI files and resources from QtDesigner
๐ Resource files and application icon
๐ Make file to set up virtualenv, run and test application
๐ Make command to generate code from QtDesigner generated .ui
files
๐ Make command to generate and compress resource files
๐ Script to generate icons from SVG file (uses Inkscape)
๐ Stylesheets for switching between Light/Dark modes
๐ Rotating log file
๐ Application data persistence support using Sqlite database
You'll need Python3.6+ to run this application.
The following make commands can be used for setting up virtual env and running the application.
Setup a new virtual env in venv folder and install all the dependencies listed in requirements/dev.txt
$ make setup
Run application
$ make run
Other useful commands
$ make help
Choose a command run in pyqt-boilerplate:
black Runs black for code formatting
clean-pyc remove Python file artifacts
clean Clean package
icns Generates icon files from svg
lint Runs Flake8 for linting
release Step to prepare a new release
res Generates and compresses resource file
run Runs the application
setup Setup virtual environment and install dependencies
uic Converts ui files to python
venv Re-initiates virtualenv
An example application icon is available in resources/icons/app.svg
.
Run the following command to generate .ico
and .icns
files.
Note that it requires Inkspace
to be available on the local machine.
Please check the following script to change location of Inkscape
.
$ ./mk-icns.sh
๐ https://github.com/gmarull/pyside2-boilerplate
๐ https://github.com/zenorocha/dracula-theme
๐ https://icons8.com