Keine Beschreibung

dependabot[bot] 54625d6fa3 build(deps-dev): bump importlib-metadata from 4.8.1 to 4.8.2 vor 2 Jahren
.github fed57e6cf2 build(deps): bump actions/setup-python from 2.3.0 to 2.3.1 vor 2 Jahren
dlinfo c38595aa04 drop compatibility with python3.5 (end-of-life since 2020-09-13) vor 2 Jahren
tests c38595aa04 drop compatibility with python3.5 (end-of-life since 2020-09-13) vor 2 Jahren
.coveragerc 4e74f126f8 coverage limit 100% vor 4 Jahren
.gitignore 52e58073f3 added support for mac os x via macholib.dylib.dyld_find() vor 4 Jahren
.pylintrc 3736bec2ae make linter happy vor 4 Jahren
CHANGELOG.md c38595aa04 drop compatibility with python3.5 (end-of-life since 2020-09-13) vor 2 Jahren
LICENSE a0eb865879 add MIT license vor 4 Jahren
Pipfile c38595aa04 drop compatibility with python3.5 (end-of-life since 2020-09-13) vor 2 Jahren
Pipfile.lock 54625d6fa3 build(deps-dev): bump importlib-metadata from 4.8.1 to 4.8.2 vor 2 Jahren
README.rst 5304140073 readme: fixed code block vor 4 Jahren
conftest.py e93e3e5492 tests: fix platform detection for github actions vor 3 Jahren
setup.py c38595aa04 drop compatibility with python3.5 (end-of-life since 2020-09-13) vor 2 Jahren

README.rst

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'