Skip to main content

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

Metadata

Release files for PyOpenGL 3.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyOpenGL 3.1.7
File Size Uploaded Provenance Actions
PyOpenGL-3.1.7.tar.gz 1.9 MB Without provenance Details for PyOpenGL-3.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for PyOpenGL 3.1.7
File Interpreter ABI Platform Actions
PyOpenGL-3.1.7-py3-none-any.whl Python 3 none any Details for PyOpenGL-3.1.7-py3-none-any.whl

Total release size: 4.3 MB

Release files / PyOpenGL-3.1.7.tar.gz

Download URL PyOpenGL-3.1.7.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
eef31a3888e6984fd4d8e6c9961b184c9813ca82604d37fe3da80eb000a76c86
BLAKE2b-256 checksum
How to use checksums
72b6970868d44b619292f1f54501923c69c9bd0ab1d2d44cf02590eac2706f4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Release files / PyOpenGL-3.1.7-py3-none-any.whl

Download URL PyOpenGL-3.1.7-py3-none-any.whl
Size 2.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
a6ab19cf290df6101aaf7470843a9c46207789855746399d0af92521a0a92b7a
BLAKE2b-256 checksum
How to use checksums
994800e31747821d3fc56faddd00a4725454d1e694a8b67d715cf20f531506a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.6

Security for PyOpenGL 3.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.1.7 This release

2 release files No provenance

3.0.1a2

3.0.0

3.0.0b8

3.0.0b4

3.0.0b3

3.0.0b2

3.0.0b1

2.0.1.09

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page