Sem descrição

dependabot[bot] 16a8f0b7f5 build(deps-dev): bump pytest from 7.2.1 to 7.2.2 (#50) há 1 ano atrás
.github 2bc42d1270 build(deps): bump actions/setup-python from 3 to 4 há 2 anos atrás
dlinfo 71c2bfd732 raise RuntimeError instead of Exception when libc's dlinfo function fails (fixes pylint's broad-exception-raised warning) há 1 ano atrás
tests 88ccd4f62d pylint: merge config files; dev env: upgrade pylint to v2.14.0 há 2 anos atrás
.coveragerc 4e74f126f8 coverage limit 100% há 5 anos atrás
.gitignore 52e58073f3 added support for mac os x via macholib.dylib.dyld_find() há 5 anos atrás
.pylintrc 88ccd4f62d pylint: merge config files; dev env: upgrade pylint to v2.14.0 há 2 anos atrás
CHANGELOG.md 71c2bfd732 raise RuntimeError instead of Exception when libc's dlinfo function fails (fixes pylint's broad-exception-raised warning) há 1 ano atrás
LICENSE a0eb865879 add MIT license há 5 anos atrás
Pipfile 6a5241be5b dev env: manually re-add typing-extensions (after removal by dependabot; fixes pipeline) há 1 ano atrás
Pipfile.lock 16a8f0b7f5 build(deps-dev): bump pytest from 7.2.1 to 7.2.2 (#50) há 1 ano atrás
README.rst 5304140073 readme: fixed code block há 5 anos atrás
conftest.py e93e3e5492 tests: fix platform detection for github actions há 3 anos atrás
setup.py 4e75e94738 drop compatibility with python3.6 (end-of-life since 2021-12-23); relock dev env há 2 anos atrás

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'