I didn't finish my game -- how about a new SDL2 wrapper instead?

Well, I had fun working on my game, but I had more fun figuring out whether it would run faster under pypy with a cffi binding to SDL2. Answer: Yes, on PyPy my simple Tiled map renderer runs five times faster using a cffi wrapper than using a ctypes wrapper.

So far it's proving to be really easy to port SDL2's own tests/ example code to the wrapper's non-renamed API using Eric S. Raymond's ctopy plus some manual tweaking. If you would like to contribute then adding more ported tests would be a great way to do it.

I haven't made as much progress creating a Pythonic API for the library; for example, if a function returns (x, y) coordinates then you will still have to pass and dereference two int* rather than just getting a Python tuple.

At https://bitbucket.org/dholth/pysdl2-cffi and on pypi.