netzcfg


Namenetzcfg JSON
Version 0.10 PyPI version JSON
download
home_pagehttps://github.com/hansalemaos/netzcfg
SummaryRetrieves network adapter configuration information using Windows Management Instrumentation (WMI) and return it as a Pandas DataFrame.
upload_time2023-09-11 22:41:45
maintainer
docs_urlNone
authorJohannes Fischer
requires_python
licenseMIT
keywords wmi network config
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# 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


```python
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
...

```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/hansalemaos/netzcfg",
    "name": "netzcfg",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "wmi,network,config",
    "author": "Johannes Fischer",
    "author_email": "aulasparticularesdealemaosp@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/62/15/5da48588d71445dcb07e6e9292857157a834da3c884a614074450f8d7cb7/netzcfg-0.10.tar.gz",
    "platform": null,
    "description": "\r\n# Retrieves network adapter configuration information using Windows Management Instrumentation (WMI) and return it as a Pandas DataFrame.\r\n\r\n## Tested against Windows 10 / Python 3.10 / Anaconda\r\n\r\n### pip install netzcfg\r\n\r\n\r\n```python\r\nRetrieve network adapter configuration information using Windows Management Instrumentation (WMI) and return it as a Pandas DataFrame.\r\n\r\nParameters:\r\n- ipenabled (bool, optional): If True, filter network adapters by those with IP enabled (default is False).\r\n\r\nReturns:\r\n- pd.DataFrame: A DataFrame containing network adapter configuration information, with columns:\r\n  - Configuration parameter names (e.g., 'SettingID', 'IPAddress', 'SubnetMask', etc.).\r\n  - Values associated with each configuration parameter.\r\n\r\nExample:\r\n>>> nic_info = get_nic_info(ipenabled=True)\r\n>>> print(nic_info.head())\r\n   SettingID IPAddress      SubnetMask      DefaultIPGateway\r\n0    {GUID}   192.168.1.2  255.255.255.0  192.168.1.1\r\n1    {GUID}   10.0.0.2    255.255.255.0  10.0.0.1\r\n...\r\n\r\n```\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Retrieves network adapter configuration information using Windows Management Instrumentation (WMI) and return it as a Pandas DataFrame.",
    "version": "0.10",
    "project_urls": {
        "Homepage": "https://github.com/hansalemaos/netzcfg"
    },
    "split_keywords": [
        "wmi",
        "network",
        "config"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5ef34edf718a25e9ebceb935c69560bb7a8ea1b5e7260aeb44b413e90a1dd8f2",
                "md5": "f685e62f06d991e96100304d67099259",
                "sha256": "0f66c5b5a297592030b721bb06bdd6c3dd41781ef832b4845e1f0d19a0e351ec"
            },
            "downloads": -1,
            "filename": "netzcfg-0.10-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f685e62f06d991e96100304d67099259",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 5317,
            "upload_time": "2023-09-11T22:41:44",
            "upload_time_iso_8601": "2023-09-11T22:41:44.030762Z",
            "url": "https://files.pythonhosted.org/packages/5e/f3/4edf718a25e9ebceb935c69560bb7a8ea1b5e7260aeb44b413e90a1dd8f2/netzcfg-0.10-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "62155da48588d71445dcb07e6e9292857157a834da3c884a614074450f8d7cb7",
                "md5": "0b40f9daabe1ec4fea940f4ea4c70116",
                "sha256": "5f645baf5be3402e6272e1bae9b00ac74bd2a8293880ce3556521dd2536d9b0c"
            },
            "downloads": -1,
            "filename": "netzcfg-0.10.tar.gz",
            "has_sig": false,
            "md5_digest": "0b40f9daabe1ec4fea940f4ea4c70116",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4087,
            "upload_time": "2023-09-11T22:41:45",
            "upload_time_iso_8601": "2023-09-11T22:41:45.907406Z",
            "url": "https://files.pythonhosted.org/packages/62/15/5da48588d71445dcb07e6e9292857157a834da3c884a614074450f8d7cb7/netzcfg-0.10.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-11 22:41:45",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "hansalemaos",
    "github_project": "netzcfg",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "netzcfg"
}
        
Elapsed time: 0.11151s