{"categories":[{"label":"Graphics","url":"https://skillfed.io/packages/category/multimedia-graphics"}],"enrichment":{"capability":"pyglet is a cross-platform windowing and multimedia library for Python that provides graphics, input handling, and audio/video playback for games and visually rich applications.","skillfed_tags":["game-development","multimedia","graphics-rendering"],"use_cases":["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"],"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\u2014only 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.\n\nDevelopers 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.","worth_installing":"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."},"id":"pyglet","links":{"html":"https://skillfed.io/packages/pyglet","md":"https://skillfed.io/packages/pyglet.md","pypi":"https://pypi.org/project/pyglet/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-01","license_spdx":null,"license_treatment":"unclear","name":"pyglet","python_support":"supports_current","summary":"pyglet is a cross-platform games and multimedia package."},"popularity":{"monthly_downloads":2830028,"position":2875,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.1.16"}
