OpenGL UI powered by Cython
Project description
pyglui
Cython powered OpenGL gui.
-
Similar to AntTweakBar but truly python compatible. No need for ctyped variables.
-
Uses render-to-texture for ulta low cpu use when static.
-
Designed to be used with glfw but should run with other window managers as well.
-
Includes pyfontstash for rendering text.
-
Includes cygl to access GL functions (which in turn uses GLEW)
-
cygl and pyfontstash can also be installed separately but are hosted in this project for convenience.
Installation
pip install pyglui
Source installation
Dependencies
- install
glew
Linux (via apt-get)
sudo apt-get install libglew-dev
Linux (via yum)
yum install glew-devel
MacOS
brew install glew
- install pyglui
python -m pip install git+https://github.com/pupil-labs/pyglui
Source code
# Clone the repository to the local filesystem
git clone http://github.com/pupil-labs/pyglui --recursive
cd pyglui
# Build and install `pyglui` in "editable" mode
python -m pip install -e .
Run the demo
# Clone the repository to the local filesystem
git clone http://github.com/pupil-labs/pyglui --recursive
cd pyglui
# Build and install `pyglui` in "editable" mode, with examples dependencies
python -m pip install -e ".[examples]"
# Run the demo example
cd example
python3 example.py
Demo screenshot as of 2017-12-19
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyglui-1.30.1.tar.gz
(1.7 MB
view hashes)
Built Distributions
Close
Hashes for pyglui-1.30.1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d4dc8ba16f672369227067e503b928b348dcbb7d5a598e661f1091c4e4db20f |
|
MD5 | ae8f030caabd0ba7101b8abb5a08ba39 |
|
BLAKE2b-256 | 2c81c48b9ef1226b261de8300d44b4ad91349cd903d82d3bdb5449ea29f61a36 |
Close
Hashes for pyglui-1.30.1-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 429f54e001d690405340143685156646b413585f1249ca4a46eb3a353ce4333f |
|
MD5 | 5688fc49efe160260c7df48db5d9666e |
|
BLAKE2b-256 | 829b080c6fcb2ea8e3ed51036f871ed18a4b4fde23fff481c89979d3d3cf62e4 |
Close
Hashes for pyglui-1.30.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65f1f86b42aa52b549950760d7dd096149e31a8e41b9ae306535284dedae9d21 |
|
MD5 | 4081cc80ce35479296522458420dbe1b |
|
BLAKE2b-256 | e52ce3362151235d881f03e8a74aa234fac57b39431fb4be8d687195aeb3d58d |
Close
Hashes for pyglui-1.30.1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0571b6b47cb31625d3abacf57c0d4cffeead65192263800413a7ce0150114da2 |
|
MD5 | 6a1ace33966327fd396edb7951596893 |
|
BLAKE2b-256 | 6206dc0d182865cfd54ab8b3c2ab04032551cff885fe53a514ad01fc61d8b07e |
Close
Hashes for pyglui-1.30.1-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d14b5068db9800bf50930eb1e9ae6fea0f38798107e568205d8d618fe7b2e2e5 |
|
MD5 | a7ca3e82ed06cffed49cc7942699dfc5 |
|
BLAKE2b-256 | eaf4d08af7aa8288568f1e7f5511692f226c0c3f5ef662d66e742059249a5476 |
Close
Hashes for pyglui-1.30.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ddb0519d4a92aa4eb951a707e926dffd769b23a21b48bf09c28121077a404fae |
|
MD5 | cd83de9979508e079772add002abda78 |
|
BLAKE2b-256 | 44bd6e2bd37263131e8f452a860d0e98803a1ce717d4f217c7d58f647548cc8a |
Close
Hashes for pyglui-1.30.1-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 447582407a02c0279b39feb1699ded3a6dd1bbfcd033ef27020d8fbf2e594fd2 |
|
MD5 | 3d489a59ca1b4e73bd46622d29b19a9f |
|
BLAKE2b-256 | 3334293aa33047da55554fe472f90bc351287a652ab4b633767ff9b6db6691ac |
Close
Hashes for pyglui-1.30.1-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4af7d8d81332037e09a45c25110603ee4a67862bf03217f4a7a4a21df38c1fc9 |
|
MD5 | 5342ac3cb2f3e663a48ca5c35308847b |
|
BLAKE2b-256 | 96a9e501099f2d7b68f3c993d18faccc0e142bcf507b064b872d6e0d44739bc4 |
Close
Hashes for pyglui-1.30.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9f432fd17fe64b780b8a1e4f281e89f6b59fae7213d0425007a149a2c3879c1 |
|
MD5 | 8d967b3b77fc68ba2a0711e67331d285 |
|
BLAKE2b-256 | c66ab7e502ac38a80ceac3ada59ca0d01f28bd40fa645582ec90966e01ee96b3 |
Close
Hashes for pyglui-1.30.1-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ca986be1693d65d6f674f6284133302abd5535165737628cc7f7c694076cf9c |
|
MD5 | 3f285444328992d831d0872026f14be3 |
|
BLAKE2b-256 | 79c93ff2bcdf0bb4ebc33b8a5175645994a7610c0d3f9d5a058f7af18155e377 |
Close
Hashes for pyglui-1.30.1-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 179edcfc7f61677a0dbb58ca673e0d4bb232eab320cc687d3f569a1ccc105faa |
|
MD5 | 004f45a39d46e5573559883c3591cf49 |
|
BLAKE2b-256 | 7f07c8c13087899abe8fedcd3394102104d98a2160787e33ba3a679f99aae112 |
Close
Hashes for pyglui-1.30.1-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89d98bde5d7db681ea5d32b19667d70971d5c9bdd663ddd5563613a9d025e034 |
|
MD5 | 5bd45a767ba776cc63e6ceb2eb9d0905 |
|
BLAKE2b-256 | d7c86ce3653fc4fdf3f8e89e98b128af8cf5c19ac9dc4acfcb31b6463a923e5a |