Metadata-Version: 1.1
Name: glreg
Version: 0.9.0a3
Summary: OpenGL XML API registry parser
Home-page: https://github.com/pyokagan/pyglreg
Author: Paul Tan
Author-email: pyokagan@gmail.com
License: MIT
Description: =========================================
        pyglreg: OpenGL XML API Registry Parser 
        =========================================
        
        `glreg` provides functionality to parse and extract data from
        `OpenGL XML API Registry`_ files. Types, enums and functions (commands) in
        the registry can be enumerated and inspected. This module also provides
        functions to resolve dependencies and filter APIs in the registry. This makes
        it useful for generating OpenGL headers and loaders.
        
        .. _OpenGL XML API Registry:
           https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/gl.xml
        
        Sample code
        ============
        Import the module:
        
        >>> import glreg
        
        Load a Registry object from a file:
        
        >>> registry = glreg.load(open('gl.xml'))
        
        Generate a simple OpenGL ES 2 C header:
        
        >>> for api in glreg.group_apis(registry, api='gles2', support='gles2'):
        ...     print('#ifndef ' + api.name)
        ...     print('#define ' + api.name)
        ...     print(api.text)
        ...     print('#endif')
        #ifndef GL_ES_VERSION_2_0
        #define GL_ES_VERSION_2_0
        #include <KHR/khrplatform.h>
        typedef khronos_int8_t GLbyte;...
        
        Requirements
        =============
        * Python 2.7+, 3.2+
        
        Documentation
        ==============
        Documentation is available at https://pyglreg.readthedocs.org/
        
        Installation
        =============
        glreg is available at `PyPI`_. Simply run the following::
        
            # pip install --pre glreg
        
        .. _PyPI: https://pypi.python.org/pypi/glreg/
        
        Or, if you downloaded the source, run the following from the source directory::
        
            # python setup.py install
        
        Development
        ============
        Please report bugs and feature requests to https://github.com/pyokagan/pyglreg/
        
        License
        ========
        MIT License
        
Keywords: opengl
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Topic :: Software Development :: Code Generators
Classifier: Topic :: Software Development :: Libraries :: Python Modules
