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 details)

Uploaded Source

File details

Details for the file ipget-0.0.3.tar.gz.

File metadata

  • Download URL: ipget-0.0.3.tar.gz
  • Upload date:
  • Size: 1.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ipget-0.0.3.tar.gz
Algorithm Hash digest
SHA256 7abe551cf32b34a14ac8525614b14773a129a0400ea2245255f77bf78bbc2ebd
MD5 2577cc99cd5bba8a3b526a68f8fdc877
BLAKE2b-256 d11ff7000e6ba7ea2a78db55d8cb091636550c4e12e683957195f105ed1e8d62

See more details on using hashes here.

Supported by

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