The Python File Format Interface aims to make it easy to manipulate binary files in a Python environment. Starting from a file format description written in XML, PyFFI creates customizable Python classes to read and write file blocks as described by the XML. Currently, PyFFI supports the NetImmerse/Gamebryo NIF and KFM formats, FaceGen's EGM and TRI formats, CryTek's CGF format, the DDS format, and the TGA format. Many tools for files used by 3D games, such as a stripifier, and a tangent space calculator, are included in PyFFI as well.
QSkope is PyFFI's graphical user interface, and enables simple editing of files in any file format supported by PyFFI.
This release features improvements for the tri format, and an implementation of the egt format, many bug fixes, support for Laxe Lore nifs, various new spells, big-endian support, Maya 2011 support for the installer, and the code has been refactored resulting in a speed-up of about 8% for read and write operations.
For information on how to use PyFFI, browse the documentation here:
http://pyffi.sourceforge.net/apidocs
You can download the latest version of PyFFI and the documentation here: