Sin descripción

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

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'