Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pyglui

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pyglui

OpenGL UI powered by Cython

  • 1.31.1
  • PyPI
  • Socket score

Maintainers
1

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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc