Portable executable (PE, Windows EXE and DLL) reader / extractor tool in pure python.
Also can read EFI applications (like GRUB2 in efi mode, EFI Shell, modern Linux kernels). Can be used as python library.
To get help run:
py -3 -m libpe --help # windows
python -m libpe --help # linux