https://github.com/vinayak-mehta/pedep
List PE file dependencies.
https://github.com/vinayak-mehta/pedep
Last synced: 2 months ago
JSON representation
List PE file dependencies.
- Host: GitHub
- URL: https://github.com/vinayak-mehta/pedep
- Owner: vinayak-mehta
- License: apache-2.0
- Created: 2020-10-23T11:03:43.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-11-09T11:42:14.000Z (over 4 years ago)
- Last Synced: 2025-03-13T04:06:23.410Z (3 months ago)
- Language: Python
- Size: 11.7 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pedep
[](https://pypi.org/project/pedep/) [](https://pypi.org/project/pedep/) [](https://github.com/ambv/black)
List PE file dependencies.
## Installation
You can simply use `pip` to install `pedep`:
```
$ pip install pedep
```## Usage
List PE file dependencies:
```
$ pedep pdftopng.cp38-win_amd64.pyd
Imports for pdftopng.cp38-win_amd64.pyd:
- MSVCP140.dll
- python38.dll
- KERNEL32.dll
- VCRUNTIME140_1.dll
- VCRUNTIME140.dll
- api-ms-win-crt-runtime-l1-1-0.dll
- api-ms-win-crt-stdio-l1-1-0.dll
- api-ms-win-crt-string-l1-1-0.dll
- api-ms-win-crt-heap-l1-1-0.dll
- api-ms-win-crt-convert-l1-1-0.dll
- api-ms-win-crt-time-l1-1-0.dll
- api-ms-win-crt-math-l1-1-0.dll
- api-ms-win-crt-multibyte-l1-1-0.dll
- api-ms-win-crt-locale-l1-1-0.dll
- api-ms-win-crt-filesystem-l1-1-0.dll
- freetype.dll
- libpng16.dll
- jpeg62.dll
- ADVAPI32.dll
```List PE file dependencies in JSON format:
```
$ pedep --json pdftopng.cp38-win_amd64.pyd
{
"pdftopng.cp38-win_amd64.pyd": [
"MSVCP140.dll",
"python38.dll",
"KERNEL32.dll",
"VCRUNTIME140_1.dll",
"VCRUNTIME140.dll",
"api-ms-win-crt-runtime-l1-1-0.dll",
"api-ms-win-crt-stdio-l1-1-0.dll",
"api-ms-win-crt-string-l1-1-0.dll",
"api-ms-win-crt-heap-l1-1-0.dll",
"api-ms-win-crt-convert-l1-1-0.dll",
"api-ms-win-crt-time-l1-1-0.dll",
"api-ms-win-crt-math-l1-1-0.dll",
"api-ms-win-crt-multibyte-l1-1-0.dll",
"api-ms-win-crt-locale-l1-1-0.dll",
"api-ms-win-crt-filesystem-l1-1-0.dll",
"freetype.dll",
"libpng16.dll",
"jpeg62.dll",
"ADVAPI32.dll"
]
}
```List PE file dependencies recursively by providing a DLL directory for dependency lookups:
```
$ pedep --dll-dir C:\path\to\dll\directory pdftopng.cp38-win_amd64.pyd
Imports for pdftopng.cp38-win_amd64.pyd:
- MSVCP140.dll
- python38.dll
- KERNEL32.dll
- VCRUNTIME140_1.dll
- VCRUNTIME140.dll
- api-ms-win-crt-runtime-l1-1-0.dll
- api-ms-win-crt-stdio-l1-1-0.dll
- api-ms-win-crt-string-l1-1-0.dll
- api-ms-win-crt-heap-l1-1-0.dll
- api-ms-win-crt-convert-l1-1-0.dll
- api-ms-win-crt-time-l1-1-0.dll
- api-ms-win-crt-math-l1-1-0.dll
- api-ms-win-crt-multibyte-l1-1-0.dll
- api-ms-win-crt-locale-l1-1-0.dll
- api-ms-win-crt-filesystem-l1-1-0.dll
- freetype.dll
- libpng16.dll
- jpeg62.dll
- ADVAPI32.dllImports for freetype.dll:
- zlib1.dll
- bz2.dll
- libpng16.dll
- brotlidec.dll
- VCRUNTIME140.dll
- api-ms-win-crt-convert-l1-1-0.dll
- api-ms-win-crt-string-l1-1-0.dll
- api-ms-win-crt-utility-l1-1-0.dll
- api-ms-win-crt-environment-l1-1-0.dll
- api-ms-win-crt-stdio-l1-1-0.dll
- api-ms-win-crt-heap-l1-1-0.dll
- api-ms-win-crt-runtime-l1-1-0.dll
- KERNEL32.dllImports for zlib1.dll:
- VCRUNTIME140.dll
- api-ms-win-crt-stdio-l1-1-0.dll
- api-ms-win-crt-heap-l1-1-0.dll
- api-ms-win-crt-convert-l1-1-0.dll
- api-ms-win-crt-runtime-l1-1-0.dll
- KERNEL32.dllImports for bz2.dll:
- VCRUNTIME140.dll
- api-ms-win-crt-stdio-l1-1-0.dll
- api-ms-win-crt-heap-l1-1-0.dll
- api-ms-win-crt-runtime-l1-1-0.dll
- api-ms-win-crt-string-l1-1-0.dll
- api-ms-win-crt-math-l1-1-0.dll
- KERNEL32.dllImports for libpng16.dll:
- zlib1.dll
- VCRUNTIME140.dll
- api-ms-win-crt-heap-l1-1-0.dll
- api-ms-win-crt-stdio-l1-1-0.dll
- api-ms-win-crt-math-l1-1-0.dll
- api-ms-win-crt-runtime-l1-1-0.dll
- api-ms-win-crt-convert-l1-1-0.dll
- api-ms-win-crt-filesystem-l1-1-0.dll
- api-ms-win-crt-time-l1-1-0.dll
- KERNEL32.dllImports for brotlidec.dll:
- brotlicommon.dll
- VCRUNTIME140.dll
- api-ms-win-crt-heap-l1-1-0.dll
- api-ms-win-crt-runtime-l1-1-0.dll
- KERNEL32.dllImports for brotlicommon.dll:
- VCRUNTIME140.dll
- api-ms-win-crt-heap-l1-1-0.dll
- api-ms-win-crt-runtime-l1-1-0.dll
- KERNEL32.dllImports for jpeg62.dll:
- VCRUNTIME140.dll
- api-ms-win-crt-environment-l1-1-0.dll
- api-ms-win-crt-heap-l1-1-0.dll
- api-ms-win-crt-stdio-l1-1-0.dll
- api-ms-win-crt-runtime-l1-1-0.dll
- KERNEL32.dll
```## Versioning
`pedep` uses [Semantic Versioning](https://semver.org/). For the available versions, see the tags on the GitHub repository.
## License
This project is licensed under the Apache License, see the [LICENSE](https://github.com/vinayak-mehta/pedep/blob/master/LICENSE) file for details.