Aucune description

dependabot[bot] 324f478bd7 build(deps-dev): bump pytest-cov from 4.0.0 to 4.1.0 (#64) il y a 11 mois
.github 2bc42d1270 build(deps): bump actions/setup-python from 3 to 4 il y a 1 an
dlinfo 71c2bfd732 raise RuntimeError instead of Exception when libc's dlinfo function fails (fixes pylint's broad-exception-raised warning) il y a 1 an
tests 88ccd4f62d pylint: merge config files; dev env: upgrade pylint to v2.14.0 il y a 1 an
.coveragerc 4e74f126f8 coverage limit 100% il y a 4 ans
.gitignore 52e58073f3 added support for mac os x via macholib.dylib.dyld_find() il y a 4 ans
.pylintrc 88ccd4f62d pylint: merge config files; dev env: upgrade pylint to v2.14.0 il y a 1 an
CHANGELOG.md 71c2bfd732 raise RuntimeError instead of Exception when libc's dlinfo function fails (fixes pylint's broad-exception-raised warning) il y a 1 an
LICENSE a0eb865879 add MIT license il y a 4 ans
Pipfile 6a5241be5b dev env: manually re-add typing-extensions (after removal by dependabot; fixes pipeline) il y a 1 an
Pipfile.lock 324f478bd7 build(deps-dev): bump pytest-cov from 4.0.0 to 4.1.0 (#64) il y a 11 mois
README.rst 5304140073 readme: fixed code block il y a 4 ans
conftest.py e93e3e5492 tests: fix platform detection for github actions il y a 3 ans
setup.py 4e75e94738 drop compatibility with python3.6 (end-of-life since 2021-12-23); relock dev env il y a 2 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'