Python PE parsing module
pefile, Portable Executable reader module
All the PE file basic structures are available with their default names as attributes of the instance returned.
Processed elements such as the import table are made available with lowercase names, to differentiate them from the upper case basic structure names.
pefile has been tested against many edge cases such as corrupted and malformed PEs as well as malware, which often attempts to abuse the format way beyond its standard use. To the best of my knowledge most of the abuse is handled gracefully.
Copyright (c) 2005-2019 Ero Carrera <firstname.lastname@example.org>
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash||File type||Python version||Upload date|
|pefile-2019.4.18.tar.gz (62.4 kB) View hashes||Source||None|