ipget 0.0.3
This package is for those that know the local ip in linux.
>>> import ipget
>>> a = ipget.ipget()
>>> print a.ipaddr("eth0")
192.168.0.2/24
>>> print a.ipaddr6("eth0")
xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx/64
>>> print a.mac("eth0")
xx:xx:xx:xx:xx:xx
Thank you.
…
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.