Skip to main content

vui

vui is a cross-platform GUI framwork, built on top of Pyglet. It is currently in early stage of development. The aim is to build a simple pythonic API that could be used to build UI apps and games.

The framework is built around the hierarchy of UI elements represented by classes inheriting from View. A view class can be attached to a (single) Pane object. Pane is a simple class representing a rectangular area in the window. This class also plays the role of host for mouse events.

Some of the views can contain other views. Such views are called "layouts". A layout class is a View that contains the logic of subdiving its pane into panes for its children.

Various UI classes are glued together with Observable values and attributes. Functions and methods can be registed as listeners to an observable value. These listeners are called whenever the value is changed. Most attributes of UI values are observable, including pane dimentions, mouse position and so on.

In addition to Observable vui makes use of events module forked from Pyglet events. As a rule, whenever an event can be thought about as changes of some value, it should be represented as Observable. But some events like on_draw don't fit this model and are represented as events.

Metadata

Release files for vui 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vui 0.0.4
File Size Uploaded
vui-0.0.4.tar.gz 20.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vui 0.0.4
File Interpreter ABI Platform
vui-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 43.9 kB

Release files / vui-0.0.4.tar.gz

Download URL vui-0.0.4.tar.gz
Size 20.5 kB
Tags Source
SHA-256 checksum
How to use checksums
bb1639789b53c11ad8329f47ce427a115286887eb306f7ce687a9e39bbcf57a6
BLAKE2b-256 checksum
How to use checksums
94118319859c0b7319f20fa62b3dc5e1adf2c7738a8818d7adcf8b91f5f0aadf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.2

Release files / vui-0.0.4-py3-none-any.whl

Download URL vui-0.0.4-py3-none-any.whl
Size 23.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b4ffdb0f717b7089512639e2c96a719a8390f41ebc0c54f502f1af8292687d76
BLAKE2b-256 checksum
How to use checksums
5eabed1fb26226523dcbf03db65e3b5287d5386bc5cb6b2d3573eb119f98a74d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.2

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page