Sin descripción

dependabot[bot] 7d6bfa2df0 build(deps-dev): bump pylint from 2.15.0 to 2.15.2 (#39) hace 1 año
.github 2bc42d1270 build(deps): bump actions/setup-python from 3 to 4 hace 1 año
dlinfo 88ccd4f62d pylint: merge config files; dev env: upgrade pylint to v2.14.0 hace 1 año
tests 88ccd4f62d pylint: merge config files; dev env: upgrade pylint to v2.14.0 hace 1 año
.coveragerc 4e74f126f8 coverage limit 100% hace 4 años
.gitignore 52e58073f3 added support for mac os x via macholib.dylib.dyld_find() hace 4 años
.pylintrc 88ccd4f62d pylint: merge config files; dev env: upgrade pylint to v2.14.0 hace 1 año
CHANGELOG.md 4e75e94738 drop compatibility with python3.6 (end-of-life since 2021-12-23); relock dev env hace 2 años
LICENSE a0eb865879 add MIT license hace 4 años
Pipfile b8d69da7c8 dev env: re-add typing-extensions to fix pipeline on python<3.10 hace 2 años
Pipfile.lock 7d6bfa2df0 build(deps-dev): bump pylint from 2.15.0 to 2.15.2 (#39) hace 1 año
README.rst 5304140073 readme: fixed code block hace 4 años
conftest.py e93e3e5492 tests: fix platform detection for github actions hace 3 años
setup.py 4e75e94738 drop compatibility with python3.6 (end-of-life since 2021-12-23); relock dev env hace 2 años

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'