PyFFI is to Python programmers what hex editors are to desktop users. It allows them to read and process binary files.

Many block structured binary file formats are supported by default, but the great thing about PyFFi is its modular structure which enables developers to code-in support for their favorite file formats as well.