{ "info": { "author": "Paul Tan", "author_email": "pyokagan@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Software Development :: Code Generators", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "=========================================\r\npyglreg: OpenGL XML API Registry Parser \r\n=========================================\r\n\r\n`glreg` provides functionality to parse and extract data from\r\n`OpenGL XML API Registry`_ files. Types, enums and functions (commands) in\r\nthe registry can be enumerated and inspected. This module also provides\r\nfunctions to resolve dependencies and filter APIs in the registry. This makes\r\nit useful for generating OpenGL headers and loaders.\r\n\r\n.. _OpenGL XML API Registry:\r\n https://cvs.khronos.org/svn/repos/ogl/trunk/doc/registry/public/api/gl.xml\r\n\r\nSample code\r\n============\r\nImport the module:\r\n\r\n>>> import glreg\r\n\r\nLoad a Registry object from a file:\r\n\r\n>>> registry = glreg.load(open('gl.xml'))\r\n\r\nGenerate a simple OpenGL ES 2 C header:\r\n\r\n>>> for api in glreg.group_apis(registry, api='gles2', support='gles2'):\r\n... print('#ifndef ' + api.name)\r\n... print('#define ' + api.name)\r\n... print(api.text)\r\n... print('#endif')\r\n#ifndef GL_ES_VERSION_2_0\r\n#define GL_ES_VERSION_2_0\r\n#include \r\ntypedef khronos_int8_t GLbyte;...\r\n\r\nRequirements\r\n=============\r\n* Python 2.7+, 3.2+\r\n\r\nDocumentation\r\n==============\r\nDocumentation is available at https://pyglreg.readthedocs.org/\r\n\r\nInstallation\r\n=============\r\nglreg is available at `PyPI`_. Simply run the following::\r\n\r\n # pip install --pre glreg\r\n\r\n.. _PyPI: https://pypi.python.org/pypi/glreg/\r\n\r\nOr, if you downloaded the source, run the following from the source directory::\r\n\r\n # python setup.py install\r\n\r\nDevelopment\r\n============\r\nPlease report bugs and feature requests to https://github.com/pyokagan/pyglreg/\r\n\r\nLicense\r\n========\r\nMIT License", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pyokagan/pyglreg", "keywords": "opengl", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "glreg", "package_url": "https://pypi.org/project/glreg/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/glreg/", "project_urls": { "Homepage": "https://github.com/pyokagan/pyglreg" }, "release_url": "https://pypi.org/project/glreg/0.9.0a3/", "requires_dist": null, "requires_python": null, "summary": "OpenGL XML API registry parser", "version": "0.9.0a3" }, "last_serial": 1402842, "releases": { "0.9.0a2": [ { "comment_text": "", "digests": { "md5": "5b05ca8a484303da7a9a1f3e6e60fa37", "sha256": "f19bf1358ea3b65a486c766674552888fe1b2371c7d340b20b2c997272a0536c" }, "downloads": -1, "filename": "glreg-0.9.0a2.tar.gz", "has_sig": false, "md5_digest": "5b05ca8a484303da7a9a1f3e6e60fa37", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9163, "upload_time": "2015-01-07T15:30:39", "url": "https://files.pythonhosted.org/packages/82/89/c65c38ad69256fd989b56e039f8631b93d27624e7f291dfa4f577298c2a6/glreg-0.9.0a2.tar.gz" } ], "0.9.0a3": [ { "comment_text": "", "digests": { "md5": "5550f7efaa6902c6129006d645f8e828", "sha256": "e59db19680fb7c7c2155b8b517c52b3113d345a2ce4dff5103f9ccafc7452c25" }, "downloads": -1, "filename": "glreg-0.9.0a3.tar.gz", "has_sig": false, "md5_digest": "5550f7efaa6902c6129006d645f8e828", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9519, "upload_time": "2015-01-15T04:51:18", "url": "https://files.pythonhosted.org/packages/6e/dc/41421d8b4892eeb2110be7e191634bf9b81723b1025b066ba1a888529c95/glreg-0.9.0a3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5550f7efaa6902c6129006d645f8e828", "sha256": "e59db19680fb7c7c2155b8b517c52b3113d345a2ce4dff5103f9ccafc7452c25" }, "downloads": -1, "filename": "glreg-0.9.0a3.tar.gz", "has_sig": false, "md5_digest": "5550f7efaa6902c6129006d645f8e828", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9519, "upload_time": "2015-01-15T04:51:18", "url": "https://files.pythonhosted.org/packages/6e/dc/41421d8b4892eeb2110be7e191634bf9b81723b1025b066ba1a888529c95/glreg-0.9.0a3.tar.gz" } ] }