Retrieves network adapter configuration information using Windows Management Instrumentation (WMI) and return it as a Pandas DataFrame.
Project description
Retrieves network adapter configuration information using Windows Management Instrumentation (WMI) and return it as a Pandas DataFrame.
Tested against Windows 10 / Python 3.10 / Anaconda
pip install netzcfg
Retrieve network adapter configuration information using Windows Management Instrumentation (WMI) and return it as a Pandas DataFrame.
Parameters:
- ipenabled (bool, optional): If True, filter network adapters by those with IP enabled (default is False).
Returns:
- pd.DataFrame: A DataFrame containing network adapter configuration information, with columns:
- Configuration parameter names (e.g., 'SettingID', 'IPAddress', 'SubnetMask', etc.).
- Values associated with each configuration parameter.
Example:
>>> nic_info = get_nic_info(ipenabled=True)
>>> print(nic_info.head())
SettingID IPAddress SubnetMask DefaultIPGateway
0 {GUID} 192.168.1.2 255.255.255.0 192.168.1.1
1 {GUID} 10.0.0.2 255.255.255.0 10.0.0.1
...
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
netzcfg-0.10.tar.gz
(4.1 kB
view details)
Built Distribution
File details
Details for the file netzcfg-0.10.tar.gz
.
File metadata
- Download URL: netzcfg-0.10.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f645baf5be3402e6272e1bae9b00ac74bd2a8293880ce3556521dd2536d9b0c |
|
MD5 | 0b40f9daabe1ec4fea940f4ea4c70116 |
|
BLAKE2b-256 | 62155da48588d71445dcb07e6e9292857157a834da3c884a614074450f8d7cb7 |
File details
Details for the file netzcfg-0.10-py3-none-any.whl
.
File metadata
- Download URL: netzcfg-0.10-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f66c5b5a297592030b721bb06bdd6c3dd41781ef832b4845e1f0d19a0e351ec |
|
MD5 | f685e62f06d991e96100304d67099259 |
|
BLAKE2b-256 | 5ef34edf718a25e9ebceb935c69560bb7a8ea1b5e7260aeb44b413e90a1dd8f2 |