Skip to content
Python ctypes wrapper around SDL2
Python Other
  1. Python 99.3%
  2. Other 0.7%
Branch: master
Clone or download
a-hurst Improved compatibility handling for functions (#154)
Add new DLL compatibility check mechanism and add 2.0.6 back to CI
Latest commit 47d3261 Jan 20, 2020

README.rst

About PySDL2

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.

Installation

PySDL2 is easy to install and integrate within your own projects. Just follow Python's standard procedure of installing packages or look for a prebuilt package for your operating system or distribution.

Documentation

If you just started with SDL and PySDL2, it is strongly recommended that you read through the tutorial of the documentation to learn the basics. You can find the documentation at doc/html or online at http://pysdl2.readthedocs.org.

CI Environments

Linux, MacOS X: https://travis-ci.org/marcusva/py-sdl2

Windows: https://ci.appveyor.com/project/marcusva/py-sdl2

License

This library is given to the public domain. There are no licensing restrictions. Please see doc/copying.rst for further details.

You can’t perform that action at this time.