[ 源代码: python-ifaddr ]
软件包:python3-ifaddr(0.1.6-1)
Pure Python implementation for detecting IP addresses
This is a small Python library which allows you to find all the IP addresses of the computer. Both ipv4 and ipv6 addresses will be found.
It is a pure Python implementation in contrast to some other Python libraries providing more or less the same functionality.