This website works better with JavaScript
Home
Explore
Help
Sign In
fphammerle
/
python-dlinfo
mirror of
https://github.com/cloudflightio/python-dlinfo
Watch
1
Star
0
Fork
0
Files
Issues
0
Wiki
No Description
14
Commits
5
Branches
4
Releases
Tree:
1475df2011
Branches
Tags
dependabot/pip/pylint-3.3.6
dependabot/pip/pytest-8.3.5
dependabot/pip/pytest-cov-6.0.0
dependabot/pip/wrapt-1.17.2
master
v1.2.1
v1.2.0
v1.1.0
v1.0.0
python-dlinfo
HTTPS
SSH
ZIP
TAR.GZ
Fabian Peter Hammerle
1475df2011
setup.py: added metadata for pypi.org; readme markdown->rest
6 years ago
dlinfo
4e74f126f8
coverage limit 100%
6 years ago
tests
3f09439a18
tests: xfail if lib not available
6 years ago
.coveragerc
4e74f126f8
coverage limit 100%
6 years ago
.gitlab-ci.yml
766b994b92
gitlab-ci: added missing python3-wheel
6 years ago
.pylintrc
3736bec2ae
make linter happy
6 years ago
CHANGELOG.md
1475df2011
setup.py: added metadata for pypi.org; readme markdown->rest
6 years ago
Pipfile
c7cf16333c
implement DLInfo class prototype
6 years ago
Pipfile.lock
c7cf16333c
implement DLInfo class prototype
6 years ago
README.rst
1475df2011
setup.py: added metadata for pypi.org; readme markdown->rest
6 years ago
setup.py
1475df2011
setup.py: added metadata for pypi.org; readme markdown->rest
6 years ago
README.rst
python-dlinfo
=============
Python wrapper for libc's dlinfo
Install
-------
```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'