{
 "kind": "tool",
 "slug": "pygame",
 "path": "tools/pygame/",
 "name": "Pygame",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Game development",
   "tools/game-dev/"
  ]
 ],
 "lead": "Cross-platform library for game and multimedia development.",
 "chips": [
  {
   "label": "Game development",
   "path": "tools/game-dev/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install pygame"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/pygame/pygame"
  },
  {
   "label": "Website",
   "href": "https://www.pygame.org"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "LGPL",
   "status": "cond",
   "sub": "Share changes to the library",
   "quote": null,
   "note": "License from PyPI classifier.",
   "src": "https://github.com/pygame/pygame"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Quiet for a year",
   "status": "cond",
   "sub": "Last change Nov 1, 2025",
   "note": "Latest GitHub release Sep 29, 2024. ",
   "src": "https://github.com/pygame/pygame"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "10 projects",
   "status": "info",
   "sub": "#2 of 8 in its category",
   "note": "Dependency in 10 public GitHub projects set up for AI coding agents that we scanned (0.2%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Community skills",
   "status": "info",
   "sub": "1 skills by others",
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Pygame does",
   "parts": [
    {
     "t": "prose",
     "text": "Cross-platform library for game and multimedia development."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Pygame popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "52",
       "of": "/ 100",
       "l": "Gid Score, #1725 overall"
      },
      {
       "n": "622K",
       "l": "downloads a week, pypi"
      },
      {
       "n": "9,018",
       "l": "GitHub stars"
      },
      {
       "n": "10",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How Pygame is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Pygame is a dependency in 10 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 80 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is pyglet (1 projects).",
      "Projects that use it most often also use NumPy (82.5%), Requests (77.5%), Pillow (66.2%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "5 projects, 0.2%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "5 projects, 0.2%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 82.5% of its projects",
       "v": "NumPy",
       "path": "tools/numpy/"
      },
      {
       "l": "In 77.5% of its projects",
       "v": "Requests",
       "path": "tools/requests-py/"
      },
      {
       "l": "In 66.2% of its projects",
       "v": "Pillow",
       "path": "tools/pillow/"
      },
      {
       "l": "In 62.5% of its projects",
       "v": "python-dotenv",
       "path": "tools/python-dotenv/"
      },
      {
       "l": "In 61.3% of its projects",
       "v": "pandas",
       "path": "tools/pandas/"
      },
      {
       "l": "In 60.0% of its projects",
       "v": "Pydantic",
       "path": "tools/pydantic/"
      },
      {
       "l": "In 56.2% of its projects",
       "v": "PyYAML",
       "path": "tools/pyyaml/"
      },
      {
       "l": "In 55.0% of its projects",
       "v": "psutil",
       "path": "tools/psutil/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Pygame",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Agent Skills for it",
       "path": "skills/",
       "items": [
        "pygame-core: Builds and debugs 2D games in Python with pygame-ce (imported as pygame): the event-update-draw loop, delta time, Surfaces and Rects, Sprite"
       ]
      },
      {
       "title": "More in Game development",
       "path": "tools/game-dev/",
       "items": [
        {
         "text": "Phaser",
         "path": "tools/phaser/"
        },
        {
         "text": "Matter.js",
         "path": "tools/matter-js/"
        },
        {
         "text": "chess.js",
         "path": "tools/chess-js/"
        },
        {
         "text": "phaser3-rex-plugins",
         "path": "tools/phaser3-rex-plugins/"
        },
        {
         "text": "Colyseus",
         "path": "tools/colyseus/"
        },
        {
         "text": "PyBullet",
         "path": "tools/pybullet/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Pygame",
       "me": true,
       "facts": [
        "LGPL",
        "Gid 52",
        "622K/wk"
       ]
      },
      {
       "name": "pyglet",
       "why": "Cross-platform Python library for games, multimedia and window management.",
       "path": "tools/pyglet/",
       "facts": [
        "Gid 39",
        "519K/wk"
       ]
      }
     ],
     "more": "Compare Pygame with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install pygame"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Pygame yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi pygame"
  ],
  [
   "Category",
   "Game development"
  ],
  [
   "License",
   "LGPL"
  ],
  [
   "Gid Score",
   "52.2"
  ],
  [
   "Rank in category",
   "#2 of 8"
  ],
  [
   "GitHub",
   "pygame/pygame"
  ],
  [
   "Last change",
   "Nov 1, 2025"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/pygame.png"
}