[![ZenGL](https://repository-images.githubusercontent.com/420309094/f7c17e13-4d5b-4a38-8b52-ab2dfdacd5a0)](#zengl)
```
pip install zengl
```
- [Documentation](https://zengl.readthedocs.io/)
- [zengl on Github](https://github.com/szabolcsdombi/zengl/)
- [zengl on PyPI](https://pypi.org/project/zengl/)
- [Discord](https://discord.gg/nM34Uv7x)
# ZenGL
ZenGL is a low level graphics library. Works on all platforms including the browser.
## Description
- **Context** is the root object to access OpenGL
- **Image** is an OpenGL Texture or Renderbuffer
- **Buffer** is an OpenGL Buffer
- **Pipeline** is an OpenGL Program + Vertex Array + Framebuffer + _complete state for rendering_
```py
ctx = zengl.context()
texture = ctx.image(size, 'rgba8unorm', pixels)
renderbuffer = ctx.image(size, 'rgba8unorm', samples=4)
vertex_buffer = ctx.buffer(vertices)
pipeline = ctx.pipeline(...)
```
The complete OpenGL state is encapsulated by the **Pipeline**.
Rendering with multiple pipelines guarantees proper state with minimal changes and api calls.
```py
background.render()
scene.render()
particles.render()
bloom.render()
```
**Pipelines** render to framebuffers, **Images** can be blit to the screen.
```py
# init time
pipeline = ctx.pipeline(
framebuffer=[image, depth],
)
```
```py
# per frame
image.clear()
depth.clear()
pipeline.render()
image.blit()
```
Programs are simple, easy, and cached. Unique shader sources are only compiled once.
```py
pipeline = ctx.pipeline(
vertex_shader='''
#version 330 core
void main() {
gl_Position = ...
}
''',
fragment_shader='''
#version 330 core
out vec4 frag_color;
void main() {
frag_color = ...
}
''',
)
```
Vertex Arrays are simple.
```py
# simple
pipeline = ctx.pipeline(
vertex_buffers=zengl.bind(vertex_buffer, '3f 3f 2f', 0, 1, 2),
vertex_count=vertex_buffer.size // zengl.calcsize('3f 3f 2f'),
)
```
```py
# indexed
pipeline = ctx.pipeline(
vertex_buffers=zengl.bind(vertex_buffer, '3f 3f 2f', 0, 1, 2),
index_buffer=index_buffer,
vertex_count=index_buffer.size // 4,
)
```
```py
# instanced
pipeline = ctx.pipeline(
vertex_buffers=[
*zengl.bind(vertex_buffer, '3f 3f 2f', 0, 1, 2),
*zengl.bind(instance_buffer, '3f 4f /i', 3, 4),
],
vertex_count=vertex_buffer.size // zengl.calcsize('3f 3f 2f'),
instance_count=1000,
)
```
Uniform Buffer, Texture, and Sampler binding is easy.
```py
# uniform buffers
pipeline = ctx.pipeline(
layout=[
{
'name': 'Common',
'binding': 0,
},
],
resources=[
{
'type': 'uniform_buffer',
'binding': 0,
'buffer': uniform_buffer,
},
],
)
```
```py
# textures
pipeline = ctx.pipeline(
layout=[
{
'name': 'Texture',
'binding': 0,
},
],
resources=[
{
'type': 'sampler',
'binding': 0,
'image': texture,
'wrap_x': 'clamp_to_edge',
'wrap_y': 'clamp_to_edge',
'min_filter': 'nearest',
'mag_filter': 'nearest',
},
],
)
```
Postprocessing and Compute can be implemented as rendering a fullscreen quad.
```py
pipeline = ctx.pipeline(
vertex_shader='''
#version 330 core
vec2 vertices[3] = vec2[](
vec2(-1.0, -1.0),
vec2(3.0, -1.0),
vec2(-1.0, 3.0)
);
void main() {
gl_Position = vec4(vertices[gl_VertexID], 0.0, 1.0);
}
''',
fragment_shader='''
#version 330 core
out vec4 frag_color;
void main() {
frag_color = ...
}
''',
topology='triangles',
vertex_count=3,
)
```
```py
particle_system = ctx.pipeline(
vertex_shader=...,
fragment_shader='''
#version 330 core
uniform sampler2D Position;
uniform sampler2D Velocity;
uniform vec3 Acceleration;
layout (location = 0) out vec3 OutputPosition;
layout (location = 1) out vec3 OutputVelocity;
void main() {
ivec2 at = ivec2(gl_FragCoord.xy);
vec3 position = texelFetch(Position, at, 0).xyz;
vec3 velocity = texelFetch(Velocity, at, 0).xyz;
OutputPosition = position + velocity;
OutputVelocity = velocity + Acceleration;
}
''',
)
```
ZenGL intentionally does not support:
- Transform Feedback
- Geometry Shaders
- Tesselation
- Compute Shaders
- 3D Textures
- Storage Buffers
Most of the above can be implemented in a more hardware friendly way using the existing ZenGL API.
Interoperability with other modules is also possible. Using such may reduce the application's portablity.
It is even possible to use direct OpenGL calls together with ZenGL, however this is likely not necessary.
It is common to render directly to the screen with OpenGL.
With ZenGL, the right way is to render to a framebuffer and blit the final image to the screen.
This allows fine-grained control of the framebuffer format, guaranteed multisampling settings, correct depth/stencil precison.
It is also possible to render directly to the screen, however this feature is designed to be used for the postprocessing step.
This design allows ZenGL to support:
- Rendering without a window
- Rendering to multiple windows
- Rendering to HDR monitors
- Refreshing the screen without re-rendering the scene
- Apply post-processing without changing how the scene is rendered
- Making reusable shaders and components
- Taking screenshots or exporting a video
The [default framebuffer](https://www.khronos.org/opengl/wiki/Default_Framebuffer) in OpenGL is highly dependent on how the Window is created.
It is often necessary to configure the Window to provide the proper depth precision, stencil buffer, multisampling and double buffering.
Often the "best pixel format" lacks all of these features on purpose. ZenGL aims to allow choosing these pixel formats and ensures the user specifies the rendering requirements.
It is even possible to render low-resolution images and upscale them for high-resolution monitors.
Tearing can be easily prevented by decoupling the scene rendering from the screen updates.
ZenGL was designed for Prototyping
It is tempting to start a project with Vulkan, however even getting a simple scene rendered requires tremendous work and advanced tooling to compile shaders ahead of time. ZenGL provides self-contained Pipelines which can be easily ported to Vulkan.
ZenGL code is verbose and easy to read.
ZenGL support multiple design patters
Many libraries enfore certain design patterns.
ZenGL avoids this by providing cached pipeline creation, pipeline templating and lean resourece and framebuffer definition.
It is supported to create pipelines on the fly or template them for certain use-cases.
> TODO: examples for such patters
ZenGL emerged from an experimental version of [ModernGL](https://github.com/moderngl/moderngl).
To keep ModernGL backward compatible, ZenGL was re-designed from the ground-up to support a strict subset of OpenGL.
On the other hand, ModernGL supports a wide variety of OpenGL versions and extensions.
## Disambiguation
- ZenGL is a drop-in replacement for pure OpenGL code
- Using ZenGL requires some OpenGL knowledge
- ZenGL Images are OpenGL [Texture Objects](https://www.khronos.org/opengl/wiki/Texture) or [Renderbuffer Objects](https://www.khronos.org/opengl/wiki/Renderbuffer_Object)
- ZenGL Buffers are OpenGL [Buffer Objects](https://www.khronos.org/opengl/wiki/Buffer_Object)
- ZenGL Pipelines contain an OpenGL [Vertex Array Object](https://www.khronos.org/opengl/wiki/Vertex_Specification#Vertex_Array_Object), a [Program Object](https://www.khronos.org/opengl/wiki/GLSL_Object#Program_objects), and a [Framebuffer Object](https://www.khronos.org/opengl/wiki/Framebuffer)
- ZenGL Pipelines may also contain OpenGL [Sampler Objects](https://www.khronos.org/opengl/wiki/Sampler_Object)
- Creating ZenGL Pipelines does not necessarily compile the shader from source
- The ZenGL Shader Cache exists independently from the Pipeline objects
- A Framebuffer is always represented by a Python list of ZenGL Images
- There is no `Pipeline.clear()` method, individual images must be cleared independently
- GLSL Uniform Blocks and sampler2D objects are bound in the Pipeline layout
- Textures and Uniform Buffers are bound in the Pipeline resources
## [Examples](./examples/)
[![bezier_curves](https://user-images.githubusercontent.com/11232402/235417415-f04815bf-3380-45fa-9804-f9f36016f46c.png)](#native-examples)
[![deferred_rendering](https://user-images.githubusercontent.com/11232402/235417431-4dd870ea-1804-4b00-bfd2-49e3ca72e2b1.png)](#native-examples)
[![envmap](https://user-images.githubusercontent.com/11232402/235417438-0cc02333-dd92-47e4-b874-ff1b6dca2086.png)](#native-examples)
[![fractal](https://user-images.githubusercontent.com/11232402/235417445-73efbe67-21ea-4aae-a1ff-6aa4002bf58d.png)](#native-examples)
[![grass](https://user-images.githubusercontent.com/11232402/235417450-3ff0b82d-e097-40cd-947a-58803e464cd3.png)](#native-examples)
[![normal_mapping](https://user-images.githubusercontent.com/11232402/235417454-1d8e4bfb-02ad-42a2-87ba-ce39f47de14d.png)](#native-examples)
[![rigged_objects](https://user-images.githubusercontent.com/11232402/235417459-79483b7f-6581-4788-a662-ef81087334b6.png)](#native-examples)
[![wireframe](https://user-images.githubusercontent.com/11232402/235417465-f3f54a9b-624b-4fa1-88b6-f725ac468e78.png)](#native-examples)
### Simple Pipeline Definition
```py
pipeline = ctx.pipeline(
# program definition
vertex_shader='...',
fragment_shader='...',
layout=[
{
'name': 'Uniforms',
'binding': 0,
},
{
'name': 'Texture',
'binding': 0,
},
],
# descriptor sets
resources=[
{
'type': 'uniform_buffer',
'binding': 0,
'buffer': uniform_buffer,
},
{
'type': 'sampler',
'binding': 0,
'image': texture,
},
],
# uniforms
uniforms={
'color': [0.0, 0.5, 1.0],
'iterations': 10,
},
# program definition global state
depth={
'func': 'less',
'write': False,
},
stencil={
'front': {
'fail_op': 'replace',
'pass_op': 'replace',
'depth_fail_op': 'replace',
'compare_op': 'always',
'compare_mask': 1,
'write_mask': 1,
'reference': 1,
},
'back': ...,
# or
'both': ...,
},
blend={
'enable': True,
'src_color': 'src_alpha',
'dst_color': 'one_minus_src_alpha',
},
cull_face='back',
topology='triangles',
# framebuffer
framebuffer=[color1, color2, ..., depth],
viewport=(x, y, width, height),
# vertex array
vertex_buffers=[
*zengl.bind(vertex_buffer, '3f 3f', 0, 1), # bound vertex attributes
*zengl.bind(None, '2f', 2), # unused vertex attribute
],
index_buffer=index_buffer, # or None
short_index=False, # 2 or 4 byte intex
vertex_count=...,
instance_count=1,
first_vertex=0,
# override includes
includes={
'common': '...',
},
)
# some members are actually mutable and calls no OpenGL functions
pipeline.viewport = ...
pipeline.vertex_count = ...
pipeline.uniforms['iterations'][:] = struct.pack('i', 50) # writable memoryview
# rendering
pipeline.render() # no parameters for hot code
```
Raw data
{
"_id": null,
"home_page": "https://github.com/szabolcsdombi/zengl/",
"name": "zengl",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "OpenGL, rendering, graphics, shader, gpu",
"author": "Szabolcs Dombi",
"author_email": "szabolcs@szabolcsdombi.com",
"download_url": "https://files.pythonhosted.org/packages/fd/ee/3585dc99b43bc33c457b203edbd258f386d97e60b955259c0d410c8ed891/zengl-2.7.1.tar.gz",
"platform": "any",
"description": "[![ZenGL](https://repository-images.githubusercontent.com/420309094/f7c17e13-4d5b-4a38-8b52-ab2dfdacd5a0)](#zengl)\n\n```\npip install zengl\n```\n\n- [Documentation](https://zengl.readthedocs.io/)\n- [zengl on Github](https://github.com/szabolcsdombi/zengl/)\n- [zengl on PyPI](https://pypi.org/project/zengl/)\n- [Discord](https://discord.gg/nM34Uv7x)\n\n# ZenGL\n\nZenGL is a low level graphics library. Works on all platforms including the browser.\n\n## Description\n\n- **Context** is the root object to access OpenGL\n- **Image** is an OpenGL Texture or Renderbuffer\n- **Buffer** is an OpenGL Buffer\n- **Pipeline** is an OpenGL Program + Vertex Array + Framebuffer + _complete state for rendering_\n\n```py\nctx = zengl.context()\ntexture = ctx.image(size, 'rgba8unorm', pixels)\nrenderbuffer = ctx.image(size, 'rgba8unorm', samples=4)\nvertex_buffer = ctx.buffer(vertices)\npipeline = ctx.pipeline(...)\n```\n\nThe complete OpenGL state is encapsulated by the **Pipeline**.\n\nRendering with multiple pipelines guarantees proper state with minimal changes and api calls.\n\n```py\nbackground.render()\nscene.render()\nparticles.render()\nbloom.render()\n```\n\n**Pipelines** render to framebuffers, **Images** can be blit to the screen.\n\n```py\n# init time\npipeline = ctx.pipeline(\n framebuffer=[image, depth],\n)\n```\n\n```py\n# per frame\nimage.clear()\ndepth.clear()\npipeline.render()\nimage.blit()\n```\n\nPrograms are simple, easy, and cached. Unique shader sources are only compiled once.\n\n```py\npipeline = ctx.pipeline(\n vertex_shader='''\n #version 330 core\n\n void main() {\n gl_Position = ...\n }\n ''',\n fragment_shader='''\n #version 330 core\n\n out vec4 frag_color;\n\n void main() {\n frag_color = ...\n }\n ''',\n)\n```\n\nVertex Arrays are simple.\n\n```py\n# simple\npipeline = ctx.pipeline(\n vertex_buffers=zengl.bind(vertex_buffer, '3f 3f 2f', 0, 1, 2),\n vertex_count=vertex_buffer.size // zengl.calcsize('3f 3f 2f'),\n)\n```\n\n```py\n# indexed\npipeline = ctx.pipeline(\n vertex_buffers=zengl.bind(vertex_buffer, '3f 3f 2f', 0, 1, 2),\n index_buffer=index_buffer,\n vertex_count=index_buffer.size // 4,\n)\n```\n\n```py\n# instanced\npipeline = ctx.pipeline(\n vertex_buffers=[\n *zengl.bind(vertex_buffer, '3f 3f 2f', 0, 1, 2),\n *zengl.bind(instance_buffer, '3f 4f /i', 3, 4),\n ],\n vertex_count=vertex_buffer.size // zengl.calcsize('3f 3f 2f'),\n instance_count=1000,\n)\n```\n\nUniform Buffer, Texture, and Sampler binding is easy.\n\n```py\n# uniform buffers\npipeline = ctx.pipeline(\n layout=[\n {\n 'name': 'Common',\n 'binding': 0,\n },\n ],\n resources=[\n {\n 'type': 'uniform_buffer',\n 'binding': 0,\n 'buffer': uniform_buffer,\n },\n ],\n)\n```\n\n```py\n# textures\npipeline = ctx.pipeline(\n layout=[\n {\n 'name': 'Texture',\n 'binding': 0,\n },\n ],\n resources=[\n {\n 'type': 'sampler',\n 'binding': 0,\n 'image': texture,\n 'wrap_x': 'clamp_to_edge',\n 'wrap_y': 'clamp_to_edge',\n 'min_filter': 'nearest',\n 'mag_filter': 'nearest',\n },\n ],\n)\n```\n\nPostprocessing and Compute can be implemented as rendering a fullscreen quad.\n\n```py\npipeline = ctx.pipeline(\n vertex_shader='''\n #version 330 core\n\n vec2 vertices[3] = vec2[](\n vec2(-1.0, -1.0),\n vec2(3.0, -1.0),\n vec2(-1.0, 3.0)\n );\n\n void main() {\n gl_Position = vec4(vertices[gl_VertexID], 0.0, 1.0);\n }\n ''',\n fragment_shader='''\n #version 330 core\n\n out vec4 frag_color;\n\n void main() {\n frag_color = ...\n }\n ''',\n topology='triangles',\n vertex_count=3,\n)\n```\n\n```py\nparticle_system = ctx.pipeline(\n vertex_shader=...,\n fragment_shader='''\n #version 330 core\n\n uniform sampler2D Position;\n uniform sampler2D Velocity;\n uniform vec3 Acceleration;\n\n layout (location = 0) out vec3 OutputPosition;\n layout (location = 1) out vec3 OutputVelocity;\n\n void main() {\n ivec2 at = ivec2(gl_FragCoord.xy);\n vec3 position = texelFetch(Position, at, 0).xyz;\n vec3 velocity = texelFetch(Velocity, at, 0).xyz;\n OutputPosition = position + velocity;\n OutputVelocity = velocity + Acceleration;\n }\n ''',\n)\n```\n\nZenGL intentionally does not support:\n\n- Transform Feedback\n- Geometry Shaders\n- Tesselation\n- Compute Shaders\n- 3D Textures\n- Storage Buffers\n\nMost of the above can be implemented in a more hardware friendly way using the existing ZenGL API.\nInteroperability with other modules is also possible. Using such may reduce the application's portablity.\nIt is even possible to use direct OpenGL calls together with ZenGL, however this is likely not necessary.\n\nIt is common to render directly to the screen with OpenGL.\nWith ZenGL, the right way is to render to a framebuffer and blit the final image to the screen.\nThis allows fine-grained control of the framebuffer format, guaranteed multisampling settings, correct depth/stencil precison.\nIt is also possible to render directly to the screen, however this feature is designed to be used for the postprocessing step.\n\nThis design allows ZenGL to support:\n\n- Rendering without a window\n- Rendering to multiple windows\n- Rendering to HDR monitors\n- Refreshing the screen without re-rendering the scene\n- Apply post-processing without changing how the scene is rendered\n- Making reusable shaders and components\n- Taking screenshots or exporting a video\n\nThe [default framebuffer](https://www.khronos.org/opengl/wiki/Default_Framebuffer) in OpenGL is highly dependent on how the Window is created.\nIt is often necessary to configure the Window to provide the proper depth precision, stencil buffer, multisampling and double buffering.\nOften the \"best pixel format\" lacks all of these features on purpose. ZenGL aims to allow choosing these pixel formats and ensures the user specifies the rendering requirements.\nIt is even possible to render low-resolution images and upscale them for high-resolution monitors.\nTearing can be easily prevented by decoupling the scene rendering from the screen updates.\n\nZenGL was designed for Prototyping\n\nIt is tempting to start a project with Vulkan, however even getting a simple scene rendered requires tremendous work and advanced tooling to compile shaders ahead of time. ZenGL provides self-contained Pipelines which can be easily ported to Vulkan.\nZenGL code is verbose and easy to read.\n\nZenGL support multiple design patters\n\nMany libraries enfore certain design patterns.\nZenGL avoids this by providing cached pipeline creation, pipeline templating and lean resourece and framebuffer definition.\nIt is supported to create pipelines on the fly or template them for certain use-cases.\n\n> TODO: examples for such patters\n\nZenGL emerged from an experimental version of [ModernGL](https://github.com/moderngl/moderngl).\nTo keep ModernGL backward compatible, ZenGL was re-designed from the ground-up to support a strict subset of OpenGL.\nOn the other hand, ModernGL supports a wide variety of OpenGL versions and extensions.\n\n## Disambiguation\n\n- ZenGL is a drop-in replacement for pure OpenGL code\n- Using ZenGL requires some OpenGL knowledge\n- ZenGL Images are OpenGL [Texture Objects](https://www.khronos.org/opengl/wiki/Texture) or [Renderbuffer Objects](https://www.khronos.org/opengl/wiki/Renderbuffer_Object)\n- ZenGL Buffers are OpenGL [Buffer Objects](https://www.khronos.org/opengl/wiki/Buffer_Object)\n- ZenGL Pipelines contain an OpenGL [Vertex Array Object](https://www.khronos.org/opengl/wiki/Vertex_Specification#Vertex_Array_Object), a [Program Object](https://www.khronos.org/opengl/wiki/GLSL_Object#Program_objects), and a [Framebuffer Object](https://www.khronos.org/opengl/wiki/Framebuffer)\n- ZenGL Pipelines may also contain OpenGL [Sampler Objects](https://www.khronos.org/opengl/wiki/Sampler_Object)\n- Creating ZenGL Pipelines does not necessarily compile the shader from source\n- The ZenGL Shader Cache exists independently from the Pipeline objects\n- A Framebuffer is always represented by a Python list of ZenGL Images\n- There is no `Pipeline.clear()` method, individual images must be cleared independently\n- GLSL Uniform Blocks and sampler2D objects are bound in the Pipeline layout\n- Textures and Uniform Buffers are bound in the Pipeline resources\n\n## [Examples](./examples/)\n\n[![bezier_curves](https://user-images.githubusercontent.com/11232402/235417415-f04815bf-3380-45fa-9804-f9f36016f46c.png)](#native-examples)\n[![deferred_rendering](https://user-images.githubusercontent.com/11232402/235417431-4dd870ea-1804-4b00-bfd2-49e3ca72e2b1.png)](#native-examples)\n[![envmap](https://user-images.githubusercontent.com/11232402/235417438-0cc02333-dd92-47e4-b874-ff1b6dca2086.png)](#native-examples)\n[![fractal](https://user-images.githubusercontent.com/11232402/235417445-73efbe67-21ea-4aae-a1ff-6aa4002bf58d.png)](#native-examples)\n[![grass](https://user-images.githubusercontent.com/11232402/235417450-3ff0b82d-e097-40cd-947a-58803e464cd3.png)](#native-examples)\n[![normal_mapping](https://user-images.githubusercontent.com/11232402/235417454-1d8e4bfb-02ad-42a2-87ba-ce39f47de14d.png)](#native-examples)\n[![rigged_objects](https://user-images.githubusercontent.com/11232402/235417459-79483b7f-6581-4788-a662-ef81087334b6.png)](#native-examples)\n[![wireframe](https://user-images.githubusercontent.com/11232402/235417465-f3f54a9b-624b-4fa1-88b6-f725ac468e78.png)](#native-examples)\n\n### Simple Pipeline Definition\n\n```py\npipeline = ctx.pipeline(\n # program definition\n vertex_shader='...',\n fragment_shader='...',\n layout=[\n {\n 'name': 'Uniforms',\n 'binding': 0,\n },\n {\n 'name': 'Texture',\n 'binding': 0,\n },\n ],\n\n # descriptor sets\n resources=[\n {\n 'type': 'uniform_buffer',\n 'binding': 0,\n 'buffer': uniform_buffer,\n },\n {\n 'type': 'sampler',\n 'binding': 0,\n 'image': texture,\n },\n ],\n\n # uniforms\n uniforms={\n 'color': [0.0, 0.5, 1.0],\n 'iterations': 10,\n },\n\n # program definition global state\n depth={\n 'func': 'less',\n 'write': False,\n },\n stencil={\n 'front': {\n 'fail_op': 'replace',\n 'pass_op': 'replace',\n 'depth_fail_op': 'replace',\n 'compare_op': 'always',\n 'compare_mask': 1,\n 'write_mask': 1,\n 'reference': 1,\n },\n 'back': ...,\n # or\n 'both': ...,\n },\n blend={\n 'enable': True,\n 'src_color': 'src_alpha',\n 'dst_color': 'one_minus_src_alpha',\n },\n cull_face='back',\n topology='triangles',\n\n # framebuffer\n framebuffer=[color1, color2, ..., depth],\n viewport=(x, y, width, height),\n\n # vertex array\n vertex_buffers=[\n *zengl.bind(vertex_buffer, '3f 3f', 0, 1), # bound vertex attributes\n *zengl.bind(None, '2f', 2), # unused vertex attribute\n ],\n index_buffer=index_buffer, # or None\n short_index=False, # 2 or 4 byte intex\n vertex_count=...,\n instance_count=1,\n first_vertex=0,\n\n # override includes\n includes={\n 'common': '...',\n },\n)\n\n# some members are actually mutable and calls no OpenGL functions\npipeline.viewport = ...\npipeline.vertex_count = ...\npipeline.uniforms['iterations'][:] = struct.pack('i', 50) # writable memoryview\n\n# rendering\npipeline.render() # no parameters for hot code\n```\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "OpenGL Pipelines for Python",
"version": "2.7.1",
"project_urls": {
"Bug Tracker": "https://github.com/szabolcsdombi/zengl/issues/",
"Documentation": "https://zengl.readthedocs.io/",
"Homepage": "https://github.com/szabolcsdombi/zengl/",
"Source": "https://github.com/szabolcsdombi/zengl/"
},
"split_keywords": [
"opengl",
" rendering",
" graphics",
" shader",
" gpu"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1f7ac43fcf9b7bceba156b34f394e0986595387083cf2751b6796b3aa62377c5",
"md5": "226162f988c9abc746148c02b7133a99",
"sha256": "dcca2977557df21ca9f1422168641cd23a3486ef216d60e1b491c8f83b83d568"
},
"downloads": -1,
"filename": "zengl-2.7.1-cp310-cp310-macosx_10_9_x86_64.whl",
"has_sig": false,
"md5_digest": "226162f988c9abc746148c02b7133a99",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": null,
"size": 47090,
"upload_time": "2024-12-02T16:33:01",
"upload_time_iso_8601": "2024-12-02T16:33:01.765101Z",
"url": "https://files.pythonhosted.org/packages/1f/7a/c43fcf9b7bceba156b34f394e0986595387083cf2751b6796b3aa62377c5/zengl-2.7.1-cp310-cp310-macosx_10_9_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "eacfc8bda28bdb5f30e1ac6a83141f01223a95cd4ec30a93b149f9f1e6bea3e3",
"md5": "2c3e7b21ff468368eb0fdd230d04668b",
"sha256": "4716705f0b1166a50cfd277c38b41af95b5063a5daef13205ac318513bb09848"
},
"downloads": -1,
"filename": "zengl-2.7.1-cp310-cp310-macosx_11_0_arm64.whl",
"has_sig": false,
"md5_digest": "2c3e7b21ff468368eb0fdd230d04668b",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": null,
"size": 45437,
"upload_time": "2024-12-02T16:33:04",
"upload_time_iso_8601": "2024-12-02T16:33:04.025532Z",
"url": "https://files.pythonhosted.org/packages/ea/cf/c8bda28bdb5f30e1ac6a83141f01223a95cd4ec30a93b149f9f1e6bea3e3/zengl-2.7.1-cp310-cp310-macosx_11_0_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bf30c98793cbc4ac48eb48e44e49e3f96eb633188efbe3f991378d16d88107c6",
"md5": "0579d5b8a8ba11a94100ecea07d23c54",
"sha256": "97ba10985976ab391570895222c1e5335301f7cc2146aac9d73c3ea0ba45888c"
},
"downloads": -1,
"filename": "zengl-2.7.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "0579d5b8a8ba11a94100ecea07d23c54",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": null,
"size": 135197,
"upload_time": "2024-12-02T16:33:05",
"upload_time_iso_8601": "2024-12-02T16:33:05.182369Z",
"url": "https://files.pythonhosted.org/packages/bf/30/c98793cbc4ac48eb48e44e49e3f96eb633188efbe3f991378d16d88107c6/zengl-2.7.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d406dcc70170d711965d9d10711b093d27a02512f7a52bca17d400f62d716218",
"md5": "8c79c7ea677a5002e8987dc2a548cbde",
"sha256": "67eda3a7e88c4222dd0391a4535aae7eb6936d4ac8eea3600265323bd17ac275"
},
"downloads": -1,
"filename": "zengl-2.7.1-cp310-cp310-musllinux_1_2_x86_64.whl",
"has_sig": false,
"md5_digest": "8c79c7ea677a5002e8987dc2a548cbde",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": null,
"size": 133499,
"upload_time": "2024-12-02T16:33:06",
"upload_time_iso_8601": "2024-12-02T16:33:06.273648Z",
"url": "https://files.pythonhosted.org/packages/d4/06/dcc70170d711965d9d10711b093d27a02512f7a52bca17d400f62d716218/zengl-2.7.1-cp310-cp310-musllinux_1_2_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ae31f7be1ba6cc2c5ee4a91cd63e4b99ba37967a6f1b3369c50fbf6ac06a0d71",
"md5": "cabfde210d1fd69451e640c8af116012",
"sha256": "508dfa2ccbe9737456104038427fbd033b3e1ed965aac3093a3cdf52f7eeea75"
},
"downloads": -1,
"filename": "zengl-2.7.1-cp310-cp310-win_amd64.whl",
"has_sig": false,
"md5_digest": "cabfde210d1fd69451e640c8af116012",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": null,
"size": 47463,
"upload_time": "2024-12-02T16:33:07",
"upload_time_iso_8601": "2024-12-02T16:33:07.381714Z",
"url": "https://files.pythonhosted.org/packages/ae/31/f7be1ba6cc2c5ee4a91cd63e4b99ba37967a6f1b3369c50fbf6ac06a0d71/zengl-2.7.1-cp310-cp310-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "515084080cc0f4cb3849daba0f19860574f3168daea8909cb3daa81a1471227f",
"md5": "883d7a2e441f346985a009d830890087",
"sha256": "9842a4b59bdc59332c2c0697d3b0a35882781eb1429ccf316efb6df3ffa4d1dd"
},
"downloads": -1,
"filename": "zengl-2.7.1-cp311-cp311-macosx_10_9_x86_64.whl",
"has_sig": false,
"md5_digest": "883d7a2e441f346985a009d830890087",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": null,
"size": 47094,
"upload_time": "2024-12-02T16:33:09",
"upload_time_iso_8601": "2024-12-02T16:33:09.736438Z",
"url": "https://files.pythonhosted.org/packages/51/50/84080cc0f4cb3849daba0f19860574f3168daea8909cb3daa81a1471227f/zengl-2.7.1-cp311-cp311-macosx_10_9_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7e685c316c8031ca80b6021336e58de35322a1b277bd260c06e71ad508c69f7f",
"md5": "f8a81babcb6c1b4ad76c40c528b040e2",
"sha256": "5ec66cf330b7b02171a7c92a180928f038b62f7862cfc2528c32fad47eeda878"
},
"downloads": -1,
"filename": "zengl-2.7.1-cp311-cp311-macosx_11_0_arm64.whl",
"has_sig": false,
"md5_digest": "f8a81babcb6c1b4ad76c40c528b040e2",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": null,
"size": 45439,
"upload_time": "2024-12-02T16:33:11",
"upload_time_iso_8601": "2024-12-02T16:33:11.496272Z",
"url": "https://files.pythonhosted.org/packages/7e/68/5c316c8031ca80b6021336e58de35322a1b277bd260c06e71ad508c69f7f/zengl-2.7.1-cp311-cp311-macosx_11_0_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "47cd6d5b728da2ff66e49b61c8adc53352d2d65dc58372c301d84e41581274e5",
"md5": "110adc03fe3ec6e05942486a6ebb95cd",
"sha256": "54d7d7bc07e51898811504d8b2622310d93650d1219c5c7a8e741e0768d7544c"
},
"downloads": -1,
"filename": "zengl-2.7.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "110adc03fe3ec6e05942486a6ebb95cd",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": null,
"size": 136300,
"upload_time": "2024-12-02T16:33:13",
"upload_time_iso_8601": "2024-12-02T16:33:13.190853Z",
"url": "https://files.pythonhosted.org/packages/47/cd/6d5b728da2ff66e49b61c8adc53352d2d65dc58372c301d84e41581274e5/zengl-2.7.1-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "36ad40b0d0e920803ecbbbfde60dd81051fd8d7c59241e8058ffbec5eb65852a",
"md5": "36b056bb9d38d7060a8e7d67aa1b9575",
"sha256": "b5b5a76943b357d67c63678af942da7ef0d5bd7f437ada996f01ecdee6abe3d0"
},
"downloads": -1,
"filename": "zengl-2.7.1-cp311-cp311-musllinux_1_2_x86_64.whl",
"has_sig": false,
"md5_digest": "36b056bb9d38d7060a8e7d67aa1b9575",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": null,
"size": 134391,
"upload_time": "2024-12-02T16:33:14",
"upload_time_iso_8601": "2024-12-02T16:33:14.298597Z",
"url": "https://files.pythonhosted.org/packages/36/ad/40b0d0e920803ecbbbfde60dd81051fd8d7c59241e8058ffbec5eb65852a/zengl-2.7.1-cp311-cp311-musllinux_1_2_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "413f1752893c7aa4138034a27f504757b12632bf0390452289b22992f37ba595",
"md5": "253948aa28926e94b7b2af595f0e4f47",
"sha256": "caa874e2ad8423dfa8b54427a0a3199e248badc00e38d6b822ac1ca7836dad1c"
},
"downloads": -1,
"filename": "zengl-2.7.1-cp311-cp311-win_amd64.whl",
"has_sig": false,
"md5_digest": "253948aa28926e94b7b2af595f0e4f47",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": null,
"size": 47460,
"upload_time": "2024-12-02T16:33:15",
"upload_time_iso_8601": "2024-12-02T16:33:15.360915Z",
"url": "https://files.pythonhosted.org/packages/41/3f/1752893c7aa4138034a27f504757b12632bf0390452289b22992f37ba595/zengl-2.7.1-cp311-cp311-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "01cedda56f117082afd7472985836358909995ce32908cccc044e19d6cebac5b",
"md5": "45c20daeb26ef0ac43a3c9f8abe50fdc",
"sha256": "3591172c7bbd2718d8dac49cde236e6a0b7744139296d66493a34e8935b0500f"
},
"downloads": -1,
"filename": "zengl-2.7.1-cp312-cp312-macosx_10_13_x86_64.whl",
"has_sig": false,
"md5_digest": "45c20daeb26ef0ac43a3c9f8abe50fdc",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": null,
"size": 47101,
"upload_time": "2024-12-02T16:33:16",
"upload_time_iso_8601": "2024-12-02T16:33:16.975157Z",
"url": "https://files.pythonhosted.org/packages/01/ce/dda56f117082afd7472985836358909995ce32908cccc044e19d6cebac5b/zengl-2.7.1-cp312-cp312-macosx_10_13_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "27a771bba4c70386ae316b6c67d7a242c821c24ecb8d34b5be54850223312c2f",
"md5": "f989b1aa8af56d3730b3e65fed9850ef",
"sha256": "7c09f5506a2f7d4f09bfddab0a1078151f84141231e72b01974543c3567bafd0"
},
"downloads": -1,
"filename": "zengl-2.7.1-cp312-cp312-macosx_11_0_arm64.whl",
"has_sig": false,
"md5_digest": "f989b1aa8af56d3730b3e65fed9850ef",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": null,
"size": 45315,
"upload_time": "2024-12-02T16:33:18",
"upload_time_iso_8601": "2024-12-02T16:33:18.362731Z",
"url": "https://files.pythonhosted.org/packages/27/a7/71bba4c70386ae316b6c67d7a242c821c24ecb8d34b5be54850223312c2f/zengl-2.7.1-cp312-cp312-macosx_11_0_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "915a897034f6e5d4e1e7277ae52f9d6b5a82326262e259dce77672b36ce10c8b",
"md5": "d6089937ffd1fc839538cf644018e697",
"sha256": "776503e67c53fc668c6b65af9d9504f033cb7f637f3c31d91f3706c28ab3d2e6"
},
"downloads": -1,
"filename": "zengl-2.7.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "d6089937ffd1fc839538cf644018e697",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": null,
"size": 140797,
"upload_time": "2024-12-02T16:33:19",
"upload_time_iso_8601": "2024-12-02T16:33:19.437961Z",
"url": "https://files.pythonhosted.org/packages/91/5a/897034f6e5d4e1e7277ae52f9d6b5a82326262e259dce77672b36ce10c8b/zengl-2.7.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "ca80b9364278d4c0b2ae9a78f0ca9ab2cd7a53acbaa8538bd91ee71897adc649",
"md5": "a4d98bd88663dd3fac9a2404ecc2fd14",
"sha256": "b450c917dfc19ccb7000e8095fa962df4d0c37b853886fc988ee2c55a3fef81c"
},
"downloads": -1,
"filename": "zengl-2.7.1-cp312-cp312-musllinux_1_2_x86_64.whl",
"has_sig": false,
"md5_digest": "a4d98bd88663dd3fac9a2404ecc2fd14",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": null,
"size": 139446,
"upload_time": "2024-12-02T16:33:21",
"upload_time_iso_8601": "2024-12-02T16:33:21.198396Z",
"url": "https://files.pythonhosted.org/packages/ca/80/b9364278d4c0b2ae9a78f0ca9ab2cd7a53acbaa8538bd91ee71897adc649/zengl-2.7.1-cp312-cp312-musllinux_1_2_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3550a14f799c9c0fc4834c6ee7d58a577df809b690ebf2b3a35eba49f51f78d6",
"md5": "fb6f65369ad44e7e84b3e346641a97d8",
"sha256": "33a6e722b4796c3748edeb5c6a1355119d24229ac95a42ecb08155ce21637f4e"
},
"downloads": -1,
"filename": "zengl-2.7.1-cp312-cp312-win_amd64.whl",
"has_sig": false,
"md5_digest": "fb6f65369ad44e7e84b3e346641a97d8",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": null,
"size": 47816,
"upload_time": "2024-12-02T16:33:22",
"upload_time_iso_8601": "2024-12-02T16:33:22.300657Z",
"url": "https://files.pythonhosted.org/packages/35/50/a14f799c9c0fc4834c6ee7d58a577df809b690ebf2b3a35eba49f51f78d6/zengl-2.7.1-cp312-cp312-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6e27f77ef906fdee768417cfedd9688bff737c520c30672550cc216e16b3d1b2",
"md5": "626be28dc54ba43937c4a8358fa64581",
"sha256": "6c9cd55dc17a68a258acc22722798bce0c459183c20f0675aebc2d330baee72f"
},
"downloads": -1,
"filename": "zengl-2.7.1-cp313-cp313-macosx_10_13_x86_64.whl",
"has_sig": false,
"md5_digest": "626be28dc54ba43937c4a8358fa64581",
"packagetype": "bdist_wheel",
"python_version": "cp313",
"requires_python": null,
"size": 47105,
"upload_time": "2024-12-02T16:33:23",
"upload_time_iso_8601": "2024-12-02T16:33:23.308862Z",
"url": "https://files.pythonhosted.org/packages/6e/27/f77ef906fdee768417cfedd9688bff737c520c30672550cc216e16b3d1b2/zengl-2.7.1-cp313-cp313-macosx_10_13_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "00f0e3b17c1e2303e770e10fd8bfccb4c597e6bd1209b57fd206a1ed10a29c8b",
"md5": "5e41ddd363509a2c1887d606ddf9ef19",
"sha256": "1723fdd68da2f249259a96f1c5f48bfb785d4ce4aa387f80db84001dc54acded"
},
"downloads": -1,
"filename": "zengl-2.7.1-cp313-cp313-macosx_11_0_arm64.whl",
"has_sig": false,
"md5_digest": "5e41ddd363509a2c1887d606ddf9ef19",
"packagetype": "bdist_wheel",
"python_version": "cp313",
"requires_python": null,
"size": 45319,
"upload_time": "2024-12-02T16:33:25",
"upload_time_iso_8601": "2024-12-02T16:33:25.032740Z",
"url": "https://files.pythonhosted.org/packages/00/f0/e3b17c1e2303e770e10fd8bfccb4c597e6bd1209b57fd206a1ed10a29c8b/zengl-2.7.1-cp313-cp313-macosx_11_0_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "db3d375288214c056456cef0194ea8b22e1c6609f872d0a09974cda66fccedb7",
"md5": "3e2aff5f246fde1489373cc38065fe59",
"sha256": "a8b1cff2344f9f121488a360c72d811bdce4644627b24e8a281e64c8bb035e07"
},
"downloads": -1,
"filename": "zengl-2.7.1-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "3e2aff5f246fde1489373cc38065fe59",
"packagetype": "bdist_wheel",
"python_version": "cp313",
"requires_python": null,
"size": 140745,
"upload_time": "2024-12-02T16:33:26",
"upload_time_iso_8601": "2024-12-02T16:33:26.030282Z",
"url": "https://files.pythonhosted.org/packages/db/3d/375288214c056456cef0194ea8b22e1c6609f872d0a09974cda66fccedb7/zengl-2.7.1-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3c4efaa57110cd83f51c0d2207cdc0f60af858a6cfe6edd8299f069c90204115",
"md5": "3c477773e9a03bc87e8139476d6bd617",
"sha256": "da4a43eec756c2b5b88fc5800e403716babb55dc0480ba4b56d21fe3fb8cb422"
},
"downloads": -1,
"filename": "zengl-2.7.1-cp313-cp313-musllinux_1_2_x86_64.whl",
"has_sig": false,
"md5_digest": "3c477773e9a03bc87e8139476d6bd617",
"packagetype": "bdist_wheel",
"python_version": "cp313",
"requires_python": null,
"size": 139500,
"upload_time": "2024-12-02T16:33:27",
"upload_time_iso_8601": "2024-12-02T16:33:27.119480Z",
"url": "https://files.pythonhosted.org/packages/3c/4e/faa57110cd83f51c0d2207cdc0f60af858a6cfe6edd8299f069c90204115/zengl-2.7.1-cp313-cp313-musllinux_1_2_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7f343c14c298d2c71913688bd12795aa0118634ad4a5cc43b01cf6f7704c9104",
"md5": "b9b073b39235ebee1c87969b654b2652",
"sha256": "4f154bcc666d4c3bdc938ad14f99663724cd2bfb8c56c3ff4c03dde3a9d1d89b"
},
"downloads": -1,
"filename": "zengl-2.7.1-cp313-cp313-win_amd64.whl",
"has_sig": false,
"md5_digest": "b9b073b39235ebee1c87969b654b2652",
"packagetype": "bdist_wheel",
"python_version": "cp313",
"requires_python": null,
"size": 47825,
"upload_time": "2024-12-02T16:33:28",
"upload_time_iso_8601": "2024-12-02T16:33:28.345408Z",
"url": "https://files.pythonhosted.org/packages/7f/34/3c14c298d2c71913688bd12795aa0118634ad4a5cc43b01cf6f7704c9104/zengl-2.7.1-cp313-cp313-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "fdee3585dc99b43bc33c457b203edbd258f386d97e60b955259c0d410c8ed891",
"md5": "caf20b549eed4faea885b8487e053885",
"sha256": "39cda9a5a9c0c67466e2bb9a105e97b05436308a89d5d29f839cac9a01a42995"
},
"downloads": -1,
"filename": "zengl-2.7.1.tar.gz",
"has_sig": false,
"md5_digest": "caf20b549eed4faea885b8487e053885",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 54863,
"upload_time": "2024-12-02T16:32:57",
"upload_time_iso_8601": "2024-12-02T16:32:57.174277Z",
"url": "https://files.pythonhosted.org/packages/fd/ee/3585dc99b43bc33c457b203edbd258f386d97e60b955259c0d410c8ed891/zengl-2.7.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-02 16:32:57",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "szabolcsdombi",
"github_project": "zengl",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "zengl"
}