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/c0/42/71080db298df3ddb7e3090bfea8fd7c300894d8b10954c22f8719bd434eb/pyopengl-3.1.9.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.9",
"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": "",
"digests": {
"blake2b_256": "92448634af40b0db528b5b37e901c0dc67321354880d251bf8965901d57693a5",
"md5": "c7fade5e610cf8f37a532440ea1c8b8f",
"sha256": "15995fd3b0deb991376805da36137a4ae5aba6ddbb5e29ac1f35462d130a3f77"
},
"downloads": -1,
"filename": "PyOpenGL-3.1.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c7fade5e610cf8f37a532440ea1c8b8f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3190341,
"upload_time": "2025-01-20T02:17:50",
"upload_time_iso_8601": "2025-01-20T02:17:50.913447Z",
"url": "https://files.pythonhosted.org/packages/92/44/8634af40b0db528b5b37e901c0dc67321354880d251bf8965901d57693a5/PyOpenGL-3.1.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c04271080db298df3ddb7e3090bfea8fd7c300894d8b10954c22f8719bd434eb",
"md5": "f3b334fd5a855e17a644aa1924a9320d",
"sha256": "28ebd82c5f4491a418aeca9672dffb3adbe7d33b39eada4548a5b4e8c03f60c8"
},
"downloads": -1,
"filename": "pyopengl-3.1.9.tar.gz",
"has_sig": false,
"md5_digest": "f3b334fd5a855e17a644aa1924a9320d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 1913642,
"upload_time": "2025-01-20T02:17:53",
"upload_time_iso_8601": "2025-01-20T02:17:53.263468Z",
"url": "https://files.pythonhosted.org/packages/c0/42/71080db298df3ddb7e3090bfea8fd7c300894d8b10954c22f8719bd434eb/pyopengl-3.1.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-20 02:17:53",
"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"
}