Skip to content

xesdoog/PyImGui-GLFW-App-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyImGui-GLFW App Template

A template repository for creating Python apps with PyImGui and GLFW3.

Note

The .pyi file is only there for PyLance. If you don't need it, remove it.

Template Structure

Folders

  • /.github/workflows: Contains a GitHub Actions workflow that builds an executable then creates and uploads a release.
  • /.github/ISSUE_TEMPLATE Contains basic Bug Report and Feature Request templates.
  • src/assets/dll: Contains glfw3.dll and msvcp110.dll, essential for the GUI to work. PyInstaller tends to fail to find and append them on its own so having them here and explicitly adding them when building saves you the headache.
  • src/assets/fonts: Contains 2 free fonts: Google's Rokkitt Regular and the free version of FontAwesome v4.7.
  • src/assets/img: Contains example icon and splash images.

Files

  • src/gui.py: Contains GUI functions and custom ImGui wrappers.
  • src/logger.py: Contains a custom logger class.
  • src/utils.py: Contains general utilities.
  • example_main.py: A simple demo app.

About

A template repository for creating Python apps with PyImGui and GLFW3

Topics

Resources

License

Stars

Watchers

Forks

Languages