Skip to main content

Python PE parsing module

Project description

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>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pefile-2024.8.26.tar.gz (76.0 kB view details)

Uploaded Source

Built Distribution

pefile-2024.8.26-py3-none-any.whl (74.8 kB view details)

Uploaded Python 3

File details

Details for the file pefile-2024.8.26.tar.gz.

File metadata

  • Download URL: pefile-2024.8.26.tar.gz
  • Upload date:
  • Size: 76.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for pefile-2024.8.26.tar.gz
Algorithm Hash digest
SHA256 3ff6c5d8b43e8c37bb6e6dd5085658d658a7a0bdcd20b6a07b1fcfc1c4e9d632
MD5 f511b370db4c80137aadf457a905fa53
BLAKE2b-256 034f2750f7f6f025a1507cd3b7218691671eecfd0bbebebe8b39aa0fe1d360b8

See more details on using hashes here.

File details

Details for the file pefile-2024.8.26-py3-none-any.whl.

File metadata

  • Download URL: pefile-2024.8.26-py3-none-any.whl
  • Upload date:
  • Size: 74.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for pefile-2024.8.26-py3-none-any.whl
Algorithm Hash digest
SHA256 76f8b485dcd3b1bb8166f1128d395fa3d87af26360c2358fb75b80019b957c6f
MD5 b6c7d2bd569fe4c2f471febc9c911f05
BLAKE2b-256 541612b82f791c7f50ddec566873d5bdd245baa1491bac11d15ffb98aecc8f8b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page