A template project for Python with Gtk applications.
Go to file Use this template
itdominator ea7d82b1bb Converted to using SqlModel as wrapper around SqlAlchemy 2023-09-23 00:12:36 -05:00
plugins Import cleanup 2023-01-29 00:06:52 -06:00
src Converted to using SqlModel as wrapper around SqlAlchemy 2023-09-23 00:12:36 -05:00
user_config Internalized default settings 2023-08-05 20:04:22 -05:00
.gitignore Converted to using SqlModel as wrapper around SqlAlchemy 2023-09-23 00:12:36 -05:00
LICENSE Initial commit 2020-05-07 19:04:09 -05:00
README.md Converted to using SqlModel as wrapper around SqlAlchemy 2023-09-23 00:12:36 -05:00
requirements.txt Converted to using SqlModel as wrapper around SqlAlchemy 2023-09-23 00:12:36 -05:00

README.md

Python-With-Gtk-Template

A template project for Python with Gtk applications.

Requirements

  • PyGObject (Gtk introspection library)
  • pyxdg (Desktop ".desktop" file parser)
  • setproctitle (Define process title to search and kill more easily)
  • sqlmodel (SQL databases and is powered by Pydantic and SQLAlchemy)

Note

There are a "<change_me>" strings and files that need to be set according to your app's name located at:

  • __builtins__.py
  • user_config/bin/app_name
  • user_config/usr/share/app_name
  • user_config/usr/share/app_name/icons/app_name.png
  • user_config/usr/share/app_name/icons/app_name-64x64.png
  • user_config/usr/share/applications/app_name.desktop

For the user_config, after changing names and files, copy all content to their respective destinations. The logic follows Debian Dpkg packaging and its placement logic.