PyOpenGL


NamePyOpenGL JSON
Version 3.1.7 PyPI version JSON
download
home_pagehttp://pyopengl.sourceforge.net
SummaryStandard OpenGL bindings for Python
upload_time2023-05-23 13:17:04
maintainer
docs_urlNone
authorMike C. Fletcher
requires_python
licenseBSD
keywords graphics 3d opengl glu glut gle glx ext arb mesa ctypes
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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": "http://pyopengl.sourceforge.net",
    "name": "PyOpenGL",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "Graphics,3D,OpenGL,GLU,GLUT,GLE,GLX,EXT,ARB,Mesa,ctypes",
    "author": "Mike C. Fletcher",
    "author_email": "mcfletch@vrplumber.com",
    "download_url": "https://files.pythonhosted.org/packages/72/b6/970868d44b619292f1f54501923c69c9bd0ab1d2d44cf02590eac2706f4f/PyOpenGL-3.1.7.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": "BSD",
    "summary": "Standard OpenGL bindings for Python",
    "version": "3.1.7",
    "project_urls": {
        "Download": "https://pypi.org/project/PyOpenGL/",
        "Homepage": "http://pyopengl.sourceforge.net"
    },
    "split_keywords": [
        "graphics",
        "3d",
        "opengl",
        "glu",
        "glut",
        "gle",
        "glx",
        "ext",
        "arb",
        "mesa",
        "ctypes"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "994800e31747821d3fc56faddd00a4725454d1e694a8b67d715cf20f531506a5",
                "md5": "a1b739bbc5f604748b712b3c8160f91d",
                "sha256": "a6ab19cf290df6101aaf7470843a9c46207789855746399d0af92521a0a92b7a"
            },
            "downloads": -1,
            "filename": "PyOpenGL-3.1.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a1b739bbc5f604748b712b3c8160f91d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 2416834,
            "upload_time": "2023-05-23T13:17:01",
            "upload_time_iso_8601": "2023-05-23T13:17:01.293941Z",
            "url": "https://files.pythonhosted.org/packages/99/48/00e31747821d3fc56faddd00a4725454d1e694a8b67d715cf20f531506a5/PyOpenGL-3.1.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "72b6970868d44b619292f1f54501923c69c9bd0ab1d2d44cf02590eac2706f4f",
                "md5": "aad014a8e6d4d0d4f94a1702de80ba6a",
                "sha256": "eef31a3888e6984fd4d8e6c9961b184c9813ca82604d37fe3da80eb000a76c86"
            },
            "downloads": -1,
            "filename": "PyOpenGL-3.1.7.tar.gz",
            "has_sig": false,
            "md5_digest": "aad014a8e6d4d0d4f94a1702de80ba6a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 1896446,
            "upload_time": "2023-05-23T13:17:04",
            "upload_time_iso_8601": "2023-05-23T13:17:04.907819Z",
            "url": "https://files.pythonhosted.org/packages/72/b6/970868d44b619292f1f54501923c69c9bd0ab1d2d44cf02590eac2706f4f/PyOpenGL-3.1.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-23 13:17:04",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "pyopengl"
}
        
Elapsed time: 0.34622s