Skip to main content

OpenGL UI powered by Cython

Project description

Code style: black Build and deploy PyPI version pre-commit

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


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.1.tar.gz (2.4 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyglui-1.31.1-cp311-cp311-win_amd64.whl (3.4 MB view details)

Uploaded CPython 3.11Windows x86-64

pyglui-1.31.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

pyglui-1.31.1-cp311-cp311-macosx_10_9_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

pyglui-1.31.1-cp310-cp310-win_amd64.whl (3.4 MB view details)

Uploaded CPython 3.10Windows x86-64

pyglui-1.31.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

pyglui-1.31.1-cp310-cp310-macosx_10_9_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

pyglui-1.31.1-cp39-cp39-win_amd64.whl (3.4 MB view details)

Uploaded CPython 3.9Windows x86-64

pyglui-1.31.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

pyglui-1.31.1-cp39-cp39-macosx_10_9_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

pyglui-1.31.1-cp38-cp38-win_amd64.whl (3.4 MB view details)

Uploaded CPython 3.8Windows x86-64

pyglui-1.31.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.5 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

pyglui-1.31.1-cp38-cp38-macosx_10_9_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

pyglui-1.31.1-cp37-cp37m-win_amd64.whl (3.4 MB view details)

Uploaded CPython 3.7mWindows x86-64

pyglui-1.31.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.0 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

pyglui-1.31.1-cp37-cp37m-macosx_10_9_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

pyglui-1.31.1-cp36-cp36m-win_amd64.whl (3.4 MB view details)

Uploaded CPython 3.6mWindows x86-64

pyglui-1.31.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.8 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ x86-64

pyglui-1.31.1-cp36-cp36m-macosx_10_9_x86_64.whl (3.5 MB view details)

Uploaded CPython 3.6mmacOS 10.9+ x86-64

File details

Details for the file pyglui-1.31.1.tar.gz.

File metadata

  • Download URL: pyglui-1.31.1.tar.gz
  • Upload date:
  • Size: 2.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pyglui-1.31.1.tar.gz
Algorithm Hash digest
SHA256 60547f6a5a280b9480fdcf87441f98b82f4705760bf7e92ea4e42b908886d18e
MD5 0838a505e8fcd21db9fc095ee962b762
BLAKE2b-256 77eb3026012375209609e69bbbb879aef0e3347f9758beb3719a1af8c926db7d

See more details on using hashes here.

File details

Details for the file pyglui-1.31.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: pyglui-1.31.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pyglui-1.31.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8674ddda3aa7d65c49b5d3e66875cabac9747055d04dc6ff7533882dec878bf5
MD5 2b2f290a94a3e427f30490c57a778175
BLAKE2b-256 493a41a7fbfc66663696daff0090f1c49a1400d3e266d129edd72d6e3473a55f

See more details on using hashes here.

File details

Details for the file pyglui-1.31.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyglui-1.31.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7197d3e496a67c349379cd407d215d48ea44b828ed7cae809e157a3c2df7d006
MD5 096c1fa8c9e4a1d86778132e55851c2b
BLAKE2b-256 4a553dd3088602d43b6cd53129ba34ddb9676cf6c2a3e8175d258faeab5302a2

See more details on using hashes here.

File details

Details for the file pyglui-1.31.1-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyglui-1.31.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3ff9225d8e56c2290e93f1331df5fdd32153f903961502e04b3ce1abbaeb9ad3
MD5 8557db5c7d4fc3c7016e30cc8fc12c5a
BLAKE2b-256 faca66c9cf673c99cb5488c929a11166cb6f3c4ef1a0ca5724ab9cc37494a2d1

See more details on using hashes here.

File details

Details for the file pyglui-1.31.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: pyglui-1.31.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pyglui-1.31.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 78d6b8c1c8e92c5685091d0b81b6976d6fbe92e2448eb1521c45b214c52ccf50
MD5 6804e6f3d6666dd9c2bb49a271f856c5
BLAKE2b-256 0372bfc4e30693838630ba188c8c02758fa3928693da496e603ce261baeeb4aa

See more details on using hashes here.

File details

Details for the file pyglui-1.31.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyglui-1.31.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1f7df0159233071020d2d61a6e01fc99a544505a1dcbbdeeb06d5924953c8437
MD5 b2036325101c551f1ca860b13fda65f1
BLAKE2b-256 56ac428a59a15735ec12645af3bdb3ba2db7919e9bd0a4abb055e60cef7a675d

See more details on using hashes here.

File details

Details for the file pyglui-1.31.1-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyglui-1.31.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 94474d8c10eead3e1d76680f4bc093b8fc7d8983518451cad3d2f3046f0ed2c0
MD5 b63e8669b0dda9facaa463a76226e3a8
BLAKE2b-256 7926fa4e984aaf0b21252c93ac4af1b916ac3c7b397097dd5eab6b2911cadb6f

See more details on using hashes here.

File details

Details for the file pyglui-1.31.1-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: pyglui-1.31.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pyglui-1.31.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 e0d40c9b9c663cb67f24ae73641755748eb139d9b8abe618726157a400c6b615
MD5 119162c93519469db6d68a50c15251a0
BLAKE2b-256 b35e923197bf82ff9b0e1fa0ed08b8d3204ecb1d230d29607d2237ba3b9afae0

See more details on using hashes here.

File details

Details for the file pyglui-1.31.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyglui-1.31.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 63482d8ef793e494914ae9a4a1ce8685015135676fff54c14bd73c709d46ae0f
MD5 10f2593c5521309595b8320fbfa11652
BLAKE2b-256 4655e42b4ce07f1b376679fdd772ae96d0c564963597ade5294f5905eb2c989e

See more details on using hashes here.

File details

Details for the file pyglui-1.31.1-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyglui-1.31.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 fa258f50cc9f3b68b7551d197de2ef58e609c852985eb4e63c8c149af3880c75
MD5 4e25e444cb5bb8d76ffb3752e8b97bd1
BLAKE2b-256 1b63e501cc498e8327998b0c16c5275ba594b216c86819d842c9d0c6135e670c

See more details on using hashes here.

File details

Details for the file pyglui-1.31.1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: pyglui-1.31.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pyglui-1.31.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 be9582857159cd09e70912ca3f2a0fef3a314e7a57a70e7dbd540f0ca25a6b0e
MD5 23c0e02b538b8b3827144f137634dc60
BLAKE2b-256 533446fa6cf2cf7049b5fa9c5b6a97ecedf5497566d77b6525dc4c735b71fc0a

See more details on using hashes here.

File details

Details for the file pyglui-1.31.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyglui-1.31.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 29354d234d81569ef1a8e891e1847ffc188706c731831e7293c6bc16db73e3c4
MD5 984dc132f8c222cff63b56b38bb0bf60
BLAKE2b-256 a48d2f0657a57d6ca7c6fa0ac24386ae9c2c547487585b681200f36ae0b08513

See more details on using hashes here.

File details

Details for the file pyglui-1.31.1-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyglui-1.31.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d29eaa11c662ca8d9c7a9e61321495eaf1ed418515f122077501464b8c112b8b
MD5 4fac8359b7f4ec45d79fb7d691121d9e
BLAKE2b-256 7593ec2882718c4cd2addf18108e0c33c7ea9c3da55ea0e12d30f94c678807f5

See more details on using hashes here.

File details

Details for the file pyglui-1.31.1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: pyglui-1.31.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pyglui-1.31.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 24a0db7d68cc8a2e68758aba06a5ae6bc153f5c10d7d775b5ca5b936b0e8988f
MD5 1b789d41f62c6db368b1c6420a6410dc
BLAKE2b-256 23f81d855118eb1ccecfb09fa544836c2bb3407e45479d59e0779cc98bb5e241

See more details on using hashes here.

File details

Details for the file pyglui-1.31.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyglui-1.31.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9e66c6b9ccfb1196784159777a94c541e919f287dc2cd0a7b7406e94fc126bc5
MD5 6cea57d9dfc01c5f03594f9524689b2b
BLAKE2b-256 1d24c460d1d540c5b0731f468b64629baa54b6175cc1ab57a5b064c5335ec48a

See more details on using hashes here.

File details

Details for the file pyglui-1.31.1-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyglui-1.31.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2b6a280671228fd76e509d9b9fc914612a65e12184633717be7d3bdbcbe1f4ac
MD5 ec9933975e4f95bef0bc7afa28e5d6b3
BLAKE2b-256 a57867286d24ad80ca57daa8c8f0571fd486de149e689d8a3e803990a4f02d05

See more details on using hashes here.

File details

Details for the file pyglui-1.31.1-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: pyglui-1.31.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for pyglui-1.31.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 37d453a0c9c71540777b6251ef8955cefdd80feb7290ba4421c28c81491e8a3d
MD5 6135afd132414f506503cf8294b99c46
BLAKE2b-256 b912205fd86bbe28673ded96a4d8eba0d8ff172a68ea7738c12f0dfbda95cf3e

See more details on using hashes here.

File details

Details for the file pyglui-1.31.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pyglui-1.31.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cea36b802697e1406629987d53ea6ac696eb0893bb48a80055d57ba688517412
MD5 2834ea5cca4af35dd6035205e0f4335c
BLAKE2b-256 8f7edd31ae3ad6d8f9d733956916eedf0994d3fce812cbb7a118c4cd7f1bf5f2

See more details on using hashes here.

File details

Details for the file pyglui-1.31.1-cp36-cp36m-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for pyglui-1.31.1-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9400593cde124ada23f57d9d38762c79824b1ba82510b01bf140f2fe07107bc9
MD5 a013d5355cfccca171a9fdb81ff15e9a
BLAKE2b-256 4f50bd0b9b9c95e32c19c662bd9d37d61a4aded274cca727bb263f8c08ebe27d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page