# pygame/pygame

🐍🎮 pygame (the library) is a Free and Open Source python programming language library for making multimedia applications like games built on top of the excellent SDL library. C, Python, Native, OpenGL.

Repository: https://github.com/pygame/pygame
Canonical: https://ross.abutalabs.com/products/pygame
Homepage: https://www.pygame.org
Language: C
License Family: other
Topics: python, pygame, sdl2, sdl, game-development, gamedev, game-dev
Last push: 2025-11-01T03:05:13+00:00

## Health v2 (maintenance only)
Score: 45/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 50, release rhythm 8, longevity 100
- inputs: {"age_days": 3447, "days_push": 305, "days_rel": 703, "gap_med": null, "n_releases_24m": 1}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 8905, forks 4167 (observed 2026-08-28T04:10:26.225391+00:00)

## What it is
Pygame is a free and open-source cross-platform Python library for building multimedia applications such as video games, built on top of the SDL library. It abstracts common multimedia functions like graphics, sound, and input handling so developers can write games intuitively in Python.

## Use cases
- make a 2d game in python
- build a multimedia application with graphics and sound
- teach game programming to beginners
- create a simple arcade game prototype
- handle keyboard and mouse input for a python game
- play sounds and draw sprites in python

## When to choose
- you want to write 2D games or multimedia apps in Python
- you need a beginner-friendly, well-documented game library
- you want cross-platform support with minimal setup via pip

## When to avoid
- you need high-performance 3D rendering or a full modern game engine
- you are building production commercial games requiring advanced engine features
- you need a non-Python language or mobile-first deployment

## Facets
- artifact type: library
- maturity: stable
- function: graphics, audio-processing, game-engine, gui, image-processing
- domain: cross-platform
- platform: python, cross-platform, windows
- tags: sdl2, multimedia, 2d-games, opengl, gamedev, game-development, python, macos, linux

## Member repositories
- pygame/pygame (main) score 45

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:26.225391+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-29T17:24:43.476139+00:00, confidence not recorded.
  - readme: https://github.com/pygame/pygame (fetched 2026-08-28T04:10:26.225391+00:00, sha 7ec91a05552e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
