PyOpenGL Logo

PyOpenGL 2.0

The Python OpenGL® Binding

About PyOpenGL

PyOpenGL is the cross platform Python binding to OpenGL and related APIs.  The binding is created using the SWIG wrapper generator, and is provided under an extremely liberal BSD-style Open-Source license.

PyOpenGL includes support for OpenGL v1.1, GLU, GLUT v3.7, GLE 3, WGL 4, and Togl (Tk OpenGL widget) 1.6.  It also includes support for dozens of extensions (where supported in the underlying implementation).

PyOpenGL is interoperable with a large number of external GUI libraries for Python including (Tkinter, wxPython, FxPy, PyGame, and Qt).

Sub-Packages

The SourceForge PyOpenGL project has two sub-projects, the core library, PyOpenGL (known as the PyOpenGL2 module in CVS, and the OpenGL package when installed in Python), and a teaching and testing library, OpenGLContext built on top of the core.

Documentation

The documentation collection provides reference documentation, support and feedback information and pointers to more in-depth documentation.

Downloading and Installation

The project download page provides links to the distributions.  The installation page provides step-by-step instructions and dependency lists.

Support

Bug reports and feature requests should use the SourceForge project page.  General questions are best answered on the PyOpenGL mailing list.

OpenGL.org is a good starting point for information about OpenGL and related technologies.

Other Libraries

There are quite a few 3D-related libraries available for use with Python, many of them either based on, or extensible with PyOpenGL.  PyOpenGL's primary maintainer collects pointers to them on his site.

A SourceForge Open-Source Project