Skip to main content

Pygame project for simplifying page and menu creation while still leaving full controll

Project description

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

https://python-pyggui.readthedocs.io/

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyggui-0.0.1.tar.gz (59.3 kB view details)

Uploaded Source

Built Distribution

pyggui-0.0.1-py2.py3-none-any.whl (57.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pyggui-0.0.1.tar.gz.

File metadata

  • Download URL: pyggui-0.0.1.tar.gz
  • Upload date:
  • Size: 59.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pyggui-0.0.1.tar.gz
Algorithm Hash digest
SHA256 44781991719bbc789af1da6dfb5e05483976f6055654707cd133761f7ad0ae00
MD5 d9bd0e7ca705a981ef35d5a8c655f4db
BLAKE2b-256 6d7bd393c4f937c1d329da85b8a091cebcfce5bc4e3f2227f83db8069dffd9ab

See more details on using hashes here.

File details

Details for the file pyggui-0.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: pyggui-0.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 57.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for pyggui-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 43ee89979a9a4724cede6905b85637abc3e740ce13f9a5d5371e04afddf659c1
MD5 583f7f0838289a9c8edc803821b64392
BLAKE2b-256 d5abd3406b50a9843671e27173e076599d1abcb31be59096eef1a0e71372931d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page