ncpeek


Namencpeek JSON
Version 0.1.4 PyPI version JSON
download
home_pagehttps://github.com/jillesca/ncpeek
Summaryncpeek (short for netconf peek) is a netconf client that retrieves data using the ncclient library.
upload_time2024-02-02 13:37:14
maintainer
docs_urlNone
authorJesus Illescas
requires_python>=3.11,<4.0
licenseBSD-3-Clause
keywords netconf ncclient netconf python client cisco devnet
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # ncpeek

`ncpeek` (short for `netconf peek`) is a netconf client that retrieves data using the `ncclient` library.

It parses the rpc-reply into json format by default, removing any namespaces.[^1] Additional data as such as `ip`, `device` and `field` are also included in the output.

Here's an example on how `ncpeek` works, using the following xml filter:

```xml
<filter>
  <system xmlns="http://openconfig.net/yang/system">
    <state>
      <hostname />
    </state>
  </system>
</filter>
```

It will yield this result.

```json
[
  {
    "ip": "sandbox-iosxr-1.cisco.com",
    "device": "sandbox-iosxr-1.cisco.com",
    "field": "generic",
    "data": {
      "system": {
        "state": {
          "hostname": "sandbox-iosxr"
        }
      }
    }
  }
]
```

For more complex data manipulation or logic, you can add a custom parser for your xml filter or xpath. See [Adding a Parser](#adding-a-parser) for instructions.

## Use cases

I developed originally `ncpeek` to be used within [Telegraf](https://www.influxdata.com/time-series-platform/telegraf/) to gather telemetry data from network devices and print the metrics. This was showcased in a [demo presented at Cisco Impact 2023.](https://github.com/jillesca/open_telemetry_network_impact) In this scenario, a CLI client with a simple interface was what I needed.

For an upcoming talk I will deliver at Cisco Live Amsterdam 2024, I improved the netconf client and added an API layer. This allows other systems, such as AI, to call `ncpeek` and fetch data from network devices. For this use case, I needed a simple API for the AI to use.

### State

It's important to note upfront that `ncpeek` is a pet project primarily used for demos. So far, testing has been limited to C8000V 17.09.02a and IOSXR 7.3.2 running on the DevNet always-on sandbox.

PRs are welcome, but the support provided might be limited due to the nature of the project. If you have specific requirements or need extensive modifications, you might find it more efficient to fork the project.

See the file [Contributing](CONTRIBUTING.md) for more information.

## Installation

For CLI or API you can install `ncpeek` via pip. [See Details on pypi.](https://pypi.org/project/ncpeek/)

```bash
 pip install ncpeek
```

To add a custom parser or work directly with the code [see Development.](#development)

> `ncpeek` was developed on Python 3.11, consider using a virtual or dedicated environment when use it.

## Usage

There are two ways to use `ncpeek`; via the command-line interface (CLI) or through the API. Note that filters can be either `xml` or `xpath`, but only one type can be used at a time.

### CLI

```bash
❯ python -m ncpeek
usage: __main__.py [-h] [-d DEVICE_SETTINGS] (-x XML_FILTER | -p XPATH_FILTER)

'ncpeek' is a netconf client designed to fetch data from various devices.
The client can be utilized in two distinct ways,
either via Command Line Interface (CLI) or Application Programming Interface (API).
The data retrieval can be filtered through either XML or XPath,
however, only one filter type can be applied at a given time.
Note that in CLI mode, only filenames can be treated as arguments.
Source code: https://github.com/jillesca/ncpeek

options:
  -h, --help            show this help message and exit
  -d DEVICE_SETTINGS, --device-settings DEVICE_SETTINGS
                        Specify JSON filename containing device settings.
                        Visit https://github.com/jillesca/ncpeek/tree/main/ncpeek/devices for examples.
  -x XML_FILTER, --xml-filter XML_FILTER
                        Specify XML filename containing XML filter.
                        Visit https://github.com/jillesca/ncpeek/tree/main/ncpeek/filters for more details.
  -p XPATH_FILTER, --xpath-filter XPATH_FILTER
                        Formats: <xpath> OR <namespace>:<xpath>
                        Example: 'interfaces/interface' OR
                        'http://cisco.com/ns/yang/Cisco-IOS-XE-interfaces-oper:interfaces/interface'
```

Here's an example of how to use `ncpeek` with a specific device setting and xml filter:

```bash
python -m ncpeek --device-settings=devnet_xe_sandbox.json --xml-filter=Cisco-IOS-XE-memory-oper.xml
```

Or with a specific device setting and xpath filter:

```bash
python -m ncpeek --device-settings=devnet_xe_sandbox.json --xpath-filter=http://cisco.com/ns/yang/Cisco-IOS-XE-native:/native/hostname
```

`ncpeek` will print the data retrieved from the network device to stdout.

### API

```python
from ncpeek.client import NetconfClient

def api_call() -> None:
    """Example NetconfClient API"""
    client = NetconfClient()
    client.set_devices_settings(xr_device_settings)
    client.set_xml_filter(xml_filter)
    try:
        result = client.fetch()
    except Exception as err:
        result = [{"error": f"{err=}"}]
    print(result)
```

`ncpeek` will return the data as json. See [api_example.py](examples/api_example.py) for the full example.

## Device Settings

The device settings should follow a specific structure.

- **CLI:** json filename containing the device settings.

  ```bash
  --device-settings=devnet_xe_sandbox.json
  ```

- **API:** json filename, valid json string or a python dictionary with the same structure. Use the [`set_devices_settings`](ncpeek/client.py#L27) method.

  ```python
  def set_devices_settings(
          self, device_settings: Union[list, str]
      ) -> None:
  ```

The **required** fields are:

- `host`
- `username`
- `password`

The rest of the fields take defaults on [netconf_device](ncpeek/netconf_devices.py#L6)

Here, you can find an example of the device settings.

```json
[
  {
    "host": "sandbox-iosxe-latest-1.cisco.com",
    "port": 830,
    "username": "admin",
    "password": "C1sco12345",
    "hostkey_verify": "False",
    "timeout": 10,
    "device_params": {
      "name": "iosxe"
    }
  }
]
```

You can add multiple devices in a single json array. However, please note that the data is retrieved sequencially.

See examples on [ncpeek/devices](ncpeek/devices/)

## Filters

### XML

- **CLI.** filename with the xml filter.

  ```python
  --xml-filter=cisco_xe_ietf-interfaces.xml
  ```

  - See examples on [ncpeek/filters](ncpeek/filters/)

- **API.** filename or xml string. Use the [`set_xml_filter`](ncpeek/client.py#L38) method.

  ```python
    def set_xml_filter(self, xml_filter: str) -> None:
  ```

### xpath

The following formats are accepted:

```bash
<xpath>
<namespace>:<xpath>
```

- **CLI.** `xpath` string.

  - Examples:

    ```bash
    --xpath-filter=interfaces/interface
    ```

    ```bash
    --xpath-filter=http://cisco.com/ns/yang/Cisco-IOS-XE-interfaces-oper:interfaces/interface
    ```

- **API.** `xpath` string. Use the [`set_xpath_filter`](ncpeek/client.py#L46) method.

  ```python
    def set_xpath_filter(self, xpath_filter: str) -> None:
  ```

## Operations

Currently, `ncpeek` only uses the [GET operation](ncpeek/netconf_session.py#L34) to retrieve data. More operations may be added in future versions.

### Built-in filters and parsers

You can call directly any of these filters by its name, without specifying their path.

Use the [devnet sandbox](ncpeek/devices/) for testing.

- [xml filters built-in](ncpeek/filters/):

  - `cisco_xe_ietf-interfaces.xml` (custom parser added)
  - `Cisco-IOS-XE-interfaces-oper.xml` (custom parser added)
  - `Cisco-IOS-XE-memory-oper.xml` (custom parser added)
  - `Cisco-IOS-XR-facts.xml`
  - `Cisco-IOS-XR-hostname.xml`

- xpath parser built-in
  - `http://cisco.com/ns/yang/Cisco-IOS-XE-isis-oper:/isis-oper-data/isis-instance` (custom parser added)

## Development

To Install the dependencies needed, use these commands.

```bash
poetry install
```

```bash
peotry shell
```

> If you use `vscode`, start `poetry shell` and then start vscode with `code .`

In case you don't have poetry, install it with `curl -sSL https://install.python-poetry.org | python3 -`

If you want to use pip, install the dependencies manually. The only requirement is **paramiko <=2.8.1** for working with older XR and Junos versions.

If you ran into module import problems, add the root project to your `PYHTONPATH`

```bash
export PYTHONPATH=.
```

### Default directories

- Device Settings default directory is [ncpeek/devices](ncpeek/devices/).
- XML Filters default directory is [ncpeek/filters](ncpeek/filters).

### Adding a Parser

To add a custom parser follow the steps below:

1. Clone this repository.
2. Create a parser under [the parsers directory](ncpeek/parsers)

   1. Your custom parser must implement the `Parser` class. See an [existing parser for an example](ncpeek/parsers/cisco_ios_xe_memory_oper.py#L8)

   2. the `parse` function must take three arguments and return a list with a dictionary inside.

      ```python
      def parse(
        self,
        data_to_parse: dict,
        device: NetconfDevice,
        netconf_filter_id: str,
      ) -> list[dict]:
      ```

   3. The variable `data_to_parse` holds a dictionary with **data** as key, and the rpc-reply as the value.

      ```python
      {
          "data": {
              "@xmlns": "urn:ietf:params:xml:ns:netconf:base:1.0",
              "@xmlns:nc": "urn:ietf:params:xml:ns:netconf:base:1.0",
              "memory-statistics": {
                  "@xmlns": "http://cisco.com/ns/yang/Cisco-IOS-XE-memory-oper",
                  "memory-statistic": [
                      {
                          "name": "Processor",
                          "total-memory": "2028113884",
                          "used-memory": "192040880",
                      },
                  ],
              },
          }
      }
      ```

   > Review the [tests for the parsers](ncpeek/tests/test_parsers/) to get more familiar.

   4. Is recommended to return the following fields beside the data on your parser

      ```python
        "field": self.netconf_filter_id,
        "device": self.device.hostname,
        "ip": self.device.host,
      ```

3. Add your new parser to [the factory mapping.](ncpeek/factory/factory_mappings.py#L12) This way, `ncpeek` knows which parser to use for which filter.

   1. Follow the dictionary structure, where the first keys are the name of the filter you are using.

      1. If using a `xml` file, use the filename as ID, including the `.xml` extension.
      2. If using `xpath`, use the whole xpath expression.

   2. On the second level of the dictionary, add the module that has your parser and the class to import.

      ```python
      PARSER_MAPPING: Dict[str, Dict[str, str]] = {
          "cisco_xe_ietf-interfaces.xml": {
              "module": "ncpeek.parsers.cisco_xe_ietf_interfaces",
              "class": "InterfaceStatsIETF_IOSXEParser",
          },
          "http://cisco.com/ns/yang/Cisco-IOS-XE-isis-oper:/isis-oper-data/isis-instance": {
              "module": "ncpeek.parsers.cisco_ios_xe_isis_oper",
              "class": "ISISStatsIOSXEParser",
          },
      }
      ```

## FAQ

- Why I see a deprecation message?
  - Unfortunately, paramiko >=2.9 and IOS-XR 7.3.2 don't go well together, so I had to use an old paramiko <=2.8.1 which has this deprecation message. See [ncclient/issues/526](https://github.com/ncclient/ncclient/issues/526#issuecomment-1868278440) for more info.

[^1]: Up to a maximum of 10 nested dictionaries. After that, all remaining nested directionaries will be return as they are. This [limit can be configured](ncpeek/parsers/remove_namespaces.py#L12) per custom parser.


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/jillesca/ncpeek",
    "name": "ncpeek",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.11,<4.0",
    "maintainer_email": "",
    "keywords": "netconf,ncclient,NETCONF Python client,Cisco,DevNet",
    "author": "Jesus Illescas",
    "author_email": "jillesca@outlook.com",
    "download_url": "https://files.pythonhosted.org/packages/bf/88/7cef460533728022898320189c87db2226993d534d4e9f537a5b2335a93b/ncpeek-0.1.4.tar.gz",
    "platform": null,
    "description": "# ncpeek\n\n`ncpeek` (short for `netconf peek`) is a netconf client that retrieves data using the `ncclient` library.\n\nIt parses the rpc-reply into json format by default, removing any namespaces.[^1] Additional data as such as `ip`, `device` and `field` are also included in the output.\n\nHere's an example on how `ncpeek` works, using the following xml filter:\n\n```xml\n<filter>\n  <system xmlns=\"http://openconfig.net/yang/system\">\n    <state>\n      <hostname />\n    </state>\n  </system>\n</filter>\n```\n\nIt will yield this result.\n\n```json\n[\n  {\n    \"ip\": \"sandbox-iosxr-1.cisco.com\",\n    \"device\": \"sandbox-iosxr-1.cisco.com\",\n    \"field\": \"generic\",\n    \"data\": {\n      \"system\": {\n        \"state\": {\n          \"hostname\": \"sandbox-iosxr\"\n        }\n      }\n    }\n  }\n]\n```\n\nFor more complex data manipulation or logic, you can add a custom parser for your xml filter or xpath. See [Adding a Parser](#adding-a-parser) for instructions.\n\n## Use cases\n\nI developed originally `ncpeek` to be used within [Telegraf](https://www.influxdata.com/time-series-platform/telegraf/) to gather telemetry data from network devices and print the metrics. This was showcased in a [demo presented at Cisco Impact 2023.](https://github.com/jillesca/open_telemetry_network_impact) In this scenario, a CLI client with a simple interface was what I needed.\n\nFor an upcoming talk I will deliver at Cisco Live Amsterdam 2024, I improved the netconf client and added an API layer. This allows other systems, such as AI, to call `ncpeek` and fetch data from network devices. For this use case, I needed a simple API for the AI to use.\n\n### State\n\nIt's important to note upfront that `ncpeek` is a pet project primarily used for demos. So far, testing has been limited to C8000V 17.09.02a and IOSXR 7.3.2 running on the DevNet always-on sandbox.\n\nPRs are welcome, but the support provided might be limited due to the nature of the project. If you have specific requirements or need extensive modifications, you might find it more efficient to fork the project.\n\nSee the file [Contributing](CONTRIBUTING.md) for more information.\n\n## Installation\n\nFor CLI or API you can install `ncpeek` via pip. [See Details on pypi.](https://pypi.org/project/ncpeek/)\n\n```bash\n pip install ncpeek\n```\n\nTo add a custom parser or work directly with the code [see Development.](#development)\n\n> `ncpeek` was developed on Python 3.11, consider using a virtual or dedicated environment when use it.\n\n## Usage\n\nThere are two ways to use `ncpeek`; via the command-line interface (CLI) or through the API. Note that filters can be either `xml` or `xpath`, but only one type can be used at a time.\n\n### CLI\n\n```bash\n\u276f python -m ncpeek\nusage: __main__.py [-h] [-d DEVICE_SETTINGS] (-x XML_FILTER | -p XPATH_FILTER)\n\n'ncpeek' is a netconf client designed to fetch data from various devices.\nThe client can be utilized in two distinct ways,\neither via Command Line Interface (CLI) or Application Programming Interface (API).\nThe data retrieval can be filtered through either XML or XPath,\nhowever, only one filter type can be applied at a given time.\nNote that in CLI mode, only filenames can be treated as arguments.\nSource code: https://github.com/jillesca/ncpeek\n\noptions:\n  -h, --help            show this help message and exit\n  -d DEVICE_SETTINGS, --device-settings DEVICE_SETTINGS\n                        Specify JSON filename containing device settings.\n                        Visit https://github.com/jillesca/ncpeek/tree/main/ncpeek/devices for examples.\n  -x XML_FILTER, --xml-filter XML_FILTER\n                        Specify XML filename containing XML filter.\n                        Visit https://github.com/jillesca/ncpeek/tree/main/ncpeek/filters for more details.\n  -p XPATH_FILTER, --xpath-filter XPATH_FILTER\n                        Formats: <xpath> OR <namespace>:<xpath>\n                        Example: 'interfaces/interface' OR\n                        'http://cisco.com/ns/yang/Cisco-IOS-XE-interfaces-oper:interfaces/interface'\n```\n\nHere's an example of how to use `ncpeek` with a specific device setting and xml filter:\n\n```bash\npython -m ncpeek --device-settings=devnet_xe_sandbox.json --xml-filter=Cisco-IOS-XE-memory-oper.xml\n```\n\nOr with a specific device setting and xpath filter:\n\n```bash\npython -m ncpeek --device-settings=devnet_xe_sandbox.json --xpath-filter=http://cisco.com/ns/yang/Cisco-IOS-XE-native:/native/hostname\n```\n\n`ncpeek` will print the data retrieved from the network device to stdout.\n\n### API\n\n```python\nfrom ncpeek.client import NetconfClient\n\ndef api_call() -> None:\n    \"\"\"Example NetconfClient API\"\"\"\n    client = NetconfClient()\n    client.set_devices_settings(xr_device_settings)\n    client.set_xml_filter(xml_filter)\n    try:\n        result = client.fetch()\n    except Exception as err:\n        result = [{\"error\": f\"{err=}\"}]\n    print(result)\n```\n\n`ncpeek` will return the data as json. See [api_example.py](examples/api_example.py) for the full example.\n\n## Device Settings\n\nThe device settings should follow a specific structure.\n\n- **CLI:** json filename containing the device settings.\n\n  ```bash\n  --device-settings=devnet_xe_sandbox.json\n  ```\n\n- **API:** json filename, valid json string or a python dictionary with the same structure. Use the [`set_devices_settings`](ncpeek/client.py#L27) method.\n\n  ```python\n  def set_devices_settings(\n          self, device_settings: Union[list, str]\n      ) -> None:\n  ```\n\nThe **required** fields are:\n\n- `host`\n- `username`\n- `password`\n\nThe rest of the fields take defaults on [netconf_device](ncpeek/netconf_devices.py#L6)\n\nHere, you can find an example of the device settings.\n\n```json\n[\n  {\n    \"host\": \"sandbox-iosxe-latest-1.cisco.com\",\n    \"port\": 830,\n    \"username\": \"admin\",\n    \"password\": \"C1sco12345\",\n    \"hostkey_verify\": \"False\",\n    \"timeout\": 10,\n    \"device_params\": {\n      \"name\": \"iosxe\"\n    }\n  }\n]\n```\n\nYou can add multiple devices in a single json array. However, please note that the data is retrieved sequencially.\n\nSee examples on [ncpeek/devices](ncpeek/devices/)\n\n## Filters\n\n### XML\n\n- **CLI.** filename with the xml filter.\n\n  ```python\n  --xml-filter=cisco_xe_ietf-interfaces.xml\n  ```\n\n  - See examples on [ncpeek/filters](ncpeek/filters/)\n\n- **API.** filename or xml string. Use the [`set_xml_filter`](ncpeek/client.py#L38) method.\n\n  ```python\n    def set_xml_filter(self, xml_filter: str) -> None:\n  ```\n\n### xpath\n\nThe following formats are accepted:\n\n```bash\n<xpath>\n<namespace>:<xpath>\n```\n\n- **CLI.** `xpath` string.\n\n  - Examples:\n\n    ```bash\n    --xpath-filter=interfaces/interface\n    ```\n\n    ```bash\n    --xpath-filter=http://cisco.com/ns/yang/Cisco-IOS-XE-interfaces-oper:interfaces/interface\n    ```\n\n- **API.** `xpath` string. Use the [`set_xpath_filter`](ncpeek/client.py#L46) method.\n\n  ```python\n    def set_xpath_filter(self, xpath_filter: str) -> None:\n  ```\n\n## Operations\n\nCurrently, `ncpeek` only uses the [GET operation](ncpeek/netconf_session.py#L34) to retrieve data. More operations may be added in future versions.\n\n### Built-in filters and parsers\n\nYou can call directly any of these filters by its name, without specifying their path.\n\nUse the [devnet sandbox](ncpeek/devices/) for testing.\n\n- [xml filters built-in](ncpeek/filters/):\n\n  - `cisco_xe_ietf-interfaces.xml` (custom parser added)\n  - `Cisco-IOS-XE-interfaces-oper.xml` (custom parser added)\n  - `Cisco-IOS-XE-memory-oper.xml` (custom parser added)\n  - `Cisco-IOS-XR-facts.xml`\n  - `Cisco-IOS-XR-hostname.xml`\n\n- xpath parser built-in\n  - `http://cisco.com/ns/yang/Cisco-IOS-XE-isis-oper:/isis-oper-data/isis-instance` (custom parser added)\n\n## Development\n\nTo Install the dependencies needed, use these commands.\n\n```bash\npoetry install\n```\n\n```bash\npeotry shell\n```\n\n> If you use `vscode`, start `poetry shell` and then start vscode with `code .`\n\nIn case you don't have poetry, install it with `curl -sSL https://install.python-poetry.org | python3 -`\n\nIf you want to use pip, install the dependencies manually. The only requirement is **paramiko <=2.8.1** for working with older XR and Junos versions.\n\nIf you ran into module import problems, add the root project to your `PYHTONPATH`\n\n```bash\nexport PYTHONPATH=.\n```\n\n### Default directories\n\n- Device Settings default directory is [ncpeek/devices](ncpeek/devices/).\n- XML Filters default directory is [ncpeek/filters](ncpeek/filters).\n\n### Adding a Parser\n\nTo add a custom parser follow the steps below:\n\n1. Clone this repository.\n2. Create a parser under [the parsers directory](ncpeek/parsers)\n\n   1. Your custom parser must implement the `Parser` class. See an [existing parser for an example](ncpeek/parsers/cisco_ios_xe_memory_oper.py#L8)\n\n   2. the `parse` function must take three arguments and return a list with a dictionary inside.\n\n      ```python\n      def parse(\n        self,\n        data_to_parse: dict,\n        device: NetconfDevice,\n        netconf_filter_id: str,\n      ) -> list[dict]:\n      ```\n\n   3. The variable `data_to_parse` holds a dictionary with **data** as key, and the rpc-reply as the value.\n\n      ```python\n      {\n          \"data\": {\n              \"@xmlns\": \"urn:ietf:params:xml:ns:netconf:base:1.0\",\n              \"@xmlns:nc\": \"urn:ietf:params:xml:ns:netconf:base:1.0\",\n              \"memory-statistics\": {\n                  \"@xmlns\": \"http://cisco.com/ns/yang/Cisco-IOS-XE-memory-oper\",\n                  \"memory-statistic\": [\n                      {\n                          \"name\": \"Processor\",\n                          \"total-memory\": \"2028113884\",\n                          \"used-memory\": \"192040880\",\n                      },\n                  ],\n              },\n          }\n      }\n      ```\n\n   > Review the [tests for the parsers](ncpeek/tests/test_parsers/) to get more familiar.\n\n   4. Is recommended to return the following fields beside the data on your parser\n\n      ```python\n        \"field\": self.netconf_filter_id,\n        \"device\": self.device.hostname,\n        \"ip\": self.device.host,\n      ```\n\n3. Add your new parser to [the factory mapping.](ncpeek/factory/factory_mappings.py#L12) This way, `ncpeek` knows which parser to use for which filter.\n\n   1. Follow the dictionary structure, where the first keys are the name of the filter you are using.\n\n      1. If using a `xml` file, use the filename as ID, including the `.xml` extension.\n      2. If using `xpath`, use the whole xpath expression.\n\n   2. On the second level of the dictionary, add the module that has your parser and the class to import.\n\n      ```python\n      PARSER_MAPPING: Dict[str, Dict[str, str]] = {\n          \"cisco_xe_ietf-interfaces.xml\": {\n              \"module\": \"ncpeek.parsers.cisco_xe_ietf_interfaces\",\n              \"class\": \"InterfaceStatsIETF_IOSXEParser\",\n          },\n          \"http://cisco.com/ns/yang/Cisco-IOS-XE-isis-oper:/isis-oper-data/isis-instance\": {\n              \"module\": \"ncpeek.parsers.cisco_ios_xe_isis_oper\",\n              \"class\": \"ISISStatsIOSXEParser\",\n          },\n      }\n      ```\n\n## FAQ\n\n- Why I see a deprecation message?\n  - Unfortunately, paramiko >=2.9 and IOS-XR 7.3.2 don't go well together, so I had to use an old paramiko <=2.8.1 which has this deprecation message. See [ncclient/issues/526](https://github.com/ncclient/ncclient/issues/526#issuecomment-1868278440) for more info.\n\n[^1]: Up to a maximum of 10 nested dictionaries. After that, all remaining nested directionaries will be return as they are. This [limit can be configured](ncpeek/parsers/remove_namespaces.py#L12) per custom parser.\n\n",
    "bugtrack_url": null,
    "license": "BSD-3-Clause",
    "summary": "ncpeek (short for netconf peek) is a netconf client that retrieves data using the ncclient library.",
    "version": "0.1.4",
    "project_urls": {
        "Homepage": "https://github.com/jillesca/ncpeek",
        "Repository": "https://github.com/jillesca/ncpeek"
    },
    "split_keywords": [
        "netconf",
        "ncclient",
        "netconf python client",
        "cisco",
        "devnet"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "45d7852b3eb8f2531a0f694e849312a86315f0e1934378029f795aef0a62ba3a",
                "md5": "d83c247e6ad18b9ac3c598201f91531f",
                "sha256": "636820155ce87ad3dc300119a6a5f7dae7d014dbbec8e22ea62be0a49fc6f34f"
            },
            "downloads": -1,
            "filename": "ncpeek-0.1.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d83c247e6ad18b9ac3c598201f91531f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11,<4.0",
            "size": 24183,
            "upload_time": "2024-02-02T13:37:12",
            "upload_time_iso_8601": "2024-02-02T13:37:12.538692Z",
            "url": "https://files.pythonhosted.org/packages/45/d7/852b3eb8f2531a0f694e849312a86315f0e1934378029f795aef0a62ba3a/ncpeek-0.1.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bf887cef460533728022898320189c87db2226993d534d4e9f537a5b2335a93b",
                "md5": "207968f6a4ea8952076135585969fc91",
                "sha256": "5480c8ae82b4450fd94408f03816980f035953ca37e8e68676ca409c627b4f0b"
            },
            "downloads": -1,
            "filename": "ncpeek-0.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "207968f6a4ea8952076135585969fc91",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11,<4.0",
            "size": 18921,
            "upload_time": "2024-02-02T13:37:14",
            "upload_time_iso_8601": "2024-02-02T13:37:14.238832Z",
            "url": "https://files.pythonhosted.org/packages/bf/88/7cef460533728022898320189c87db2226993d534d4e9f537a5b2335a93b/ncpeek-0.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-02 13:37:14",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jillesca",
    "github_project": "ncpeek",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "ncpeek"
}
        
Elapsed time: 0.18809s