dlinfo 2.0.0


pip install dlinfo

  Latest version

Released: Jan 16, 2025

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

Platform Python 3
any

Files in release

No dependencies