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.post3.tar.gz
(2.4 MB
view hashes)
Built Distributions
Close
Hashes for pyglui-1.31.0.post3-cp311-cp311-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b2f9d615f3683b38837fea1aa4a4d5fbee6ca18c1ef7c0ec02489ddf77cc10d |
|
MD5 | b96dfbc508189d88d68cdfc3e32757c9 |
|
BLAKE2b-256 | bf7c63670d722961f96623cd58a6c68d3c6106dda7d4f5337c07626ff2e8986c |
Close
Hashes for pyglui-1.31.0.post3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1b8e3c23046060e0451a569233d598e5709b27554970f1969f873be96cf5dd8b |
|
MD5 | a434471f15c4fd3fd22922e9c524f32e |
|
BLAKE2b-256 | 32d8e7fdcb576ee9ff3d65d8360c5dcf4f568ee30c1cd50c249b92f2e81cefb9 |
Close
Hashes for pyglui-1.31.0.post3-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78f296bd1866401630a63c48790aba1b5c780e3119ce1e05158c13ae4f7169a4 |
|
MD5 | 51bfce1b2a865c58d0f138fba4dc7c87 |
|
BLAKE2b-256 | befff81b02bb86b5f4647710e0f378a919e2b23ce4ee85a1d0592386cc9ae18e |
Close
Hashes for pyglui-1.31.0.post3-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af8f57987bfde8242c06b1944e742b0541ce28c41dc5e3e1a77729b882b8d12c |
|
MD5 | daf02a027d9101ef7c9ba230a9bb7cd2 |
|
BLAKE2b-256 | 4cf65a2a5d16815c1d60c6c5e4cc61320e5c4bf430af4c500ede63185792692e |
Close
Hashes for pyglui-1.31.0.post3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f894fd1fffb298aeb134c42c57fcdfbb29105933599f23950ac655cf34f9b026 |
|
MD5 | df0f2a9c51dc0fd20c2fa31802d70f0e |
|
BLAKE2b-256 | b6d629729950947df028239f53bf969e1a70a67b15a846b7d6618ddbb6dc7eed |
Close
Hashes for pyglui-1.31.0.post3-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 217e756975b66c15283f4031c68f88ba13a00cbfe0c828427aa57437342fd8dc |
|
MD5 | d19fc7aace16e6fb6e17de548151a2f3 |
|
BLAKE2b-256 | dafcdbf77019ac8fb63c59d8c851ef0013f216c52611ae8902657fbcf7fd91c1 |
Close
Hashes for pyglui-1.31.0.post3-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1c98c4e523c14a34153c07a3f3383f57acd8946f0f5d78a4c840c9f4e5b1c2c |
|
MD5 | 847076a090ed52e655a83779261e9408 |
|
BLAKE2b-256 | bab7591f691eeb28365bcc65b3970e8c9e6af8f7527bb5c9cecaccb21658f501 |
Close
Hashes for pyglui-1.31.0.post3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 123350452d9b4ada0e14fc74e80c8748036dff090e17930724fecf0e15dd3a5b |
|
MD5 | b0d152a3ca2c03d02508253919f2ef4d |
|
BLAKE2b-256 | 8b3b51c7a149ff4663abc7ab080bb67fc91c3f7891bc2de2212f277861b9b5c3 |
Close
Hashes for pyglui-1.31.0.post3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4805f9456dbec0afad0bfc706ea8ca71fb87e77fac55dd32cdc21733d946725 |
|
MD5 | 1eb12f0d2a03ec3816ebe17c821f161a |
|
BLAKE2b-256 | 6249867698a562ba2976636f79ec4c294a139f16de263e97a834c97f64ab6023 |
Close
Hashes for pyglui-1.31.0.post3-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1870328bd2812d37859c375d5c7d16bee4181cc83555b1d07cc831fbd5be8ee6 |
|
MD5 | 98f7de7ddfe802e5d13dae70b8c45b90 |
|
BLAKE2b-256 | d2fbffd71d6e531edfc02fcb9095bf50cdee16bf9c365f0cf0e13da3812806b6 |
Close
Hashes for pyglui-1.31.0.post3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 003dc3b7d1346a8ba08fab1c430e4a5fce6f4e68e9e65539e92dbc466d37ac57 |
|
MD5 | a979f8e24410ce4ab9f6b67ea07dd57c |
|
BLAKE2b-256 | 161796365601360818986febbb896129c9b71fa5da76fc1047980bb30d000f03 |
Close
Hashes for pyglui-1.31.0.post3-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe80dc4b6dd849c06609e0d28204bac5f59d6018c2a608d6f45380ae0cc5040f |
|
MD5 | 2b5b5006f1a5e4034554a8b3bc538126 |
|
BLAKE2b-256 | 727fc35be03edd75f1624a85ae3944df5e5d555bf207c4fe8a8f91487b2d158c |
Close
Hashes for pyglui-1.31.0.post3-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4f401559a3d98223dd1f5db986fc028340ba07922e049da5dcef9893557a5ba |
|
MD5 | 4a480fe318bd64954a753c8478a243ba |
|
BLAKE2b-256 | 56bd2d6908c5e2a23d02005594813e0addd5e3279775b579df6fd91c7fa4a99a |
Close
Hashes for pyglui-1.31.0.post3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb95c8280d5fce535d4f30c167e49266005b3f48155296fb62f565a677eb7dcf |
|
MD5 | 6b4151758be242eaf7735c3e75f13871 |
|
BLAKE2b-256 | 1d1ade9b41ca7dc5d5bc7cb1d11db68f623201b36a3c76ec35b7401c51fc343f |
Close
Hashes for pyglui-1.31.0.post3-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd46481a529da049598a5e1d631dfd15269cd322f844561f08f8dba60b53e65c |
|
MD5 | b6c5dd9ee9c0b5e0c31c752fd26560c6 |
|
BLAKE2b-256 | a9fbcb67fab99872e43eef07afaa721476217e70485ac7597c298c4fbb4e8574 |
Close
Hashes for pyglui-1.31.0.post3-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b29ddc11fc596ba3a5a0925c92b0578be680eac4e487d6145a7d679a8efb001 |
|
MD5 | 7b72542b3fcd3e66b2dbc47000006ed6 |
|
BLAKE2b-256 | 4ad6702ff540720ba6d7d727fea5a169e724d5fa964a084ed108d22d12fc207f |
Close
Hashes for pyglui-1.31.0.post3-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d2c0ebea3fd87367a1d00459f3761a08344abb72b21517e95702753aacdd945 |
|
MD5 | 567a98037987d984ea60bb5f44e8f7e4 |
|
BLAKE2b-256 | 50f113905e13a57c66829ec57a6e458deabdff224e0a0179fe04db0b054fbab7 |
Close
Hashes for pyglui-1.31.0.post3-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86097e591325fb988b68ba55de89256e008e3e54d06cba9b0056bc3d892d13d0 |
|
MD5 | 78a4d4712e4336092a483eb10d4e67be |
|
BLAKE2b-256 | 86dfe9f3767beb3994f346f358dc9bcfaf29f395188869797fb326b2cd48598d |