{"categories":[{"label":"Graphics","url":"https://skillfed.io/packages/category/multimedia-graphics"},{"label":"Visualization","url":"https://skillfed.io/packages/category/scientific-engineering-visualization"}],"enrichment":{"capability":"Python bindings for GLFW 3 that wrap the C library via ctypes, providing window creation, input handling, and OpenGL context management with a pythonic API.","skillfed_tags":["opengl","windowing","graphics"],"use_cases":["Building 3D graphics applications with OpenGL by managing windows and input events","Creating cross-platform desktop tools that need windowing and keyboard/mouse input","Prototyping interactive visualizations or scientific simulations with graphics output","Wrapping or extending GLFW functionality in Python without writing C bindings yourself","Running frozen executables (cx_Freeze, PyInstaller) that require windowing on multiple platforms"],"what_it_does":"glfw is a ctypes-based wrapper around GLFW 3, a C library for creating windows, handling input, and managing OpenGL contexts across Windows, macOS, and Linux. It translates the GLFW C API into pythonic function names and replaces low-level constructs (pointers, structs) with Python sequences and namedtuples, making it easier to use from Python code. The package bundles pre-compiled GLFW libraries in wheels for common platforms, though you can override them with custom builds or system libraries via environment variables.\n\nTypical use is to initialize GLFW, create a window with an OpenGL context, then poll events in a render loop while your graphics code draws. It has no runtime dependencies beyond the GLFW library itself (which is bundled), so it's lightweight once installed. Error handling can be configured to report GLFW errors as warnings, exceptions, or log messages, and it supports both the original GLFW naming convention and a pythonic alternative.","worth_installing":"Yes, if you need to build OpenGL applications or interactive graphics tools in Python. The package is actively maintained, has no known vulnerabilities, uses a permissive license, and pre-built wheels eliminate most installation friction. Medium friction remains due to native library dependencies, but this is inherent to GLFW itself, not the wrapper. Not necessary if you only need 2D graphics or don't require low-level window control."},"id":"glfw","links":{"html":"https://skillfed.io/packages/glfw","md":"https://skillfed.io/packages/glfw.md","pypi":"https://pypi.org/project/glfw/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-21","license_spdx":null,"license_treatment":"permissive","name":"glfw","python_support":"unspecified","summary":"A ctypes-based wrapper for GLFW3."},"popularity":{"monthly_downloads":3602190,"position":2563,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.10.2"}
