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-2023 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-2023.2.7.tar.gz (74.9 kB view details)

Uploaded Source

Built Distribution

pefile-2023.2.7-py3-none-any.whl (71.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pefile-2023.2.7.tar.gz
  • Upload date:
  • Size: 74.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for pefile-2023.2.7.tar.gz
Algorithm Hash digest
SHA256 82e6114004b3d6911c77c3953e3838654b04511b8b66e8583db70c65998017dc
MD5 fa0eba7c91f4e696771ddbfacdca25e4
BLAKE2b-256 78c53b3c62223f72e2360737fd2a57c30e5b2adecd85e70276879609a7403334

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pefile-2023.2.7-py3-none-any.whl
  • Upload date:
  • Size: 71.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for pefile-2023.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 da185cd2af68c08a6cd4481f7325ed600a88f6a813bad9dea07ab3ef73d8d8d6
MD5 b4edbe7d266fab1767b082c0f8fef02c
BLAKE2b-256 5526d0ad8b448476d0a1e8d3ea5622dc77b916db84c6aa3cb1e1c0965af948fc

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