No Description

Fabian Peter Hammerle dd0ca93e20 Merge pull request #6 from cloudflightio/dependabot/pip/pytest-cov-3.0.0 1 week ago
.github 9b6ac0361e build(deps): bump actions/setup-python from 1 to 2.2.2 3 months ago
dlinfo bb53ecae97 fix mac os x mock test 1 year ago
tests 7f8bf703f8 fix mac os x doctest 1 year ago
.coveragerc 4e74f126f8 coverage limit 100% 2 years ago
.gitignore 52e58073f3 added support for mac os x via macholib.dylib.dyld_find() 2 years ago
.pylintrc 3736bec2ae make linter happy 2 years ago
CHANGELOG.md 370e63242e release v1.2.1 5 months ago
LICENSE a0eb865879 add MIT license 1 year ago
Pipfile 6aa1c63c56 relock env for CVE-2020-29651; migrate pipeline to github actions after migration of repository 5 months ago
Pipfile.lock fe7c73ef95 build(deps-dev): bump pytest-cov from 2.12.1 to 3.0.0 1 week ago
README.rst 5304140073 readme: fixed code block 2 years ago
conftest.py e93e3e5492 tests: fix platform detection for github actions 5 months ago
setup.py b7270621e9 setup.py: update repo url 5 months ago

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'