No Description

Fabian Peter Hammerle 6aa1c63c56 relock env for CVE-2020-29651; migrate pipeline to github actions after migration of repository 3 years ago
.github 6aa1c63c56 relock env for CVE-2020-29651; migrate pipeline to github actions after migration of repository 3 years ago
dlinfo bb53ecae97 fix mac os x mock test 4 years ago
tests 7f8bf703f8 fix mac os x doctest 4 years ago
.coveragerc 4e74f126f8 coverage limit 100% 4 years ago
.gitignore 52e58073f3 added support for mac os x via macholib.dylib.dyld_find() 4 years ago
.pylintrc 3736bec2ae make linter happy 4 years ago
CHANGELOG.md f0afd9681d repare release v1.2.0 4 years ago
LICENSE a0eb865879 add MIT license 4 years ago
Pipfile 6aa1c63c56 relock env for CVE-2020-29651; migrate pipeline to github actions after migration of repository 3 years ago
Pipfile.lock 6aa1c63c56 relock env for CVE-2020-29651; migrate pipeline to github actions after migration of repository 3 years ago
README.rst 5304140073 readme: fixed code block 4 years ago
conftest.py 7f8bf703f8 fix mac os x doctest 4 years ago
setup.py a0eb865879 add MIT license 4 years ago

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'