An open API service indexing awesome lists of open source software.

https://github.com/cloudflightio/python-dlinfo

Python wrapper for libc's dlinfo (Linux & Mac OS X)
https://github.com/cloudflightio/python-dlinfo

dlinfo dynamic-library python search

Last synced: 29 days ago
JSON representation

Python wrapper for libc's dlinfo (Linux & Mac OS X)

Awesome Lists containing this project

README

          

deprecated recommended fork: https://github.com/fphammerle/python-dlinfo
============

python-dlinfo
============

Python wrapper for libc's dlinfo

Install
-------

.. code:: sh

pip install dlinfo
# or
pipenv install dlinfo

Usage
-----

.. code:: python

>>> 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'