Skip to main content

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-2024 Ero Carrera <ero.carrera@gmail.com>

Release files for pefile 2024.8.26

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pefile 2024.8.26
File Size Uploaded
pefile-2024.8.26.tar.gz 76.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pefile 2024.8.26
File Interpreter ABI Platform
pefile-2024.8.26-py3-none-any.whl Python 3 none any Details

Total release size: 150.8 kB

Release files / pefile-2024.8.26.tar.gz

Download URL pefile-2024.8.26.tar.gz
Size 76.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3ff6c5d8b43e8c37bb6e6dd5085658d658a7a0bdcd20b6a07b1fcfc1c4e9d632
BLAKE2b-256 checksum
How to use checksums
034f2750f7f6f025a1507cd3b7218691671eecfd0bbebebe8b39aa0fe1d360b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release files / pefile-2024.8.26-py3-none-any.whl

Download URL pefile-2024.8.26-py3-none-any.whl
Size 74.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
76f8b485dcd3b1bb8166f1128d395fa3d87af26360c2358fb75b80019b957c6f
BLAKE2b-256 checksum
How to use checksums
541612b82f791c7f50ddec566873d5bdd245baa1491bac11d15ffb98aecc8f8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.9

Release history Release notifications | RSS feed

This release

2024.8.26 This release

2 release files

2016.3.4

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page