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.tar.gz
(1.7 MB
view hashes)
Built Distributions
Close
Hashes for pyglui-1.31.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ccaffba870d5c1d5c8a23e6e7b7e9b94c08003244fb2b8f8c78f03c0225ec92 |
|
MD5 | c3b1208a76285375c1f88888489ed897 |
|
BLAKE2b-256 | b595eb2a04f1cc78f37a862eb981cc090281368c08a757b2705c2f2f301c015c |
Close
Hashes for pyglui-1.31.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 217b4555f326b2bb87ec003844f244313f86d8dd89ff593b97d510b805769faa |
|
MD5 | 4ba6e20af87f5b6b1656dc5c200a0945 |
|
BLAKE2b-256 | 14fe6bf979e4ad750498de2873d3731f194e934dcf5dd0be942abf611af0c06c |
Close
Hashes for pyglui-1.31.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 455ccb0e14ee82808c940b9a1f6d681726ad78be5845e3924abd96f37144eb50 |
|
MD5 | 56cc2b1d4a51939b00ed944696c0c49f |
|
BLAKE2b-256 | 05cb6b8d054b75f480641a70c4eca6e84c495e6272b20f38424d478c140e66da |
Close
Hashes for pyglui-1.31.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a92bbd8ef18f08010ad93e1a61daa219519c6177808fc5723e423bafc129e4f |
|
MD5 | 47a8bc0f100a220cfb034b7cd3eb3c50 |
|
BLAKE2b-256 | 92514f98866c19ab6dbaab4103e7db850e9d86874bbcdd1f9656cbe9ff1ad927 |
Close
Hashes for pyglui-1.31.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9628680c65dca2199b7f132c083d0bbd3e97e462f2d377763b785e82d158a94c |
|
MD5 | d67f0e3cb68b82bc7bbeb153329acfbf |
|
BLAKE2b-256 | e7b05b7df63c0e3139aa28c5890d842e0dcdc720772d856e2ccdafa99ee18820 |
Close
Hashes for pyglui-1.31.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 038b66b7f7626bd71919d25d3e81bc752d6b0c5c24060e6f2c5e320226fb2044 |
|
MD5 | 24ee1a8ca79a45a77bbc36936fea4ed7 |
|
BLAKE2b-256 | 75272580ce215153f80442f424e2aa4e5f4795c224bd03fe66eee5c5edcd437c |
Close
Hashes for pyglui-1.31.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bbde5cf7c3dc4757050df38170fdd496b71d714e64f9dd863a6b78585050f4c |
|
MD5 | 968db8680383b230fdfadff4ab030078 |
|
BLAKE2b-256 | 85b8581f228dfc9686aa616567babcfd903d064ec9fdc02c027c7b03ffe4812e |
Close
Hashes for pyglui-1.31.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74649b4d33e00cedabd6c4d7d129afcdbeb12c5d34084739b88eff7ac559ed03 |
|
MD5 | 25c85b74e9a5c364e9686e5c6246bcf6 |
|
BLAKE2b-256 | e46c7b3c40fa7ed7d71871c831490815e0121549844346f1ed45880f7f2b693e |
Close
Hashes for pyglui-1.31.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ede5878383a60ba01d99bb28c4be04830ecae22dd54b21b18750848872e4c71e |
|
MD5 | 15a45c6ed0d3532705fdf4baff1f8541 |
|
BLAKE2b-256 | 8cb37100843a6149fefefeeefff9698fee3922f57675879af52832282a78105c |
Close
Hashes for pyglui-1.31.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78bcccdfcf15a390a2edef5bf91f58c77eef1a4271f265312a8ccfcaf38dbf55 |
|
MD5 | fb5882c0b8964a9f9b4ac194a5b7bfc7 |
|
BLAKE2b-256 | 8bf73cdcf03198e3619bc9e50d52cc86f9dce3c2cadadd6e466738bcf699f8a6 |
Close
Hashes for pyglui-1.31.0-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67e009740eb645c18dfe3651cd097c19e4c8baf5ef4f03b393c8c4904180af2d |
|
MD5 | 086ffe4af9d7401f004a4ee0dc61ba71 |
|
BLAKE2b-256 | 6c95c660645a4ba209f883ed0c4664d00212921edb2679b09fc087eb2e797623 |
Close
Hashes for pyglui-1.31.0-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 272c0df78fb4337f2950b6db4b9f7e19b61d2df9e522a5831ce296ffed97a32a |
|
MD5 | f203ecdb954b71aaa044a2a10983bfb6 |
|
BLAKE2b-256 | 4e7e452bad9cfaeb6a945f4224ef841f6778e5a66c1f604bfeae88847994469b |