pyopengl 3.1.10


pip install pyopengl

  Latest version

Released: Aug 18, 2025


Meta
Author: Mike C. Fletcher

Classifiers

License
  • OSI Approved :: BSD License

Programming Language
  • Python
  • Python :: 2
  • Python :: 3

Topic
  • Multimedia :: Graphics :: 3D Rendering
  • Software Development :: Libraries :: Python Modules

Intended Audience
  • Developers

PyOpenGL is normally distributed via PyPI using standard pip:

$ pip install PyOpenGL PyOpenGL_accelerate

You can install this repository by branching/cloning and running pip:

$ cd pyopengl
$ pip install -e .
$ cd accelerate
$ pip install -e .

Note that to compile PyOpenGL_accelerate you will need to have a functioning Python extension-compiling environment.

Learning PyOpenGL

If you are new to PyOpenGL, you likely want to start with the OpenGLContext tutorial page. Those tutorials require OpenGLContext, (which is a big wrapper including a whole scenegraph engine, VRML97 parser, lots of demos, etc) you can install that with:

$ pip2.7 install "OpenGLContext-full==3.1.1"

Or you can clone it (including the tutorial sources) with:

$ git clone https://github.com/mcfletch/openglcontext.git

or (for GitHub usage):

$ git clone https://github.com/mcfletch/pyopengl.git

The documentation pages are useful for looking up the parameters and semantics of PyOpenGL calls.

Running Tests

You can run the PyOpenGL test suite from a source-code checkout, you will need:

  • git (for the checkout)

  • GLUT (FreeGLUT)

  • GLExtrusion library (libgle)

  • GLU (normally available on any OpenGL-capable machine)

  • tox (pip install tox)

Running the test suite from a top-level checkout looks like:

$ tox

The result being a lot of tests being run in a matrix of environments. All of the environment will pull in pygame, some will also pull in numpy. Some will have accelerate, and some will not.

Travis Tests Appveyor Build Latest PyPI Version Monthly download counter
4.0.0a6 Sep 21, 2026
4.0.0a5 Sep 12, 2026
4.0.0a4 Sep 08, 2026
4.0.0a1 Jul 13, 2026
3.1.10 Aug 18, 2025
3.1.9 Jan 20, 2025
3.1.9a2 Jan 02, 2025
3.1.9a1 Dec 31, 2024
3.1.7 May 23, 2023
3.1.6 Feb 20, 2022
3.1.5 Jan 04, 2020
3.1.4 Nov 30, 2019
3.1.3rc1 Oct 26, 2019
3.1.3b2 Nov 05, 2018
3.1.3b1 Aug 12, 2018
3.1.1a1 Feb 13, 2015
3.1.0 Jun 26, 2014
3.1.0b3 May 25, 2014
3.1.0b2 Mar 24, 2014
3.1.0b1 Feb 11, 2014
3.1.0a3 Sep 06, 2013
3.1.0a1 May 30, 2013
3.0.2 Oct 02, 2012
3.0.2b2 Aug 22, 2012
3.0.2a5 Feb 09, 2012
3.0.2a4 Feb 02, 2012
3.0.2a3 Jan 31, 2012
3.0.2a2 Jan 09, 2012
3.0.2a1 Sep 12, 2011
3.0.1 Feb 25, 2010
3.0.1b2 Dec 28, 2009
3.0.1b1 Nov 11, 2009
3.0.1a4 Sep 11, 2009
3.0.1a3 Aug 16, 2009
3.0.0rc1 Feb 15, 2009
3.0.0b6 Sep 15, 2008
3.0.0a5 Nov 22, 2006
3.1.0b2.win32 Mar 24, 2014
3.1.0b1.win32 Feb 12, 2014
3.1.0b1.win Feb 12, 2014
3.1.0.win32 Jun 26, 2014
3.0.2b2.win Sep 01, 2012
3.0.2a1.win32 Sep 12, 2011
3.0.2.win32 Oct 02, 2012
3.0.2.win Oct 02, 2012
3.0.1b2.win32 Dec 28, 2009
3.0.1.win32 Feb 25, 2010

Wheel compatibility matrix

Platform Python 3
any

Files in release

No dependencies