Netconf Client is a Python library for interacting with NETCONF-enabled network devices. It supports NETCONF over SSH and TLS, with features like candidate configuration, datastore operations, and YANG-based filtering. The current version is 3.6.0, requiring Python >=3.8, <4.0. Release cadence is irregular, with occasional minor version bumps.
pip install netconf-clientNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Connect to a NETCONF device (SSH), retrieve the running configuration, and print it as XML.
Update to use session methods like get_config, edit_config instead of get, edit.
Replace 'hostkey_verify=False' with 'host_key_check_policy=HostKeyCheckPolicy.IGNORE' from netconf_client.constants.
Create separate sessions per thread or use a mutex around method calls.