Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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.

Files for ipget, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size ipget-0.0.3.tar.gz (1.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page