Moderngl
lastmod 2026-11-10created 2024-05-222 edits
ModernGL is a binding library for using modern OpenGL (3.3 and later) from Python. Unlike PyOpenGL, which exposes the C API almost as is, it wraps objects such as contexts, buffers, shader programs, and VAOs in Python classes so that a rendering pipeline can be built with little code. It does not create windows, so it is used together with libraries such as pyglet, GLFW, and Pygame.
Modern OpenGL binding for Python