List the shared libraries loaded by the current process.
Project description
dllist
A very small Python library to list the DLLs loaded by the current process.
This is equivalent to the dllist
function in Julia.
Note: This library is tested on macOS, Linux, and Windows.
Some platforms which provide the same API as Linux (e.g. FreeBSD) may also work.
Any other platform will return an empty list and raise a warning.
Installation
dllist
is available on PyPI:
pip install dllist
Usage
import dllist
print(dllist.dllist())
# ['linux-vdso.so.1', '/lib/x86_64-linux-gnu/libpthread.so.0', '/lib/x86_64-linux-gnu/libdl.so.2', ...
Note: The library paths are not postprocessed by this library. Depending on your usage, you may need to convert them to absolute paths and/or perform case-normalization (Windows).
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
Built Distribution
File details
Details for the file dllist-1.2.0.tar.gz
.
File metadata
- Download URL: dllist-1.2.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | afe6f558faa6e97cf10e01cd821e14707b9610962770764ff324c9a81b0e3e31 |
|
MD5 | 8c6bafd4c5e335e1f678799f44cd9540 |
|
BLAKE2b-256 | 5149f1d623aa6f1cfc9c152cad4386c69ae1ca878ab226a6bf0364692d78bf87 |
File details
Details for the file dllist-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: dllist-1.2.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2ca5fd60d12161b6a472bc340bbae5de53ddd40c5923d9df84e85170b9a8629 |
|
MD5 | f5fc0a48232ffe4f2e84f233748da1db |
|
BLAKE2b-256 | e959f189b03d743364a350c972b89fe08a6db5bbbdc5f1ea6b604b3eee0a7967 |