{"id":24109,"library":"netconf-console2","title":"netconf-console2","description":"Netconf client CLI tool and interactive console for managing NETCONF-enabled devices. Version 3.0.1 provides support for YANG-based operations, SSH and TLS transport, and an interactive shell. Release cadence is irregular.","status":"active","version":"3.0.1","language":"python","source_language":"en","source_url":"https://github.com/robshakir/netconf-console2","tags":["netconf","yang","cli","network-automation"],"install":[{"cmd":"pip install netconf-console2","lang":"bash","label":"Latest release"}],"dependencies":[],"imports":[{"wrong":"from netconf.console import connect","symbol":"connect","correct":"from netconf_console import connect"}],"quickstart":{"code":"import os\nfrom netconf.console import connect\n\nhost = os.environ.get('NETCONF_HOST', '192.168.1.1')\nport = int(os.environ.get('NETCONF_PORT', '830'))\nusername = os.environ.get('NETCONF_USER', 'admin')\npassword = os.environ.get('NETCONF_PASS', 'admin')\n\nwith connect(host=host, port=port, username=username, password=password) as session:\n    capabilities = session.server_capabilities\n    print('Connected. Capabilities:', capabilities)","lang":"python","description":"Connect to a NETCONF device and retrieve server capabilities."},"warnings":[{"fix":"Update imports to use netconf.console; Python 2 users must stay on <3.0.0.","message":"Version 3.0.0 dropped support for Python 2 and changed import paths (netconf.console instead of netconf_console).","severity":"breaking","affected_versions":">=3.0.0"},{"fix":"Pass source as a plain string, e.g., session.get_config('running').","message":"The 'get_config' method's 'source' parameter now expects a string like 'running' instead of a dictionary. Old contract { 'source': 'running' } is deprecated.","severity":"deprecated","affected_versions":">=3.0.0"},{"fix":"Perform all NETCONF operations within the 'with' block.","message":"When using 'connect' inside a 'with' block, the session is automatically closed. Reusing the session after exiting the block raises an error.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'3.0.1':18 'autom':43 'base':24 'cadenc':35 'cli':6,40 'client':5 'consol':10 'console2':3 'devic':16 'enabl':15 'interact':9,32 'irregular':37 'manag':12 'netconf':2,4,14,38 'netconf-console2':1 'netconf-en':13 'network':42 'network-autom':41 'oper':25 'provid':19 'releas':34 'shell':33 'ssh':26 'support':20 'tls':28 'tool':7 'transport':29 'version':17 'yang':23,39 'yang-bas':22","created_at":"2026-05-01T08:11:20.146661+00:00","updated_at":"2026-05-01T08:11:20.146661+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\n  File \"/tmp/tmp9dzy4m2g/venv/lib/python3.12/site-packages/netconf_console/__init__.py\", line 1, in <module>\n    from . import ncc\n  File \"/tmp/tmp9dzy4m2g/venv/lib/python3.12/site-packages/netconf_console/ncc.py\", line 12, in"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"3.0.1","cli_name":"netconf-console2","cli_version":"Traceback (most recent call last):","type":"library","homepage":"https://bitbucket.org/martin_volf/ncc","github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/netconf-console2/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["http-networking","devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}