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
``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.
.. _`tutorial page`: http://pyopengl.sourceforge.net/context/tutorials/index.html
.. _`documentation pages`: https://mcfletch.github.io/pyopengl/documentation/index.html
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.
.. image:: https://travis-ci.org/mcfletch/pyopengl.svg?branch=master
:target: https://travis-ci.org/mcfletch/pyopengl
:alt: Travis Tests
.. image:: https://ci.appveyor.com/api/projects/status/github/mcfletch/pyopengl
:target: https://ci.appveyor.com/project/MikeCFletcher/pyopengl
:alt: Appveyor Build
.. image:: https://img.shields.io/pypi/v/pyopengl.svg
:target: https://pypi.python.org/pypi/pyopengl
:alt: Latest PyPI Version
.. image:: https://img.shields.io/pypi/dm/pyopengl.svg
:target: https://pypi.python.org/pypi/pyopengl
:alt: Monthly download counter
Raw data
{
"_id": null,
"home_page": null,
"name": "PyOpenGL",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "Graphics, 3D, OpenGL, GLU, GLUT, GLE, GLX, EXT, ARB, Mesa, ctypes",
"author": null,
"author_email": "\"Mike C. Fletcher\" <mcfletch@vrplumber.com>",
"download_url": "https://files.pythonhosted.org/packages/6f/16/912b7225d56284859cd9a672827f18be43f8012f8b7b932bc4bd959a298e/pyopengl-3.1.10.tar.gz",
"platform": null,
"description": "PyOpenGL and PyOpenGL_Accelerate\n=================================\n\nPyOpenGL is normally distributed via PyPI using standard pip::\n\n $ pip install PyOpenGL PyOpenGL_accelerate\n\nYou can install this repository by branching/cloning and running\n``pip``::\n\n $ cd pyopengl\n $ pip install -e .\n $ cd accelerate\n $ pip install -e .\n\nNote that to compile PyOpenGL_accelerate you will need to have \na functioning Python extension-compiling environment.\n\nLearning PyOpenGL\n-----------------\n\nIf you are new to PyOpenGL, you likely want to start with the OpenGLContext `tutorial page`_.\nThose tutorials require OpenGLContext, (which is a big wrapper including a whole\nscenegraph engine, VRML97 parser, lots of demos, etc) you can install that with::\n\n $ pip2.7 install \"OpenGLContext-full==3.1.1\"\n\nOr you can clone it (including the tutorial sources) with::\n\n $ git clone https://github.com/mcfletch/openglcontext.git\n\nor (for GitHub usage)::\n\n $ git clone https://github.com/mcfletch/pyopengl.git\n \nThe `documentation pages`_ are useful for looking up the parameters and semantics of \nPyOpenGL calls.\n\n.. _`tutorial page`: http://pyopengl.sourceforge.net/context/tutorials/index.html\n.. _`documentation pages`: https://mcfletch.github.io/pyopengl/documentation/index.html\n\n\nRunning Tests\n--------------\n\nYou can run the PyOpenGL test suite from a source-code checkout, you will need:\n\n* git (for the checkout)\n* GLUT (FreeGLUT)\n* GLExtrusion library (libgle)\n* GLU (normally available on any OpenGL-capable machine)\n* tox (`pip install tox`)\n\nRunning the test suite from a top-level checkout looks like::\n\n $ tox\n\nThe result being a lot of tests being run in a matrix of environments.\nAll of the environment will pull in pygame, some will also pull in \nnumpy. Some will have accelerate, and some will not.\n\n.. image:: https://travis-ci.org/mcfletch/pyopengl.svg?branch=master\n :target: https://travis-ci.org/mcfletch/pyopengl\n :alt: Travis Tests\n\n.. image:: https://ci.appveyor.com/api/projects/status/github/mcfletch/pyopengl\n :target: https://ci.appveyor.com/project/MikeCFletcher/pyopengl\n :alt: Appveyor Build\n\n.. image:: https://img.shields.io/pypi/v/pyopengl.svg\n :target: https://pypi.python.org/pypi/pyopengl\n :alt: Latest PyPI Version\n\n.. image:: https://img.shields.io/pypi/dm/pyopengl.svg\n :target: https://pypi.python.org/pypi/pyopengl\n :alt: Monthly download counter\n",
"bugtrack_url": null,
"license": null,
"summary": "Standard OpenGL bindings for Python",
"version": "3.1.10",
"project_urls": {
"Documentation": "https://mcfletch.github.io/pyopengl/documentation/index.html",
"Download": "https://pypi.org/project/PyOpenGL/",
"Homepage": "https://mcfletch.github.io/pyopengl/",
"Source": "https://github.com/mcfletch/pyopengl"
},
"split_keywords": [
"graphics",
" 3d",
" opengl",
" glu",
" glut",
" gle",
" glx",
" ext",
" arb",
" mesa",
" ctypes"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "dee41ba6f44e491c4eece978685230dde56b14d51a0365bc1b774ddaa94d14cd",
"md5": "f9451ec86b0f817d55a47a6d2ff7bb8b",
"sha256": "794a943daced39300879e4e47bd94525280685f42dbb5a998d336cfff151d74f"
},
"downloads": -1,
"filename": "pyopengl-3.1.10-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f9451ec86b0f817d55a47a6d2ff7bb8b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3194996,
"upload_time": "2025-08-18T02:32:59",
"upload_time_iso_8601": "2025-08-18T02:32:59.902135Z",
"url": "https://files.pythonhosted.org/packages/de/e4/1ba6f44e491c4eece978685230dde56b14d51a0365bc1b774ddaa94d14cd/pyopengl-3.1.10-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "6f16912b7225d56284859cd9a672827f18be43f8012f8b7b932bc4bd959a298e",
"md5": "703b05e9b17c8ce2f2879f437c3decbb",
"sha256": "c4a02d6866b54eb119c8e9b3fb04fa835a95ab802dd96607ab4cdb0012df8335"
},
"downloads": -1,
"filename": "pyopengl-3.1.10.tar.gz",
"has_sig": false,
"md5_digest": "703b05e9b17c8ce2f2879f437c3decbb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 1915580,
"upload_time": "2025-08-18T02:33:01",
"upload_time_iso_8601": "2025-08-18T02:33:01.760728Z",
"url": "https://files.pythonhosted.org/packages/6f/16/912b7225d56284859cd9a672827f18be43f8012f8b7b932bc4bd959a298e/pyopengl-3.1.10.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-18 02:33:01",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "mcfletch",
"github_project": "pyopengl",
"travis_ci": true,
"coveralls": false,
"github_actions": true,
"appveyor": true,
"tox": true,
"lcname": "pyopengl"
}