NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #2465 most downloaded on PyPI
pyglet is a cross-platform games and multimedia package.
Last release 9 days ago
25 Sep 2026
Ships fairly regularly
a new release about every 4 weeks
Rarely documented
notes for 3 of the last 60 stable releases
2 versions withdrawn
withdrawn after publishing
17 years old
160 releases · first in 2010
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Bugfix release. Bugfixes -------- - #256 Fix aliases for Window.get_viewport_size/get_framebuffer_size.
Bugfix release.
Major release adding several new features and removing some long deprecated methods and attributes. There are also many small bugfixes, and documentat…
Major release adding several new features and removing some long deprecated methods and attributes. There are also many small bugfixes, and documentation corrections. Thanks to everyone who submitted a pull request or contributed towards this release!
Of special note, is that the 1.4 release will be the last to support Python 2. It will also be the last release to support Legacy OpenGL (2.x). Future pyglet releases will be Python 3 only, and will require at least OpenGL 3 support. If you are using pyglet on legacy systems, don't worry. The 1.4 branch will remain available for download. Bugfixes will be backported as long as someone is willing to do so, but new features on the 1.4 branch are unlikely.
sprite.set_position. Set the X, Y coordinates via sprite.position instead.next on the Player class. This has been replaced by next_source.clock.ClockDisplay. Use window.FPSDisplay instead.clock.test_clock. This relied on deprecated behavior, and is superseded by unit tests.font.text. Use the text module instead for displaying text.window.Platform API. Use canvas.get_display or canvas.Display instead.font.Win32Font class. This has been replaced by font.GDIPlusFont, which was already default.
The class still remains, as it's subclassed by font.GDIPlusFont. The two should be merged.window.event.WindowExitHandler. This functionality is now handled by the Window itself.image.ImageData.data properties. Use the get_data and set_data methods instead.image.ImageData.image_data property. Use the get_image_data method instead.image.ImageData.texture property. Use the get_texture method instead.image.ImageData.mipmapped_texture property. Use the get_mipmapped_texture method instead.image.ImageData.texture_sequence property. Use the get_texture_sequence method instead.image.Texture.delete method. Textures are automatically released through GC.image.Texture.image_data property. Use the get_image_data method instead.wave module. This is slightly more
forgiving when loading slightly non-compliant files.pyglet.image.Texture.default_min_filter = GL_LINEAR
pyglet.image.Texture.default_mag_filter = GL_LINEARpyglet.resource module now supports loading of multi-volume Zip files.Window.activate to prevent crash if window is not yet created.past.basestring.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Bugfix release. Bugfixes -------- - #158 Fix mouse events in mouse exclusive mode on Windows. - #105 Crashes in PulseAudio; - #163 Workaround for runn
Bugfix release.
The rest of this release is focussed on code quality and test coverage. There are no API breaking changes, and only a few minor additions. Dozens of b…
This major release takes Python 3 support to the next level. The entire codebase is now compatible with both Python 2 and Python 3 without the need for 2to3. This should make it easier to develop pyglet and pyglet apps for both Python versions.
The rest of this release is focussed on code quality and test coverage. There are no API breaking changes, and only a few minor additions. Dozens of bugs have been fixed, and the codebase is in a better state for future improvement and maintainability.
scale_x and scale_y attributes, allowing for aspect ratio changes. The
existing scale attribute sets the overall scaling, and functions as before.update method which allows simultaneous changing of position, scale, and
rotation. This reduces some overhead when changing multiple attributes at once.Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Windows: Fix issue where ALT key causes app to hang.
Minor bugfix release.
Bugfixes:
Nothing published for this version
Nothing published for this version
Nothing published for this version
Minor bugfix release. Includes documentation updates for deprecated code.
Minor bugfix release. Includes documentation updates for deprecated code.
Minor bugfix release. Fixes some issues on Linux.
Minor bugfix release. Fixes some issues on Linux.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →