Python wrapper for libc's dlinfo and dyld_find on Mac
Project Links
Meta
Maintainer: Fabian Peter Hammerle
Requires Python: >=3.9
Classifiers
Development Status
- 5 - Production/Stable
Intended Audience
- Developers
Programming Language
- Python :: 3.9
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
Operating System
- MacOS :: MacOS X
- POSIX :: Linux
Python wrapper for libc’s dlinfo
Install
pip install dlinfo
# or
pipenv install dlinfo
Usage
>>> from dlinfo import DLInfo
>>> lib = ctypes.cdll.LoadLibrary(ctypes.util.find_library('c'))
>>> dlinfo = DLInfo(lib)
>>> dlinfo.path
'/lib/x86_64-linux-gnu/libc.so.6'
Wheel compatibility matrix
Files in release
No dependencies