KEMBAR78
PyOpenGL · PyPI Skip to main content

Standard OpenGL bindings for Python

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyopengl-3.1.10.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyopengl-3.1.10-py3-none-any.whl (3.2 MB view details)

Uploaded Python 3

File details

Details for the file pyopengl-3.1.10.tar.gz.

File metadata

  • Download URL: pyopengl-3.1.10.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pyopengl-3.1.10.tar.gz
Algorithm Hash digest
SHA256 c4a02d6866b54eb119c8e9b3fb04fa835a95ab802dd96607ab4cdb0012df8335
MD5 703b05e9b17c8ce2f2879f437c3decbb
BLAKE2b-256 6f16912b7225d56284859cd9a672827f18be43f8012f8b7b932bc4bd959a298e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyopengl-3.1.10.tar.gz:

Publisher: accelerate-manylinux.yml on mcfletch/pyopengl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyopengl-3.1.10-py3-none-any.whl.

File metadata

  • Download URL: pyopengl-3.1.10-py3-none-any.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pyopengl-3.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 794a943daced39300879e4e47bd94525280685f42dbb5a998d336cfff151d74f
MD5 f9451ec86b0f817d55a47a6d2ff7bb8b
BLAKE2b-256 dee41ba6f44e491c4eece978685230dde56b14d51a0365bc1b774ddaa94d14cd

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyopengl-3.1.10-py3-none-any.whl:

Publisher: accelerate-manylinux.yml on mcfletch/pyopengl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page