Sen descrición

dependabot[bot] 0c27fcec6c Bump pylint from 3.2.5 to 3.2.6 (#100) hai 5 meses
.github 9f2b01a7f7 build(deps): bump actions/setup-python from 4 to 5 (#82) hai 1 ano
dlinfo 71c2bfd732 raise RuntimeError instead of Exception when libc's dlinfo function fails (fixes pylint's broad-exception-raised warning) hai 1 ano
tests 88ccd4f62d pylint: merge config files; dev env: upgrade pylint to v2.14.0 %!s(int64=2) %!d(string=hai) anos
.coveragerc 4e74f126f8 coverage limit 100% %!s(int64=5) %!d(string=hai) anos
.gitignore 52e58073f3 added support for mac os x via macholib.dylib.dyld_find() %!s(int64=5) %!d(string=hai) anos
.pylintrc 88ccd4f62d pylint: merge config files; dev env: upgrade pylint to v2.14.0 %!s(int64=2) %!d(string=hai) anos
CHANGELOG.md 4b7cca305a drop compatibility with python3.7 (reached end of life on 2023-06-27) hai 1 ano
LICENSE a0eb865879 add MIT license %!s(int64=5) %!d(string=hai) anos
Pipfile 856b98b41f relock env with pipenv v2023.10.3 on python v3.11.2 (to remove "sanitized-package" entry, see commit below) hai 1 ano
Pipfile.lock 0c27fcec6c Bump pylint from 3.2.5 to 3.2.6 (#100) hai 5 meses
README.rst 5304140073 readme: fixed code block %!s(int64=5) %!d(string=hai) anos
conftest.py e93e3e5492 tests: fix platform detection for github actions %!s(int64=3) %!d(string=hai) anos
setup.py 4b7cca305a drop compatibility with python3.7 (reached end of life on 2023-06-27) hai 1 ano

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'