Skip to main content

PyOpenGL and PyOpenGL_Accelerate

PyOpenGL is normally distributed via PyPI using standard pip:

$ pip install PyOpenGL PyOpenGL_accelerate

You can install this repository by branching/cloning and running setup.py:

$ cd pyopengl
$ python setup.py develop
$ cd accelerate
$ python setup.py develop

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.5

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.5
File Size Uploaded Provenance Actions
PyOpenGL-3.1.5.tar.gz 1.8 MB Without provenance Details for PyOpenGL-3.1.5.tar.gz

Built distributions (wheels)

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

Total release size: 6.7 MB

Release files / PyOpenGL-3.1.5.tar.gz

Download URL PyOpenGL-3.1.5.tar.gz
Size 1.8 MB
Tags Source
SHA-256 checksum
How to use checksums
4107ba0d0390da5766a08c242cf0cf3404c377ed293c5f6d701e457c57ba3424
BLAKE2b-256 checksum
How to use checksums
b87331c8177f3d236e9a5424f7267659c70ccea604dab0585bfcd55828397746
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.5

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

Download URL PyOpenGL-3.1.5-py3-none-any.whl
Size 2.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
36b4ac28220e4bfa29e5557525ad2967ca74558a94bccea48864fc742b18db11
BLAKE2b-256 checksum
How to use checksums
479a8d9364533ebcaa13621994a63dcc6a6051e27671ae5e1715dac4af18cac2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.5

Release files / PyOpenGL-3.1.5-py2-none-any.whl

Download URL PyOpenGL-3.1.5-py2-none-any.whl
Size 2.4 MB
Tags Python 2
SHA-256 checksum
How to use checksums
11ad32c7bde7ea0ffb7a94dd552c639ca72376982a8dd6fe0c092d2002a4ca6e
BLAKE2b-256 checksum
How to use checksums
7e782bc24caecba024f7d128030451899531cd4c2a2a2bad342d5e5010089324
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.5

Security for PyOpenGL 3.1.5

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.5 This release

3 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