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.31.1b1.tar.gz
(2.4 MB
view hashes)
Built Distributions
Close
Hashes for pyglui-1.31.1b1-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba217016822464dd6e79f1a2bd1a19c52d05f28d9dee5e4a825e2510c0c63a65 |
|
MD5 | 5ae7f90cd04a3cc954b38bb355b9b6a6 |
|
BLAKE2b-256 | e8173e2df21f94e86240751b97439c9eded1f798beb7597a605458571ac9ed5a |
Close
Hashes for pyglui-1.31.1b1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0db4d974c2f081794e852b63ff60f8bdd238a58f39f9ff77989d801beef3ee35 |
|
MD5 | 0f07eb82c86dc89191a4532df276f068 |
|
BLAKE2b-256 | d735310117e29493f6abfc91addb833d5a579356c8ba64bbdc92781ef99e0a00 |
Close
Hashes for pyglui-1.31.1b1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d4484a686eb8bd1aa4012470dd0a23ce1d64482f5e413f5d598e579161751a0 |
|
MD5 | f5c63f888129a390fd804fe7710a5661 |
|
BLAKE2b-256 | e3cc455884667ef8edd1d3cd5547fdd7f5e7c647f619839f9c95461062f3f79c |
Close
Hashes for pyglui-1.31.1b1-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 151a035c8537e9aca7b2740e85f089f82d0f3e94e00e6d8921cf352c9df2a65f |
|
MD5 | e9267835fe6466db5a5c4d4cba137968 |
|
BLAKE2b-256 | caf36a9161910ec93abde54e04644e7a0a6485e68372debe91425be5f872f278 |
Close
Hashes for pyglui-1.31.1b1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea4a0ca70e47c52782db02119b37804bfa39cad3ec950d4dbe9bd68fe3996517 |
|
MD5 | fa4ded46dd80231ec386c05d11a83e92 |
|
BLAKE2b-256 | 53d9188952616818f8801c19d0895c304639229a426c62a695dfe385a5ff5d02 |
Close
Hashes for pyglui-1.31.1b1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce0d39bfc034d11ff017e70fc94b636710d70a924dafd5a3618f31a8c3db8604 |
|
MD5 | 89fb3556959d8c19a89130641dcfe40b |
|
BLAKE2b-256 | 039624a9256e3895f0668d257c5b5649bdc27de3594e7faf468b63ce39ccae7d |
Close
Hashes for pyglui-1.31.1b1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 509bfb670a93ab077495587fb3d5ab2d084e72cb341bb9030c1f2ee034494458 |
|
MD5 | 351b598a299869a4af9b62a7538e6dd8 |
|
BLAKE2b-256 | d0b00f5b8802a58b923e045beb2343bd2a8013fbcb9ef2600aa141cfc4b46e21 |
Close
Hashes for pyglui-1.31.1b1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51222b2c51ce10fc4ccbf502f523e771b6afa52589dfe223bdf7c92fdb91c4cf |
|
MD5 | eb7af996ec6798b04be1f54ecabf06d2 |
|
BLAKE2b-256 | 0107b443203e689c201bb32c537bc48a80bdd70d5a3f1c6c99ca6decfb7c79c6 |
Close
Hashes for pyglui-1.31.1b1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecc76707cef67cfac51940816696a11bc9db34e617bd06a2208e7f2c58ede706 |
|
MD5 | 58e92ec0152e051aeffb4156b74fa69b |
|
BLAKE2b-256 | ac9063fbd25ceb1ba965d2d791d6ec5b494570dcec033eb76dfdc3801b5594fe |
Close
Hashes for pyglui-1.31.1b1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c20883e2904ba9973e9afe5dcf307450c0557aebbdbb85766ff2604581e41b58 |
|
MD5 | c06100b69e326c3c64f633e36fb21a60 |
|
BLAKE2b-256 | 95018eab007fd02491e470cfcb4d11da288235dba44d71a83d1ff5483757330d |
Close
Hashes for pyglui-1.31.1b1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 806df1fe092e81d812fdee8ccc574d852db5b4917c2680cc1d9f319a7fd0043c |
|
MD5 | 5f8ecd189cd1b2584266f5eba2f0a856 |
|
BLAKE2b-256 | 8f79a4cb54be7cb3049a33d51f1f354076fd1d69d8daee592c33b4e1e2801be0 |
Close
Hashes for pyglui-1.31.1b1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2575dd3becf4e4bde677bd8c1e9ac200a82da5d64fece02a3c2b6c9acc9d04ef |
|
MD5 | 32d157b3cef4131a5f5b1a591d10081b |
|
BLAKE2b-256 | 4de29fc496aac75771bfcd253f15973e17dc148851c2012cb6c1fbc0557da03a |
Close
Hashes for pyglui-1.31.1b1-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31a808c3e2d5b14a90ac652242cf5f7d19ae92f7bc6eb1ca4ad177c95ceaa20b |
|
MD5 | 84c529bd30be5b197dbcd13f2b7c18a5 |
|
BLAKE2b-256 | e0a8093b6bd29b69bbb2a13ff28898d1a12a1643f70cb030496cd085ab80ff87 |
Close
Hashes for pyglui-1.31.1b1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eefb3c46e8682dbd368988b1ddaa6ab706fe941cc1f70d922bf7261512ee96ca |
|
MD5 | ae3e6a0733cc3c1f7eb3643e94c9789c |
|
BLAKE2b-256 | d0cef117def19b4361de83b81d5418ff2bebc21516f6d1f4fce0e47c0cea391f |
Close
Hashes for pyglui-1.31.1b1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b62ff3ebfdb6a57715805fdaf42dd3eb9743e4d99fd752196cf957c9a4e4bf5 |
|
MD5 | f11007e66ca13efac11d04610583ab63 |
|
BLAKE2b-256 | 3364c3f2ad677c83deb52883b298f149cb5a0336519845c407193de6a35c8f08 |
Close
Hashes for pyglui-1.31.1b1-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8c529fa79992a788681b0c3678f7c2d5165ea38601443709227c79cd1e8d084 |
|
MD5 | 64e3f70067f7a09c79ac99976f5f5cb0 |
|
BLAKE2b-256 | 109f68f3b911cbd799d2815e5ee6eddd0db4ba01a5648e234080c799f58f3906 |
Close
Hashes for pyglui-1.31.1b1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc6a5b170cab6d653103317fa971b0e82f06eb4470551bf38d55276e87696d6e |
|
MD5 | 417071ec876aa4019ed198deb4694d07 |
|
BLAKE2b-256 | ebdca07681b2d2f8e5fd3e3a6f51ff869e172446e99e2fe8edf288256ca623ee |
Close
Hashes for pyglui-1.31.1b1-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b107453e7542c9f8f3d9cc85edac0f843b6015919ef8756b53996057c264120e |
|
MD5 | dc77dc84ea589e24bddbfc2b025b8d75 |
|
BLAKE2b-256 | cbd979046727e6312dff7fbf223804f25123a04df2b18d1bb7adee111df1bb2a |