Aucune description

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

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'