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.0.post1.tar.gz
(2.4 MB
view hashes)
Built Distributions
Close
Hashes for pyglui-1.31.0.post1-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c632d232c188f1177ba896d44c37f78a87903aedbe0603953427ba563b740ded |
|
MD5 | 4c30095b3297b105ab693c61e269f8a9 |
|
BLAKE2b-256 | cf69882a906ff4bdcc01589f4296cfad57bb6f8988cf28ee7411eff1d5520e70 |
Close
Hashes for pyglui-1.31.0.post1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69fc5774d5a759cd7d8fb2612c15d17e66f1ea8ae9404ad86a42943994daf1f8 |
|
MD5 | 556d192f7f0e6515b6d5dfa7f366b49e |
|
BLAKE2b-256 | 2c5e7a2d44d6244c1deb17fba3fde9009437a8bf127403f8543e5efca345d1a9 |
Close
Hashes for pyglui-1.31.0.post1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5c5fa91600e96d37da250aa481b69791c06650f78d008fb34f1bee596093fc0 |
|
MD5 | 4a219571bbfedab9c0470e636ad49d8f |
|
BLAKE2b-256 | c89c971fe40c9ff198c210868db08286f2c4551a8c86333b2b91519b464a8cf5 |
Close
Hashes for pyglui-1.31.0.post1-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e64ef022b5ad14681d75c769230e03322640116841d84816ff1cb5a9567c97c6 |
|
MD5 | 7f7a2f03532f62cbb879a4099e51172a |
|
BLAKE2b-256 | ddd974f275f7baa8e1b5ae3b8ec3389d9160c2b4bdf7ba47b88bd81b8dded9e5 |
Close
Hashes for pyglui-1.31.0.post1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a705308ae14bc32babc3873db6943984d39f911bd023dc19b3a3bc7eb694e36 |
|
MD5 | a97d21e558aa207f76ef495142ae0f69 |
|
BLAKE2b-256 | 42eaff4dcb65b3113c71dd6269317d1dba1d5b243187da225c1659bd8655487d |
Close
Hashes for pyglui-1.31.0.post1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 579af71cb5faeacd7da8cf3d61369269a1931e61c205f387f1ebb94b322e39e6 |
|
MD5 | 429ea087cac2878a39b0ad5179f35cef |
|
BLAKE2b-256 | 52eecb6afb5a92152cbe981edaee75641a0a2d77dbb03d96b88ebfc4cab4f3ff |
Close
Hashes for pyglui-1.31.0.post1-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ceedb56c2204bdf145dab80a4a3cb0f6cd0d4d4186a257b807e31c90294bccd |
|
MD5 | bbdcc287e085c0676ee124d09f8f1d00 |
|
BLAKE2b-256 | 3e08a707222dad7382e3f3f0ba0977f186aa7f4c4534262fcbc4c759d305483c |
Close
Hashes for pyglui-1.31.0.post1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4205e85b66f19fb8cd1f4459b9fce49e03cf3fc0d7b622ef2f75323ad66f60aa |
|
MD5 | 8ac906f943162a009c272d2ebe329ebd |
|
BLAKE2b-256 | 188bd80cca780b502cb183938a24dfc000c46b88580d3e4f5ae0283b4f58a4ab |
Close
Hashes for pyglui-1.31.0.post1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b63102bbd07edb9f16d6763bbfc71f31a989ae67664b1d4fd22a45a104236500 |
|
MD5 | 15d8c40779221f6c69f170c8e2a13904 |
|
BLAKE2b-256 | 0688e0a939fc91e2dd3f6821a24ff47d3e13ccc38dc2d9da74dc0b110a216394 |
Close
Hashes for pyglui-1.31.0.post1-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d02da8fa02c32d775586f2751a5cc0cd40ede661bb90504239e1f16b64e4c6f8 |
|
MD5 | 1a13111e87b892da6c1c7fc629d1be7c |
|
BLAKE2b-256 | 6dc3da60849c707210be3e613569bda90f3a1f9e64d011d34266cf25d598a1b4 |
Close
Hashes for pyglui-1.31.0.post1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b9ddb0b5104a8a4c2fdd7eec501f71da660fbf41070986f15bd969d743513b7 |
|
MD5 | 1017ac80a8579391a8045d283d676c68 |
|
BLAKE2b-256 | 3316f636a2d68096f1554d0186f06ff25c768ad86a58550dac4183ae11a60918 |
Close
Hashes for pyglui-1.31.0.post1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d22bd0ea2cd5645ff6fa570f4bc2376d5b8c99ead3e55917417a114d46284ba7 |
|
MD5 | 27bf04257bd75f1c521baee4365fc0dc |
|
BLAKE2b-256 | 06b56fc8f0de85e858a51183442159c074fa1f0c3a968a3e6d7c2437d479cc68 |
Close
Hashes for pyglui-1.31.0.post1-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d895595b7f7c1e910908ef45fccee1e1297003170e7fc48a40e6f38e97ff871b |
|
MD5 | ebec4292d961229347c1dc7861a0e20d |
|
BLAKE2b-256 | 841ef525fa8aca7b58ada3f4e09de1e9e1e989c595179c863454f6454b471d4d |
Close
Hashes for pyglui-1.31.0.post1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0eecf0992be270df330eea946d00200177d397c2cbd1f42d4bda1c95e83454c8 |
|
MD5 | 0d034a2bdb88c3b7cd6be3ce4b3e8663 |
|
BLAKE2b-256 | 829bbbda29370916f8fadb87a0adcadffffdf7f6b7778531f10e941ddc124977 |
Close
Hashes for pyglui-1.31.0.post1-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b318a53c862ef24929bdc20878a6df49ff579583e806cb02089c7703d2a9cc4 |
|
MD5 | 1afed111583d116401c124c53b3cdee1 |
|
BLAKE2b-256 | c49aa84bb07655c961a1b0be841a5d2177a000712622ab7e866273d985f6883e |