PyELF library allows the parsing and manipulation of ELF objects in a platform and toolchain independant manner. It is primarily designed for the Kenge build system, but would form a great basis for a general purpose Python ELF library.