Skip to main content

dllist

[!NOTE] This functionality is available in the standard library starting in Python 3.14

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) also work.

Installation

dllist is available on PyPI:

pip install dllist

Usage

The single function this library provides is dllist(), which returns a list of the shared ibraries loaded by the current process. The first element is usually a representation of the current process itself (often, the empty string), and the rest are the shared libraries loaded by the process.

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).

Release files for dllist 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dllist 2.0.0
File Size Uploaded
dllist-2.0.0.tar.gz 5.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dllist 2.0.0
File Interpreter ABI Platform
dllist-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.1 kB

Release files / dllist-2.0.0.tar.gz

Download URL dllist-2.0.0.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7413ba963aaa1b2b6827eadd7908e40e635b19108ab431667485eaf75c492bf4
BLAKE2b-256 checksum
How to use checksums
b2cedda13123329d55555de67b414206f14f4f80b96cb273ec59d76d5ce6b5c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.0

Release files / dllist-2.0.0-py3-none-any.whl

Download URL dllist-2.0.0-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd307b1a91bc46fae084f8c817d79be7e34951b149a2fd69004772e03573bfb3
BLAKE2b-256 checksum
How to use checksums
7b07a212ca4cfe56fa35c8315307e37df218e5946c726a792b5c7a795b245c10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.0

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page