Skip to main content

A framework for building hierarchical GUIs

Project description

# Introduction

hgf is a hierarchical GUI framework for Python, built on top of Pygame. It is designed to ease the creation of graphical applications that,

  • Support external configuration - controls, options, style

  • Manage structural complexity - by composing simple elements

  • Separate major concerns - behavior, layout, appearance

With code that is easy to read, write, and extend, with minimal boilerplate.

hgf is currently version 0.2.2, pre-alpha. The API may be volatile, but any changes to it will be made in an effort to better manifest these design principles.

## Using hgf

### Documentation

You can read the online documentation [here]( (outdated and incomplete).

### Dependencies

  • Python 3.x

  • Pygame 1.9.2+ (should be handled by pip)

  • pyperclip (should be handled by pip)

### Installation

hgf is available on [PyPI](, so you can install the latest version using [pip](

pip install hgf

### License

hgf is licensed under the [Apache 2.0]( license, so you are free to use, distribute, and modify it.

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

hgf-0.2.2.tar.gz (28.8 kB view hashes)

Uploaded source

Built Distribution

hgf-0.2.2-py3-none-any.whl (47.3 kB view hashes)

Uploaded 3 6

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