A Python gui library based around Pygame, meant for simplifying gui development for menus on simple pixel art games (or other types of games). Designed for customization and simplicity. Although the library comes with pre-designed gui items, each can be customized and its functionality personalized to fit your needs.
Start with creating the main Game object, specify your global settings (such as screen size, FPS cap, …), run the main game loop from it. Create your custom page, add items to it, custom event handlers and more. It will be auto-imported and loaded into your game.
Your game needs its own loop for optimization reasons? No problem, create a dummy page and run your loop from there. Keep page, menu and item logic separated and tidy.
See https://python-pyggui.readthedocs.io/en/latest/usage.html for basic concepts.
Free software: MIT license
Installation
pip install pyggui
You can also install the in-development version with:
pip install https://github.com/15minutOdmora/python-pyggui/archive/main.zip
Documentation
Development
To run all the tests run:
tox
Note, to combine the coverage data from all the tox environments run:
Windows |
set PYTEST_ADDOPTS=--cov-append tox |
|---|---|
Other |
PYTEST_ADDOPTS=--cov-append tox |
Changelog
0.0.0 (2021-12-24)
First release on PyPI.
Metadata
Release files for pyggui 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyggui-0.0.1.tar.gz | 59.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyggui-0.0.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 117.1 kB
Release files / pyggui-0.0.1.tar.gz
| Download URL | pyggui-0.0.1.tar.gz |
|---|---|
| Size | 59.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
44781991719bbc789af1da6dfb5e05483976f6055654707cd133761f7ad0ae00
|
|
BLAKE2b-256 checksum How to use checksums |
6d7bd393c4f937c1d329da85b8a091cebcfce5bc4e3f2227f83db8069dffd9ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.5
|
Release files / pyggui-0.0.1-py2.py3-none-any.whl
| Download URL | pyggui-0.0.1-py2.py3-none-any.whl |
|---|---|
| Size | 57.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
43ee89979a9a4724cede6905b85637abc3e740ce13f9a5d5371e04afddf659c1
|
|
BLAKE2b-256 checksum How to use checksums |
d5abd3406b50a9843671e27173e076599d1abcb31be59096eef1a0e71372931d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.5
|