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. …
Release files for ipget 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ipget-0.0.3.tar.gz | 1.4 kB | Details |
Release files / ipget-0.0.3.tar.gz
| Download URL | ipget-0.0.3.tar.gz |
|---|---|
| Size | 1.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7abe551cf32b34a14ac8525614b14773a129a0400ea2245255f77bf78bbc2ebd
|
|
BLAKE2b-256 checksum How to use checksums |
d11ff7000e6ba7ea2a78db55d8cb091636550c4e12e683957195f105ed1e8d62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |