OpenGL UI powered by Cython
Reason this release was yanked:
Missing py 3.11 wheels
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.post2.tar.gz
(2.4 MB
view hashes)
Built Distributions
Close
Hashes for pyglui-1.31.0.post2-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a22252a8c89f8c066bff52e60c31d5b8c3fe9fe8df6318f2e69802f38e9a0d6f |
|
MD5 | ef58f9363768bc382fe41d9c7fda4310 |
|
BLAKE2b-256 | 092595702755f25bdb15461073e75bedd306892356dfa751c6410b0144fed6f1 |
Close
Hashes for pyglui-1.31.0.post2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7f9a3f27cef639455b549a7cff0ee335a7ffb92df397f82c895188f718b3ab6 |
|
MD5 | 551d31edce2eae82477ca3e9d9b0187d |
|
BLAKE2b-256 | 52a38d2d2f1b6fed5adafec9098d7ea7d1cc3539aff87b720b3e9acad352c364 |
Close
Hashes for pyglui-1.31.0.post2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e34a84f9c578e98f2db8533132fcfac8e53ce3b617e7c95c29619709a350050 |
|
MD5 | 3ff02e358e0fd6a563ab06adcb656b3f |
|
BLAKE2b-256 | dc1f84d104d651e3341fc65d4d0a9fbf07c27759ed79429e63536a6e456f067c |
Close
Hashes for pyglui-1.31.0.post2-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 547e023709ef45dc45222d6ff84e3bc952a098573b6d6966a36b682e2a0b9b5e |
|
MD5 | dc24860bc19a1170efbd00875342eedc |
|
BLAKE2b-256 | e58e8127576c347ebfe282b378e7a7f07b420855ade63690980181c4d5b090fd |
Close
Hashes for pyglui-1.31.0.post2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b79a6f3295872c79958134bd85870504df70ef20630c807f0bf92810e4e5f99 |
|
MD5 | 2ab8d26708c63b96d8e4debb2501dfdd |
|
BLAKE2b-256 | 42066b6f3a74ebf5f94464daf099ac80f6b925b7d1d7497bb2c407b17f885654 |
Close
Hashes for pyglui-1.31.0.post2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4ed787fd70cbb4bb0fc37f9a29a78b3ba75d158dd8f351e746c59235b1faffb |
|
MD5 | afdce65e61751a021e80e3437614dbc8 |
|
BLAKE2b-256 | df25e00a6ced21cfb1df3008b157223cdd9ea740a1231fd12eb80ef28f7721de |
Close
Hashes for pyglui-1.31.0.post2-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90ab9f33e856d952efa0b7c066c5b8cda21b67f1b4763893cb1578b897d6e881 |
|
MD5 | bd23f6d088d296b2d01392fa8edb4e9f |
|
BLAKE2b-256 | dd245c8b8d0ef46c9da2eb7269e5696841ca3a44c1ef7a6930d2bff276d6c31b |
Close
Hashes for pyglui-1.31.0.post2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fec23e170a5608e65532bce3184262a646f9064a0a6bf09327377df1b9f14f61 |
|
MD5 | c312d8643adcb1499113b0364edcba38 |
|
BLAKE2b-256 | 19e97e0ebfc640324a40af5818cda7c8779ec41b36eb113e9d9dceec6edd57fb |
Close
Hashes for pyglui-1.31.0.post2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be60df9ac3e471d3470a793452d208d67eb80321443e233cabfcdf90ad35360b |
|
MD5 | ea4f143218a9c85b0efbca51d4540426 |
|
BLAKE2b-256 | cdcab87821deb1b36dd5e20bacdb8c441d8cf80aa0724f311e74cddde89a7f35 |
Close
Hashes for pyglui-1.31.0.post2-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 805797c4bf44e2f19206b9051784edb0ebb929545fee8caabbd69f5691d45c92 |
|
MD5 | 8a8287575acb58d220c06b76011f981a |
|
BLAKE2b-256 | 29714a552377aab55e51c5d5b80c28ff4b4e3b0003239830729c8c9ee9399d7a |
Close
Hashes for pyglui-1.31.0.post2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa1cd67b8ddb57243965351b0024df30c7d6431d3b14d8f69970a80a3f1734d6 |
|
MD5 | 4f575ab378ab01028d6fd9a937099886 |
|
BLAKE2b-256 | f3ec413efa6b2c9cb02903100519795e3aa233b4a656fdaed7eaefe8dec3a2ce |
Close
Hashes for pyglui-1.31.0.post2-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4da756de7ca27e45cbe94288ee653bd5170897667d22a5a03996def78b6fc32a |
|
MD5 | d7b6d17ee6c90dc3cd4e9cca07a9767b |
|
BLAKE2b-256 | 4c827fc20c94e6eb17a73b64f85b03e2ebdba5fffaf6ecd73e04402fe9813b55 |
Close
Hashes for pyglui-1.31.0.post2-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e8956419525417a998b010375cc25c1055fc100e4d371d562bd899a616dd5c4 |
|
MD5 | 5b4e3730176677da80af89e5ab0347d5 |
|
BLAKE2b-256 | e6e31bf3d47c8b5134fb5512ab0c678b5c43367de6d6f2f77cfdb4ac9cb2434a |
Close
Hashes for pyglui-1.31.0.post2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b847dc2219003513cd79c16c3c44dbd39e282fbc1e81e69c009a0021c4caa6b7 |
|
MD5 | 4cc436b9884a793aff67f101dcf8aea1 |
|
BLAKE2b-256 | c74a04eea91a897e05144976060dc19e0ba8bb3ad517a596821f3092437a4e44 |
Close
Hashes for pyglui-1.31.0.post2-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87636c13f8e289132d855e500eb142771d3bfadb6f5b14272378d85609593a58 |
|
MD5 | dfd0e2421d6d36edb8b039685fc520c9 |
|
BLAKE2b-256 | 682f14b01428fca3a8de75a46cb0906d60d5624f451c83706d88c850b7aa478d |