PySDL2 0.9.0 released

PySDL2 0.9.0 has been released.

PySDL2 is a wrapper around the SDL2 library and as such similar to the
discontinued PySDL project. In contrast to PySDL, it has no licensing
restrictions, nor does it rely on C code, but uses ctypes instead.

Version 0.9.0 is a feature release, which provides the following changes:

  • the sdl2 module is compatible with SDL2 2.0.3
  • new sdl2.ext.subsurface() function to create subsurfaces from
    sdl2.SDL_Surface objects
  • new sdl2.ext.SoftwareSprite.subsprite() method to create
    sdl2.ext.SoftwarSprite objects sharing pixel data
  • the unit test runner features a --logfile argument now to safe the unit test
    output to a file
  • the different render classes of sdl2.ext.sprite were renamed
  • the sdl2.ext.RenderContext class was renamed to sdl2.ext.Renderer
    to be consistent with with SDL2’s naming scheme
  • sdl2.ext.SpriteRenderer was renamed to sdl2.ext.SpriteRenderSystem
  • sdl2.ext.SoftwareSpriteRenderer was renamed to
  • sdl2.ext.TextureSpriteRenderer was renamed to
  • sdl2.ext.SpriteFactory.create_sprite_renderer() was renamed to
  • various bug fixes

Please note that version 0.9.0 is not compatible with previous releases, due
to the changed class names in the sdl2.ext module.

You can download it from
The documentation, listing all of its features, can be browsed online at

-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available