Python C++
Clone or download

PySFML - Python bindings for SFML

This is version 2.3.2 of the official Python bindings for SFML, based on SFML 2.3.2, and is made available under the terms of the zlib/libpng license.

pip install pySFML

These bindings officially support Python 2.7 and the latest versions of Python 3.x but we encourage you to use the latter one. Incidentally, the documentation, tutorials and examples are written in the latest version of Python.

Please visit the website ( for any complementary information on this project. Also, feel free to email us with any questions or concerns.

You're also encouraged to visit (and contribute) to the wiki which gathers various piece of code, tutorials, tips and tricks.

These bindings were created in large part by Jonathan De Wachter, with significant contributions from Edwin Marshall. Thanks a lot to James Cowgill who occasionally fixes broken builds and maintains Debian packages. Other contributors include Jorge Araya Navarro and Richard Sims.