PythonGameLibraries

Legacy Wiki Page

This page was migrated from the old MoinMoin-based wiki. Information may be outdated or no longer applicable. For current documentation, see python.org.

This page lists libraries that may be useful when GameProgramming in Python.

Other

http://www.pythonware.com/products/pil/

  • Adds image processing capabilities to your Python interpreter. This library supports many file formats, and provides powerful image processing and graphics capabilities.

http://pyode.sourceforge.net/

  • PyODE is a set of open-source Python bindings for The Open Dynamics Engine, an open-source physics engine.

http://www.pymunk.org/

  • pymunk is a easy-to-use pythonic 2d physics library that can be used whenever you need 2d rigid body physics from Python. It is built on top of the very nice 2d physics library Chipmunk ( http://chipmunk-physics.net ).

https://github.com/pybox2d/pybox2d

  • pyBox2D is a 2D physics library for Python based on Box2D ( http://www.box2d.org ). Large set of examples with support for pyglet and pygame (with partial GTK/cairo support on the SVN).

http://arcticpaint.com/projects/rabbyt/

  • Rabbyt is a fast sprite library for Python.

http://oomadness.tuxfamily.org/en/pyopenal/index.html

  • PyOpenAL is a binding of OpenAL (http://www.openal.org) for Python. OpenAL is a cross-platform 3D audio API appropriate for use with gaming applications and many other types of audio applications

http://www.libavg.de/

  • libavg is a multimedia platform with powerful layout and video support that’s scripted in python and suitable for game development.

http://oomadness.tuxfamily.org/en/tofu/index.html

  • Tofu is a practical high-level network game engine, written in Python and based on Twisted.

http://www.vrplumber.com/py3d.py

  • A small collection (64 packages) of pointers to Python software for working in three dimensions.

http://www.pymedia.org/

  • PyMedia allows you to parse, demutiplex, multiplex, decode and encode wav, mp3, ogg, avi, divx, dvd, cdda etc files manipulations. (note, no new releases since 2006)

http://panda3d.org/

  • Panda3D is a 3D engine: a library of subroutines for 3D rendering and game development. The library is C++ with a set of Python bindings. Game development with Panda3D usually consists of writing a Python program that controls the the Panda3D library.

http://cgkit.sourceforge.net/

  • The Python Computer Graphics Kit is a generic 3D package that can be useful in any domain where you have to deal with 3D data of any kind, be it for visualization, creating photorealistic images, Virtual Reality or even games.

http://trac.zeitherrschaft.org/neuro/

  • Nedu (Neuro Engine for Demos (Underestimated)) is a game and demo engine/library. It allows you to rapidly develop games and multimedia 3D presentations under Linux and Win32.

http://darkqueen.org/docs/code/korg_draw/

  • A drawing wrapper around pygame and/or PIL that offers simple graphics operations aswell as nicer text layout.

http://louhi.kempele.fi/~skyostil/projects/pyamanith/

  • PyAmanith is a Python wrapper for the Amanith 2D vector graphics library. It strives to offer a pythonic interface to the library and make all its features accessible.

http://trac.defuze.org/browser/oss/pygflw

  • Python bindings for the GFLW library.

http://www.partiallydisassembled.net/euclid.html

  • 2D and 3D vector, matrix and quaternion classes, and intersection and nearest-point finding for points, lines, rays, line segments, circles and spheres.

http://pyallegro.sourceforge.net/

  • Use the Allegro library from Python. Offers two versions, one direct wrapper, and one more pygame like with Python objects encapsulating Allegro’s API.

http://directpython.sourceforge.net/

https://opensvn.csie.org/traccgi/pyrr

  • Pyrr is a new python wrapper for the irrlicht game engine. It is still in development, a standalone demo (py2exe generated), based on the quakemap irrlicht sample, is downloadable (win32/Dx9).

http://code.google.com/p/py-lepton/

  • Lepton is a high-performance, pluggable particle engine and API for Python. Still under development, but already it has some useful features. It works with pygame, pyglet or PyOpenGL.

http://www.horde3d.org/forums/viewtopic.php?f=1&t=313

  • Python Bindings for Horde3D: A small open source 3D rendering engine. It is written in an effort to create a graphics engine that offers the stunning visual effects expected in next-generation games while at the same time being as lightweight and conceptually clean as possible.

http://pir.sourceforge.net

  • Python ctypes module for Irrlicht Engine SDK. This project also have few additional nested projects: SWIG wraper, FreeBASIC object oriented library, FASM (flat assembler) and TinyCC usage examples.

http://ignifuga.org

  • The Ignifuga Game Engine is a data driven and component oriented multi platform 2D engine based in Python/Cython and SDL. All your game logic code along with the engine’s and supporting tools is converted to C during the build process, and compiled into one big standalone binary for each of the supported platforms (Linux 64, Win32 and Android right now, with plans to expand to OS X and iOS).

TrueSkill

  • An implementation of the TrueSkill™ algorithm for Python. TrueSkill™ is a rating system among game players. It has been used on Xbox Live to rank and match players. TrueSkill system quantizes “TRUE” skill points by a Bayesian inference algorithm.

Ranking

  • A library to assign suitable ranks even tie scores. Also this provides most common strategies for assigning ranking: standard competition ranking (1224); modified competition ranking (1334); dense ranking (1223); ordinal ranking (1234); fractional ranking (1 2.5 2.5 4)

Energy

  • Energy system for social games.

JoBase

  • JoBase is a fast Python game library for beginner coders. It is easy to use and can also run in the browser! Visit jobase.org to get started.

Python kivy

* Kivy - game/opengl/widget library