Ingen beskrivning

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

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'