dlinfo
Python wrapper for libc's dlinfo and dyld_find on Mac
Decision gist · record as of 2026-08-14
Yes, if you need low-level library introspection on Linux or macOS. The package is lightweight, has no dependencies, and carries a permissive license. The aging maintenance is a minor concern—the last release was 575 days ago—but the code is stable and the repository is not archived. Install it if you have a specific need for dlinfo; otherwise, it's a niche tool.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later; only works on Linux and macOS systems where libc's dlinfo or dyld_find is available.
- Low install friction with no runtime dependencies.
- Maintenance is aging—last release was 575 days ago, though the repository remains active and the package is marked Production/Stable.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package with minimal restrictions.
last release 2025-01-16 (575 days) · last repo commit 2025-12-10
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,347,352 downloads/mo, #4,019 on PyPI
Alternatives
Verify before relying
pip install dlinfo
from dlinfo import DLInfo
import ctypes
import ctypes.util
lib = ctypes.cdll.LoadLibrary(ctypes.util.find_library('c'))
dlinfo = DLInfo(lib)
print(dlinfo.path)- Whether the package works correctly with Python 3.12 despite the aging maintenance status.
- Current compatibility with recent macOS and Linux kernel versions.
What it is and what it does
dlinfo is a thin Python wrapper around libc's dlinfo function (and macOS's dyld_find), enabling you to inspect runtime properties of dynamically loaded libraries. It wraps low-level C library introspection behind a simple Python interface, so you can query things like the file path of a loaded shared library without calling dlinfo directly through ctypes.
The package has no runtime dependencies and installs as a pure Python wheel. It's intended for developers who need to examine loaded libraries at runtime—for example, to verify which version of a system library is in use, or to locate library files for further inspection. The interface is minimal: you create a DLInfo object from a ctypes library handle and access properties like path.
Use it for
- Verify which version of libc or another system library is currently loaded in your Python process.
- Locate the file path of a dynamically loaded library for debugging or introspection purposes.
- Build tools or diagnostics that need to report on runtime library dependencies and their locations.
- Cross-platform library inspection on Linux and macOS without writing platform-specific C code.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need low-level library introspection on Linux or macOS.
The package is lightweight, has no dependencies, and carries a permissive license. The aging maintenance is a minor concern—the last release was 575 days ago—but the code is stable and the repository is not archived. Install it if you have a specific need for dlinfo; otherwise, it's a niche tool.
Install
dlinfo on PyPI
Before you install
Low install friction with no runtime dependencies. Maintenance is aging—last release was 575 days ago, though the repository remains active and the package is marked Production/Stable.
Requires Python 3.9 or later; only works on Linux and macOS systems where libc's dlinfo or dyld_find is available.
License in practice
MIT license is permissive; you can use, modify, and distribute this package with minimal restrictions.
Quickstart
pip install dlinfo
from dlinfo import DLInfo
import ctypes
import ctypes.util
lib = ctypes.cdll.LoadLibrary(ctypes.util.find_library('c'))
dlinfo = DLInfo(lib)
print(dlinfo.path)
Verify before relying
- Whether the package works correctly with Python 3.12 despite the aging maintenance status.
- Current compatibility with recent macOS and Linux kernel versions.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Aging 575 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,347,352 / month, #4,019 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersOperating System :: MacOS :: MacOS XOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9 |
Evidence: dlinfo-2.0.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “dlinfo wrapper python”
- dlinfoProvides Python access to libc's dlinfo function and macOS dyld_find,…
- dbs3-pycurlProvides a Python client wrapper around pycurl for making HTTP…
- pgdbWraps PostgreSQL connections to return query results as dictionaries…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also dllist · findlibs · find-libpython · delocate · appnope · pycrashreport · dbus-python · libarchive-c · pyclibrary · cle