$npx skillfedfor your agent

pyglet

pyglet is a cross-platform games and multimedia package.

With conditionsPyPI GraphicsReleased Aug 20262.8M downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pyglet-2.1.16-py3-none-any.whl
v2.1.16 · released 2026-08-01 · Python >=3.8

Yes, if you are building games or multimedia applications in Python and want a lightweight, dependency-free solution. The active maintenance, zero runtime dependencies, and cross-platform support make it a solid choice. However, verify the license terms for your use case, and be aware that version 3.0 is coming soon with potential API changes if you use OpenGL directly.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.8+.
  • On Linux, system libraries (OpenGL/GLX, GDK 2.0+ or Pillow, OpenAL or Pulseaudio) must be installed.
  • OpenGL 3.3+ is required as of pyglet 2.0.

License · maintenance · safety

(unclear) — License treatment is unclear from the metadata, though the description states pyglet is provided under the BSD open-source license allowing both commercial and open-source use. Verify the actual license terms before relying on this for commercial projects.

last release 2026-08-01 (13 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,830,028 downloads/mo, #2,875 on PyPI

Verify before relying

pip install pyglet

import pyglet
window = pyglet.window.Window()
pyglet.app.run()
  • Exact scope of BSD license terms and any restrictions for specific use cases
  • Whether version 3.0 migration will require significant code changes for existing applications
  • Performance characteristics when rendering thousands of objects on different platforms
Same gist for agents: .md · .json

What it is and what it does

pyglet is a pure-Python cross-platform library for building games and multimedia applications on Windows, macOS, and Linux. It handles windowing, OpenGL graphics rendering, input events (keyboard, mouse, joysticks), and multimedia playback (images, audio, video) without requiring external Python dependencies—only system libraries for audio and graphics on Linux. The library uses ctypes to interface with native platform libraries, allowing it to run on standard Python and PyPy without compilation steps.

Developers use pyglet to build 2D and 3D games, interactive visualizations, and multimedia applications. It supports multiple windows, multi-monitor setups, and fullscreen rendering. For audio and video, it can use FFmpeg for a wide range of compressed formats or rely on built-in support for standard formats like WAV and PNG. The library is actively maintained with an upcoming major version (3.0) that will add multiple rendering backends and WebGL support.

Use it for

  • Build 2D or 3D games with OpenGL graphics and cross-platform input handling
  • Create interactive multimedia applications with audio and video playback
  • Develop fullscreen applications or games that span multiple monitors
  • Package and distribute Python games using tools like PyInstaller or Nuitka
  • Build visualizations or simulations requiring real-time graphics rendering

Worth the install?

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

With conditions

Yes, if you are building games or multimedia applications in Python and want a lightweight, dependency-free solution.

The active maintenance, zero runtime dependencies, and cross-platform support make it a solid choice. However, verify the license terms for your use case, and be aware that version 3.0 is coming soon with potential API changes if you use OpenGL directly.

Install

pyglet on PyPI

Before you install

Installation is straightforward with no external runtime dependencies beyond Python itself. The package is actively maintained with a recent release, and being pure Python with no compilation steps, it installs cleanly across platforms.

Requires Python 3.8+. On Linux, system libraries (OpenGL/GLX, GDK 2.0+ or Pillow, OpenAL or Pulseaudio) must be installed. OpenGL 3.3+ is required as of pyglet 2.0.

License in practice

License treatment is unclear from the metadata, though the description states pyglet is provided under the BSD open-source license allowing both commercial and open-source use. Verify the actual license terms before relying on this for commercial projects.

Quickstart

pip install pyglet

import pyglet
window = pyglet.window.Window()
pyglet.app.run()

Verify before relying

  • Exact scope of BSD license terms and any restrictions for specific use cases
  • Whether version 3.0 migration will require significant code changes for existing applications
  • Performance characteristics when rendering thousands of objects on different platforms

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 13 days since the last release
First released
Downloads2,830,028 / month, #2,875 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14

Evidence: pyglet-2.1.16-py3-none-any.whl

Tags

Capabilities
python game development librarycross-platform windowing graphicsopengl python multimediapython game engine lightweightaudio video playback pythoninput handling joystick controllerpure python graphics rendering
Topics
game-developmentmultimediagraphics-rendering

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 python multimedia”

  • pygletpyglet is a cross-platform windowing and multimedia library for…
  • PyOpenGLPyOpenGL provides standard OpenGL bindings for Python, enabling…
  • glcontextProvides portable OpenGL context creation across Windows, Linux, and…

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 glcontext · moderngl-window · dearpygui · glfw · moderngl · PyMonCtl · wgpu · PyOpenGL · imgui · pyvips-binary