Skip to main content

This package is for those that know the local ip in linux.

Project description

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. …

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ipget-0.0.3.tar.gz (1.4 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page