Aucune description

Fabian Peter Hammerle 5304140073 readme: fixed code block il y a 4 ans
dlinfo 4e74f126f8 coverage limit 100% il y a 4 ans
tests 3f09439a18 tests: xfail if lib not available il y a 4 ans
.coveragerc 4e74f126f8 coverage limit 100% il y a 4 ans
.gitlab-ci.yml 766b994b92 gitlab-ci: added missing python3-wheel il y a 4 ans
.pylintrc 3736bec2ae make linter happy il y a 4 ans
CHANGELOG.md 1475df2011 setup.py: added metadata for pypi.org; readme markdown->rest il y a 4 ans
Pipfile c7cf16333c implement DLInfo class prototype il y a 4 ans
Pipfile.lock c7cf16333c implement DLInfo class prototype il y a 4 ans
README.rst 5304140073 readme: fixed code block il y a 4 ans
setup.py 1475df2011 setup.py: added metadata for pypi.org; readme markdown->rest il y a 4 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'