A Python 2.x wrapper for GLFW 3 using ctypes. PyPy compatible.
from glfw import *
glfwInit()
window = glfwCreateWindow(800, 600, 'GLFW3')
glfwMakeContextCurrent(window)
while not glfwWindowShouldClose(window):
glfwPollEvents()
glfwSwapBuffers(window)
glfwTerminate()libglfw.py
An automatically generated wrapper for glfw3.h
glfw.py
An abstraction layer above libglfw.py, so you don't need to muck around with ctypes.