# pyglet/pyglet

pyglet is a cross-platform windowing and multimedia library for Python, for developing games and other visually rich applications.

Repository: https://github.com/pyglet/pyglet
Canonical: https://ross.abutalabs.com/products/pyglet
Homepage: http://pyglet.org
Language: Python
License: BSD-3-Clause
License Family: permissive
Topics: pyglet, python, opengl, gamedev, scientific-visualization
Last push: 2026-08-25T20:33:29+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 83, longevity 100
- inputs: {"age_days": 2642, "days_push": 8, "days_rel": 33, "gap_med": 32, "n_releases_24m": 18}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2209, forks 339 (observed 2026-08-28T04:06:26.192698+00:00)

## What it is
pyglet is a cross-platform windowing and multimedia library for Python, providing native windows, input handling, OpenGL graphics, and image/audio/video playback with no external dependencies. It is intended for developing games and other visually rich applications on Windows, macOS, and Linux.

## Use cases
- build a 2d game in python
- create a window and handle keyboard input in python
- play sounds and music in a python application
- render graphics with opengl from python
- display images and video in a python app
- make a scientific visualization with python
- package a python game into a standalone executable

## When to choose
- you want a pure-Python multimedia/game library with no external dependencies
- you need cross-platform native windowing and input handling
- you want direct access to OpenGL with friendly abstractions for shaders and framebuffers
- you need to load images, audio, and video in many formats

## When to avoid
- you need a full-featured game engine with built-in physics, scene management, or asset pipelines
- you are building a standard GUI application with widgets and forms
- you need web or mobile deployment
- you rely heavily on the latest pyglet 3.0 features before the stable release

## Facets
- artifact type: library
- maturity: active
- function: graphics, audio-processing, video-processing, gui, game-engine
- domain: graphics, cross-platform, desktop-applications, developer-tools
- platform: python, windows, cross-platform
- tags: opengl, multimedia, windowing, gamedev, scientific-visualization, no-dependencies, game-development, macos, linux

## Member repositories
- pyglet/pyglet (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:26.192698+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:46:19.522689+00:00, confidence not recorded.
  - readme: https://github.com/pyglet/pyglet (fetched 2026-08-28T04:06:26.192698+00:00, sha 5bf13d6d9b70)
  - homepage: http://pyglet.org (fetched 2026-08-29T10:26:40.547495+00:00, sha d5522a493ae4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
