A collection of classes to create GUI's and more based purely on pygame (https://www.pygame.org/news). Primarily supports python 3, but python 2 is also supposed to work with this. (Works with both pygame 1.9.6 and pygame 2.)
This is a byproduct of a larger, currently unactive and incomplete project. The classes now in PyGVisuals were developed by Impelon and kjkriegel.
Note: Impelon currently maintains this project
The project is (hopefully) well documented and includes most basic widgets.
- Homepage
- Documentation
- GitHub
- Also check out Pygame GUI for a more modern and extensive GUI Library for pygame
Suggestions (& requests), bug-reports and contributions are welcome. If you have any ideas how to help me with this please comment on the respective issue.
I would be happy to see you use the contents of this repository. You are encouraged to open up a page on the Wiki showing how you use PyGVisuals in your projects.
A screenshot taken from the bintree-gui example
According to the BSD-Licence PyGVisuals is using, you can use the contens of this repository to your liking as long as you follow the licence's terms and conditions. If you want to include PyGVisuals or parts of it in your own project, include the files you need into your project's package (be sure to also include the license). You can also install pygvisuals via pip from source. See down below.
Currently to install this to your python-modules you need to download the project's sourcecode. This can be done automatically via pip:
pip install git+https://github.com/Impelon/PyGVisuals.git
Or you can manually download it from GitHub or via git.
- Download source and change directory into source:
git clone https://github.com/Impelon/PyGVisuals.git && cd PyGVisuals
- You can now test the library. Try out the examples via the start-script:
python start_example.py
- Additionally you can install your desired branch with this. List all available branches:
git branch
- Switch to desired branch:
git switch <branch>
- Install from current directory via pip:
python setup.py install
If you need help with using PyGVisuals, you can open an issue and I will try to help. Also if you need any other features, you can also open an issue and add the label 'request'. I will work on new features that I thing are worth adding.
Currently, because PyGVisuals is not actively used anywhere (I do not even use it myself), I do not have much motivation to add new features without any reasons.