$npx skillfedfor your agent

glcontext

Portable Headless OpenGL Context

With conditionsPyPI GraphicsReleased Aug 2024574.3K downloads / moMITPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — glcontext-3.0.0-cp310-cp310-macosx_10_9_x86_64.whl · glcontext-3.0.0-cp310-cp310-macosx_11_0_arm64.whl · glcontext-3.0.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl
v3.0.0 · released 2024-08-10

Yes, if you need portable headless OpenGL context creation for ModernGL or similar graphics libraries. The MIT license and zero security vulnerabilities are favorable. However, note that the package is dormant (last release 734 days ago) and marked as Production/Stable—it works well for its narrow purpose but may not receive updates for new platforms or Python versions. Medium install friction is typical for compiled graphics libraries. Install only if you specifically need OpenGL context management; it is not a general-purpose graphics library.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a working OpenGL driver and appropriate system libraries (libGL on Linux, gdi32 on Windows, native frameworks on macOS).
  • Medium install friction due to platform-specific compiled wheels.
  • Last release was 734 days ago; repository is archived-free but marked dormant, suggesting limited active maintenance.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, making it safe for most projects.

last release 2024-08-10 (734 days) · last repo commit 2024-08-10 · 45 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 574,282 downloads/mo, #5,941 on PyPI

Verify before relying

import glcontext

# Create a standalone headless OpenGL context
ctx = glcontext.create_context(glversion=410, mode='standalone')
with ctx:
    # Load OpenGL functions
    func_ptr = ctx.load('glClear')
ctx.release()
  • Whether the package works with Python versions beyond those with prebuilt wheels (3.10, 3.11, 3.12).
  • Current state of maintenance and whether dormant status affects bug fixes or platform support.
  • Whether all documented backends (wgl, x11, darwin, egl) are fully functional in version 3.0.0.
Same gist for agents: .md · .json

What it is and what it does

glcontext is a low-level OpenGL context factory for ModernGL and other graphics libraries. It abstracts the platform-specific complexity of creating and managing OpenGL rendering contexts across Windows (wgl), Linux (x11, egl), and macOS (darwin). The package provides a pluggable backend architecture where each platform backend implements a standard interface: creating contexts in detect, standalone (headless), or share modes; loading OpenGL function pointers; and managing context lifecycle with context manager support.

The library is designed to be lightweight and portable—backends load their dependencies at runtime rather than at package import time, keeping the base package safe and fast to import. It supports environment variable overrides for library paths and OpenGL versions, making it suitable for headless servers, automated rendering pipelines, and graphics applications that need fine-grained control over context creation without a window system.

Use it for

  • Headless rendering on servers or CI/CD pipelines where no display is available.
  • Creating multiple OpenGL contexts that share resources for parallel GPU work.
  • Graphics applications using ModernGL that need cross-platform context setup.
  • Automated image generation or 3D visualization without a GUI framework.
  • Testing OpenGL code on systems with different driver configurations via environment variables.

Worth the install?

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

With conditions

Yes, if you need portable headless OpenGL context creation for ModernGL or similar graphics libraries.

The MIT license and zero security vulnerabilities are favorable. However, note that the package is dormant (last release 734 days ago) and marked as Production/Stable—it works well for its narrow purpose but may not receive updates for new platforms or Python versions. Medium install friction is typical for compiled graphics libraries. Install only if you specifically need OpenGL context management; it is not a general-purpose graphics library.

Install

glcontext on PyPI

Before you install

Medium install friction due to platform-specific compiled wheels. Last release was 734 days ago; repository is archived-free but marked dormant, suggesting limited active maintenance.

Requires a working OpenGL driver and appropriate system libraries (libGL on Linux, gdi32 on Windows, native frameworks on macOS).

License in practice

MIT license permits commercial and private use with minimal restrictions, making it safe for most projects.

Quickstart

import glcontext

# Create a standalone headless OpenGL context
ctx = glcontext.create_context(glversion=410, mode='standalone')
with ctx:
    # Load OpenGL functions
    func_ptr = ctx.load('glClear')
ctx.release()

Verify before relying

  • Whether the package works with Python versions beyond those with prebuilt wheels (3.10, 3.11, 3.12).
  • Current state of maintenance and whether dormant status affects bug fixes or platform support.
  • Whether all documented backends (wgl, x11, darwin, egl) are fully functional in version 3.0.0.

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceDormant 734 days since the last release
Last repo commit
First released
Downloads574,282 / month, #5,941 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3 :: OnlyTopic :: Games/EntertainmentTopic :: Multimedia :: GraphicsTopic :: Multimedia :: Graphics :: 3D RenderingTopic :: Scientific/Engineering :: Visualization

Evidence: glcontext-3.0.0-cp310-cp310-macosx_10_9_x86_64.whl; glcontext-3.0.0-cp310-cp310-macosx_11_0_arm64.whl; glcontext-3.0.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl; glcontext-3.0.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl; glcontext-3.0.0-cp310-cp310-musllinux_1_2_i686.whl; glcontext-3.0.0-cp310-cp310-musllinux_1_2_x86_64.whl; glcontext-3.0.0-cp310-cp310-win32.whl; glcontext-3.0.0-cp310-cp310-win_amd64.whl; glcontext-3.0.0-cp311-cp311-macosx_10_9_x86_64.whl; glcontext-3.0.0-cp311-cp311-macosx_11_0_arm64.whl; glcontext-3.0.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl; glcontext-3.0.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl; glcontext-3.0.0-cp311-cp311-musllinux_1_2_i686.whl; glcontext-3.0.0-cp311-cp311-musllinux_1_2_x86_64.whl; glcontext-3.0.0-cp311-cp311-win32.whl; glcontext-3.0.0-cp311-cp311-win_amd64.whl; glcontext-3.0.0-cp312-cp312-macosx_10_9_x86_64.whl; glcontext-3.0.0-cp312-cp312-macosx_11_0_arm64.whl; glcontext-3.0.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl; glcontext-3.0.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Tags

Capabilities
opengl context creationheadless opengl renderingcross-platform gl contextmoderngl backendportable opengl setupgl context managementopengl initialization
Topics
openglheadless-renderinggraphics-backend

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 › “opengl context creation”

  • glcontextProvides portable OpenGL context creation across Windows, Linux, and…
  • glfwPython bindings for GLFW 3 that wrap the C library via ctypes,…
  • moderngl-windowmoderngl-window simplifies OpenGL window creation and resource…

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 comfy-angle · moderngl · moderngl-window · pyglet · glfw · egl-probe · PyOpenGL · pyrender · PyOpenGL-accelerate · wgpu

Further reading