$npx skillfedfor your agent

glfw

A ctypes-based wrapper for GLFW3.

With conditionsPyPI GraphicsReleased Jul 20263.6M downloads / moMITPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — glfw-2.10.2-py2.py3-none-macosx_10_6_intel.whl · glfw-2.10.2-py2.py3-none-macosx_11_0_arm64.whl · glfw-2.10.2-py2.py3-none-manylinux2014_aarch64.whl
v2.10.2 · released 2026-07-21

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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires GLFW shared library; wheels include it for Windows, macOS, and Linux, but custom builds or system libraries may be needed on some platforms.
  • Set PYGLFW_LIBRARY to override the bundled library path.
  • Medium install friction due to native library dependencies, but wheels are pre-built for Windows, macOS (Intel and ARM), and Linux (x86_64 and aarch64).

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely in commercial or private projects with minimal restrictions.

last release 2026-07-21 (24 days) · last repo commit 2026-07-21 · 255 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,602,190 downloads/mo, #2,563 on PyPI

Verify before relying

pip install glfw

import glfw

if glfw.init():
    window = glfw.create_window(640, 480, "Hello", None, None)
    glfw.make_context_current(window)
    glfw.terminate()
  • Whether the package supports modern Python versions beyond 2 and 3 (classifiers list both but requires_python is unspecified)
  • Performance characteristics and latency for real-time graphics applications
  • Compatibility with Wayland on Linux (description mentions detection but not guarantees)
Same gist for agents: .md · .json

What it is and 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.

Typical 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.

Use it for

  • 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

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

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.

Install

glfw on PyPI

Before you install

Medium install friction due to native library dependencies, but wheels are pre-built for Windows, macOS (Intel and ARM), and Linux (x86_64 and aarch64). Active maintenance with a release 24 days ago.

Requires GLFW shared library; wheels include it for Windows, macOS, and Linux, but custom builds or system libraries may be needed on some platforms. Set PYGLFW_LIBRARY to override the bundled library path.

License in practice

MIT license is permissive; you can use, modify, and distribute this package freely in commercial or private projects with minimal restrictions.

Quickstart

pip install glfw

import glfw

if glfw.init():
    window = glfw.create_window(640, 480, "Hello", None, None)
    glfw.make_context_current(window)
    glfw.terminate()

Verify before relying

  • Whether the package supports modern Python versions beyond 2 and 3 (classifiers list both but requires_python is unspecified)
  • Performance characteristics and latency for real-time graphics applications
  • Compatibility with Wayland on Linux (description mentions detection but not guarantees)

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceActively maintained 24 days since the last release
Last repo commit
First released
Downloads3,602,190 / month, #2,563 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: MacOS XEnvironment :: X11 ApplicationsIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 2Programming Language :: Python :: 3Topic :: Multimedia :: GraphicsTopic :: Scientific/Engineering :: Visualization

Evidence: glfw-2.10.2-py2.py3-none-macosx_10_6_intel.whl; glfw-2.10.2-py2.py3-none-macosx_11_0_arm64.whl; glfw-2.10.2-py2.py3-none-manylinux2014_aarch64.whl; glfw-2.10.2-py2.py3-none-manylinux2014_x86_64.whl; glfw-2.10.2-py2.py3-none-manylinux_2_28_aarch64.whl; glfw-2.10.2-py2.py3-none-manylinux_2_28_x86_64.whl; glfw-2.10.2-py2.py3-none-win32.whl; glfw-2.10.2-py2.py3-none-win_amd64.whl

Tags

Capabilities
glfw python bindingswindow creation openglcross-platform windowing libraryglfw3 ctypes wrapperopengl context managementinput handling keyboard mousegraphics window management
Topics
openglwindowinggraphics

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “glfw python bindings”

  • glfwPython bindings for GLFW 3 that wrap the C library via ctypes,…
  • mujocoMuJoCo is a physics simulation engine with Python bindings that…
  • PyGEL3DPyGEL3D provides Python bindings for a C++ geometry processing…

Give your agent the search over MCP, or paste the wish link into any chat.

More Graphics packages

pillow Worth it
PyPI · Graphics · released Jul 2026

Pillow adds image processing capabilities to Python, providing file format support, efficient pixel data handling, and image manipulation operations.

Install it if you need to work with images in Python—it is the de facto standard for this task.

MIT-CMUcompiled wheel · 3.10+
547.1Mdownloads / mo
fonttools Worth it
PyPI · Text Processing · released May 2026

fonttools manipulates font files in multiple formats (TrueType, OpenType, AFM, Type 1, Mac-specific) and includes TTX, a tool to convert fonts to and from XML text format.

Install it if you need to read, write, or manipulate fonts programmatically or via the TTX command-line tool.

permissive licensepure Python · 3.10+
235.9Mdownloads / mo
matplotlib-inline Worth it
PyPI · Graphics · released May 2026

Enables matplotlib figures to display inline directly within Jupyter notebooks and IPython environments instead of in separate windows.

BSD-3-Clausepure Python · 3.9+
130.5Mdownloads / mo
pymupdf Worth it
PyPI · Libraries · released Aug 2026

PyMuPDF extracts, renders, converts, and manipulates PDF and other document formats (XPS, EPUB, images, Office files via Pro) with high performance, providing text, tables, images, and metadata with precise layout information.

The AGPL license requires careful review if you are building proprietary software—commercial licensing is available from Artifex.

AGPLcompiled wheel · 3.10+
114.9Mdownloads / mo
pypdfium2 Worth it
PyPI · Libraries · released Aug 2026

pypdfium2 is a Python binding to PDFium that enables PDF rendering, inspection, manipulation, and creation through a ctypes interface to Google's PDFium library.

Install it if you need PDF rendering, inspection, or manipulation in Python; the medium install friction is offset by comprehensive platform support.

permissive licensecompiled wheel · 3.6+
76.9Mdownloads / mo
altair Worth it
PyPI · Graphics · released Jun 2026

Altair is a declarative Python library for creating interactive statistical visualizations by writing simple, readable code that compiles to Vega-Lite specifications.

BSD-3-Clausepure Python · 3.10+
54.5Mdownloads / mo

See also PyOpenGL · moderngl-window · glcontext · pyclibrary · EWMHlib · freetype-py · pyglet · pyglm · moderngl · PyGEL3D