Keine Beschreibung

Fabian Peter Hammerle 40f2cd3c65 dev env: add zipp to fix pipeline on python3.7 vor 3 Jahren
.github 9d5fdf3604 build(deps): bump actions/setup-python from 2.3.2 to 3 vor 3 Jahren
dlinfo c38595aa04 drop compatibility with python3.5 (end-of-life since 2020-09-13) vor 3 Jahren
tests c38595aa04 drop compatibility with python3.5 (end-of-life since 2020-09-13) vor 3 Jahren
.coveragerc 4e74f126f8 coverage limit 100% vor 5 Jahren
.gitignore 52e58073f3 added support for mac os x via macholib.dylib.dyld_find() vor 5 Jahren
.pylintrc 3736bec2ae make linter happy vor 5 Jahren
CHANGELOG.md 4e75e94738 drop compatibility with python3.6 (end-of-life since 2021-12-23); relock dev env vor 3 Jahren
LICENSE a0eb865879 add MIT license vor 5 Jahren
Pipfile 40f2cd3c65 dev env: add zipp to fix pipeline on python3.7 vor 3 Jahren
Pipfile.lock 40f2cd3c65 dev env: add zipp to fix pipeline on python3.7 vor 3 Jahren
README.rst 5304140073 readme: fixed code block vor 5 Jahren
conftest.py e93e3e5492 tests: fix platform detection for github actions vor 4 Jahren
setup.py 4e75e94738 drop compatibility with python3.6 (end-of-life since 2021-12-23); relock dev env vor 3 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'