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.2.tar.gz
(1.7 MB
view hashes)
Built Distributions
Close
Hashes for pyglui-1.30.2-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df94d45691c8776d22d0ed02e2f49c19b4ffab242161537987fa0131968dd476 |
|
MD5 | b2f263788885d41236f86aa1a644364b |
|
BLAKE2b-256 | ab89e32a1bb3276e60f958a74befe77439dd942f01480c4b4f8f7de36ce9922c |
Close
Hashes for pyglui-1.30.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2918ee21db4e9825c9d36eccd3d6219d51b97b1436011c7c3d44a856eef496fd |
|
MD5 | 9b337a0627f4ad74ab4286b38179260a |
|
BLAKE2b-256 | 63737434e1a13642e602b32c138f67e761628d8da15b2204d3d3c7cfcb14e805 |
Close
Hashes for pyglui-1.30.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf17075ff4db5a7746e8af98cd44a52031c274debc7800eda52cca4f7a2a010f |
|
MD5 | 3ff78b33a639dd9a42aac4013dcdecba |
|
BLAKE2b-256 | 92e4652246f7dc8f057e6bfaec60d81a9c5c97d0c98a1261bb86f7a5d74f6085 |
Close
Hashes for pyglui-1.30.2-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82b4f50a912a1884cc1ec8cce16cecbed2547a44f622e387a4bd49bdb0cbb3fd |
|
MD5 | f315e88c2bb12f4c257a99e863381c0d |
|
BLAKE2b-256 | 1de1e60cf6a2c6eed9508510d05888928582fb7f29c4c857adfc4c8f32588ac1 |
Close
Hashes for pyglui-1.30.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3da28b0f37927880e386d77952b0d4a1dd94b9df8de59ad7f139467a5554e52 |
|
MD5 | 5ed620383ab66c556edc097b2a82ff3a |
|
BLAKE2b-256 | 69510154be706618328c29ffeddd3c168b26b3a73b207b814ab5def6805b3854 |
Close
Hashes for pyglui-1.30.2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e4bed7baa07fe7dc9532e83cbf6dd1ea3c28a22b4a5c03298e1587f7205c98c |
|
MD5 | 9a88d029837acd1362e233184327e9ed |
|
BLAKE2b-256 | 021eb0afe05e1715a815b1ea7a04b39bf37ddf35bbc3d4c648a46312c13cb61c |
Close
Hashes for pyglui-1.30.2-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9126e13f964cb524db1d08c3966acbb0643cf0028a33a296b40409eb73414858 |
|
MD5 | 93dac7ffb799899634640d6ea21f22b3 |
|
BLAKE2b-256 | 8bc20271d5f257786bd7ddcdd19661a9f0fe24ec420d9cac7080cf8131944324 |
Close
Hashes for pyglui-1.30.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a93728c8859c56fb7da930aba92bc4942d062a81e209598f1f3c1ee0f4ffcd8d |
|
MD5 | 59e235c05f8ac632544d73a97d305a80 |
|
BLAKE2b-256 | ee38c5f2c00d64d0c9550e564654d118d2267b74ef7ec8a0e4304fe5741eea1a |
Close
Hashes for pyglui-1.30.2-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba0b16c693275cd064ae500273066237df5fa60e3467c86b0f204ea52503ed1c |
|
MD5 | b9e6a272973fa24dfdc8f92cbce5afd2 |
|
BLAKE2b-256 | dd4d8435231be8a9c8060e8c319188a0df20a6d69098280fa73dcaaaaf0d2f42 |
Close
Hashes for pyglui-1.30.2-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 322168ee9bb0713f215c6193a7a4d44155dd8df38ad6a654c383c6ef2136a413 |
|
MD5 | eb68bc8a9c932e58457eaff247b852fc |
|
BLAKE2b-256 | 975a26089f809d5b2508f0ea5f57f92112f31d3814f2fa81a4b17dc8c97407c1 |
Close
Hashes for pyglui-1.30.2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf45f2229c79986bc030d2543e2e92117e4e81f038df4ad557307ce891bab6c6 |
|
MD5 | 426c60f9ed5ff0c75bad16f5025042b8 |
|
BLAKE2b-256 | 5cf52aa8bca52cb1dd995034fa47fae9577b5d97d7fa403715afffb72b38f39e |
Close
Hashes for pyglui-1.30.2-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e99f904d3f35cd29d0f666d36f42d7d26a2146e445152920828892dc51b0d58e |
|
MD5 | 0713d262318020e06035bf0d3ecaa1f2 |
|
BLAKE2b-256 | 04f6e2add1777dcde765dd4772f46a46649e69faa10c84ac34e4fddc22f4b2bb |