A Python library for reading, writing, and processing binary files.
Project description
PyFFI 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 format, and CryTek’s CGF format. Many tools for files used by 3D games, such as a stripifier, and a tangent space calculator, are included in PyFFI as well.