Get Network Interface details
Project description
get-nic-details
Get Network Interface details
Getting started
pip3 install get_nic
from get_nic import getnic
To get list of intefaces
getnic.interfaces()
Output: ["eth0", "wlo1"]
To get all interface details
interfaces = getnic.interfaces() getnic.ipaddr(interfaces)
To get selected interface details, example lo, eth0
interface_list = ['lo','etho'] getnic.ipaddr(interface_list)
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
get_nic-0.0.2.tar.gz
(2.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file get_nic-0.0.2.tar.gz.
File metadata
- Download URL: get_nic-0.0.2.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c57d4f14b464c68c7514c7d228cf9fb7c71870d70eef8483b80de3d83610c019
|
|
| MD5 |
f6c64dcb3de82e78a8b774abf801d8fe
|
|
| BLAKE2b-256 |
1a1820a39a58b2cd48a415ae8bc8c16df53d786e6e755670a5fa847400321fd9
|
File details
Details for the file get_nic-0.0.2-py3-none-any.whl.
File metadata
- Download URL: get_nic-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c288e9a8989db08a2d6e4a926ea0aa8822ba2bd7614c60817ca83f9fad84057
|
|
| MD5 |
43444d7cbf46a27ca1e461e3448575e9
|
|
| BLAKE2b-256 |
78b1359f2b455cb4b6d46844a352c4e97f8e634889f94940e48203c1f0199167
|