Skip to main content

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

dllist-1.2.0.tar.gz (5.5 kB view hashes)

Uploaded Source

Built Distribution

dllist-1.2.0-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

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