semvec/pypi-packages huggingface dataset:
pre-commit-ci-config 1.6.1
validation for pre-commit.ci configuration
License: MIT
Requires Python: >=3.8

[![build status](https://github.com/pre-commit-ci/pre-commit-ci-config/actions/workflows/main.yml/badge.svg)](https://github.com/pre-commit-ci/pre-commit-ci-config/actions/workflows/main.yml)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/pre-commit-ci/pre-commit-ci-config/main.svg)](https://results.pre-commit.ci/latest/github/pre-commit-ci/pre-commit-ci-config/main)

pre-commit-ci-config
====================

validation for [pre-commit.ci](https://pre-commit.ci) configuration

## installation

```bash
pip install pre-commit-ci-config
```

## api

### `pre_commit_ci_config.SCHEMA`

a [cfgv](https://github.com/asottile/cfgv) schema.

the expected input to this schema is the loaded top-level pre-commit
configuration.

```pycon
>>> import cfgv
>>> from pre_commit.clientlib import load_config
>>> from pre_commit_ci_config import SCHEMA
>>> cfg = load_config('.pre-commit-config.yaml')
>>> cfg = cfgv.validate(cfg, SCHEMA)
>>> cfg = cfgv.apply_defaults(cfg, SCHEMA)
```

### `check-pre-commit-ci-config`

a commandline tool to validate the configuration

```console
$ check-pre-commit-ci-config .pre-commit-config.yaml
$
```

## as a pre-commit hook

See [pre-commit](https://github.com/pre-commit/pre-commit) for instructions

Sample `.pre-commit-config.yaml`:

```yaml
-   repo: https://github.com/pre-commit-ci/pre-commit-ci-config
    rev: v1.6.1
    hooks:
    -   id: check-pre-commit-ci-config
```
netzcfg 0.10
Retrieves network adapter configuration information using Windows Management Instrumentation (WMI) and return it as a Pandas DataFrame.
License: MIT
Keywords: wmi,network,config

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