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
Release history Release notifications | RSS feed
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)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7abe551cf32b34a14ac8525614b14773a129a0400ea2245255f77bf78bbc2ebd
|
|
| MD5 |
2577cc99cd5bba8a3b526a68f8fdc877
|
|
| BLAKE2b-256 |
d11ff7000e6ba7ea2a78db55d8cb091636550c4e12e683957195f105ed1e8d62
|