{ "info": { "author": "Shikhar Bhushan, Leonidas Poulopoulos, Ebben Aries, Einar Nilsen-Nygaard", "author_email": "shikhar@schmizz.net, lpoulopoulos@verisign.com, earies@juniper.net, einarnn@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Networking" ], "description": "ncclient: Python library for NETCONF clients\n--------------------------------------------\n\nncclient is a Python library that facilitates client-side scripting and\napplication development around the NETCONF protocol. ``ncclient`` was\ndeveloped by `Shikar Bhushan `_. It is now\nmaintained by `Leonidas Poulopoulos (@leopoul) `_\n\nDocs:\n`http://ncclient.readthedocs.org `_\n\nGithub:\n`https://github.com/ncclient/ncclient `_\n\nRequirements:\n^^^^^^^^^^^^^\n\n- Python 2.7 or Python 3.4+\n- setuptools 0.6+\n- Paramiko 1.7+\n- lxml 3.3.0+\n- libxml2\n- libxslt\n\nIf you are on Debian/Ubuntu install the following libs (via aptitude or\napt-get):\n\n- libxml2-dev\n- libxslt1-dev\n\nInstallation:\n^^^^^^^^^^^^^\n\n::\n\n [ncclient] $ sudo python setup.py install\n\nor via pip:\n\n::\n\n pip install ncclient\n\nExamples:\n^^^^^^^^^\n\n::\n\n [ncclient] $ python examples/juniper/*.py\n\nUsage\n~~~~~\n\nGet device running config\n'''''''''''''''''''''''''\n\nUse either an interactive Python console (ipython) or integrate the\nfollowing in your code:\n\n::\n\n from ncclient import manager\n\n with manager.connect(host=host, port=830, username=user, hostkey_verify=False) as m:\n c = m.get_config(source='running').data_xml\n with open(\"%s.xml\" % host, 'w') as f:\n f.write(c)\n\nAs of 0.4.1 ncclient integrates Juniper's and Cisco's forks, lots of new concepts\nhave been introduced that ease management of Juniper and Cisco devices respectively.\nThe biggest change is the introduction of device handlers in connection paramms.\nFor example to invoke Juniper's functions annd params one has to re-write the above with \n**device\\_params={'name':'junos'}**:\n\n::\n\n from ncclient import manager\n\n with manager.connect(host=host, port=830, username=user, hostkey_verify=False, device_params={'name':'junos'}) as m:\n c = m.get_config(source='running').data_xml\n with open(\"%s.xml\" % host, 'w') as f:\n f.write(c)\n\nDevice handlers are easy to implement and prove to be futureproof.\n\nSupported device handlers\n'''''''''''''''''''''''''\n\n* Juniper: device_params={'name':'junos'}\n* Cisco CSR: device_params={'name':'csr'}\n* Cisco Nexus: device_params={'name':'nexus'}\n* Huawei: device_params={'name':'huawei'}\n* Alcatel Lucent: device_params={'name':'alu'}\n* H3C: device_params={'name':'h3c'}\n* HP Comware: device_params={'name':'hpcomware'}\n\nChanges \\| brief\n~~~~~~~~~~~~~~~~\n\n**v0.6.0**\n\n- Fix use of new Python 3.7 keyword, async\n- Re-enable Python 3.7\n\n**v0.5.4**\n\n- Rollup of minor changes since 0.5.3\n- Disablement of Python 3.7 due to async keyword issue\n\n**v0.5.3**\n\n- Add notifications support\n- Add support for ecdsa keys\n- Various bug fixes\n\n**v0.5.2**\n\n- Add support for Python 3\n- Improve Junos ioproc performance\n- Performance improvements\n- Updated test cases\n- Many bug and performance fixes\n\n\n**v0.4.7**\n\n- Add support for netconf 1.1\n\n**v0.4.6**\n\n- Fix multiple RPC error generation\n- Add support for cancel-commit and persist param\n- Add more examples\n\n**v0.4.5**\n\n- Add Huawei device support\n- Add cli command support for hpcomware v7 devices\n- Add H3C support, Support H3C CLI,Action,Get_bulk,Save,Rollback,etc.\n- Add alcatel lucent support\n\n- Rewrite multiple error handling\n- Add coveralls support, with shield in README.md\n- Set severity level to higher when multiple\n- Simplify logging and multi-error reporting\n- Keep stacktrace of errors\n- Check for known hosts on hostkey_verify only\n- Add check for device sending back null error_text\n- Fix RPC.raise_mode\n- Specifying hostkey_verify=False should not load_known_hosts\n- Check the correct field on rpc-error element\n\n**v0.4.3**\n\n- Nexus exec_command operation\n- Allow specifying multiple cmd elements in Cisco Nexus\n- Update rpc for nested rpc-errors\n- Prevent race condition in threading\n- Prevent hanging in session close\n\n**v0.4.2**\n\n- Support for paramiko ProxyCommand via ~/.ssh/config parsing\n- Add Juniper-specific commit operations\n- Add Huawei devices support\n- Tests/Travis support\n- ioproc transport support for Juniper devices\n- Update Cisco CSR device handler\n- Many minor and major fixes\n\n**v0.4.1**\n\n- Switch between replies if custom handler is found\n- Add Juniper, Cisco and default device handlers\n- Allow preferred SSH subsystem name in device params\n- Allow iteration over multiple SSH subsystem names.\n\n\n\n\nAcknowledgements\n~~~~~~~~~~~~~~~~\n\n- v0.6.0: `Einar Nilsen-Nygaard`_\n- v0.5.4: Various\n- v0.5.3: `Justin Wilcox`_, `Stacy W. Smith`_, `Mircea Ulinic`_,\n `Ebben Aries`_, `Einar Nilsen-Nygaard`_, `QijunPan`_\n- v0.5.2: `Nitin Kumar`_, `Kristian Larsson`_, `palashgupta`_,\n `Jonathan Provost`_, `Jainpriyal`_, `sharang`_, `pseguel`_,\n `nnakamot`_, `\u0410\u043b\u0435\u043a\u0441\u0435\u0439 \u041f\u0430\u0441\u0442\u0443\u0445\u043e\u0432`_, `Christian Giese`_, `Peipei Guo`_,\n `Time Warner Cable Openstack Team`_\n- v0.4.7: `Einar Nilsen-Nygaard`_, `Vaibhav Bajpai`_, Norio Nakamoto\n- v0.4.6: `Nitin Kumar`_, `Carl Moberg`_, `Stavros Kroustouris`_\n- v0.4.5: `Sebastian Wiesinger`_, `Vincent Bernat`_, `Matthew Stone`_,\n `Nitin Kumar`_\n- v0.4.3: `Jeremy Schulman`_, `Ray Solomon`_, `Rick Sherman`_,\n `subhak186`_\n- v0.4.2: `katharh`_, `Francis Luong (Franco)`_, `Vincent Bernat`_,\n `Juergen Brendel`_, `Quentin Loos`_, `Ray Solomon`_, `Sebastian\n Wiesinger`_, `Ebben Aries`_\n- v0.4.1: `Jeremy Schulman`_, `Ebben Aries`_, Juergen Brendel\n\n.. _Nitin Kumar: https://github.com/vnitinv\n.. _Kristian Larsson: https://github.com/plajjan\n.. _palashgupta: https://github.com/palashgupta\n.. _Jonathan Provost: https://github.com/JoProvost\n.. _Jainpriyal: https://github.com/Jainpriyal\n.. _sharang: https://github.com/sharang\n.. _pseguel: https://github.com/pseguel\n.. _nnakamot: https://github.com/nnakamot\n.. _\u0410\u043b\u0435\u043a\u0441\u0435\u0439 \u041f\u0430\u0441\u0442\u0443\u0445\u043e\u0432: https://github.com/p-alik\n.. _Christian Giese: https://github.com/GIC-de\n.. _Peipei Guo: https://github.com/peipeiguo\n.. _Time Warner Cable Openstack Team: https://github.com/twc-openstack\n.. _Einar Nilsen-Nygaard: https://github.com/einarnn\n.. _Vaibhav Bajpai: https://github.com/vbajpai\n.. _Carl Moberg: https://github.com/cmoberg\n.. _Stavros Kroustouris: https://github.com/kroustou\n.. _Sebastian Wiesinger: https://github.com/sebastianw\n.. _Vincent Bernat: https://github.com/vincentbernat\n.. _Matthew Stone: https://github.com/bigmstone\n.. _Jeremy Schulman: https://github.com/jeremyschulman\n.. _Ray Solomon: https://github.com/rsolomo\n.. _Rick Sherman: https://github.com/shermdog\n.. _subhak186: https://github.com/subhak186\n.. _katharh: https://github.com/katharh\n.. _Francis Luong (Franco): https://github.com/francisluong\n.. _Juergen Brendel: https://github.com/juergenbrendel\n.. _Quentin Loos: https://github.com/Kent1\n.. _Ebben Aries: https://github.com/earies\n.. _Justin Wilcox: https://github.com/jwwilcox\n.. _Stacy W. Smith: https://github.com/stacywsmith\n.. _Mircea Ulinic: https://github.com/mirceaulinic\n.. _QijunPan: https://github.com/QijunPan", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ncclient/ncclient", "keywords": "NETCONF,NETCONF Python client,Juniper Optimization,Cisco NXOS Optimization", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "ncclient", "package_url": "https://pypi.org/project/ncclient/", "platform": "Posix; OS X; Windows", "project_url": "https://pypi.org/project/ncclient/", "project_urls": { "Homepage": "https://github.com/ncclient/ncclient" }, "release_url": "https://pypi.org/project/ncclient/0.6.6/", "requires_dist": null, "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "summary": "Python library for NETCONF clients", "version": "0.6.6" }, "last_serial": 5326155, "releases": { "0.3.2": [ { "comment_text": "", "digests": { "md5": "489689eb4096a82fb4135e9cdd6b03d3", "sha256": "cf7023077046d6225eb55a0996eb819cfa56d0610954e2ecbc39f25340a200f4" }, "downloads": -1, "filename": "ncclient-0.3.2.tar.gz", "has_sig": false, "md5_digest": "489689eb4096a82fb4135e9cdd6b03d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17896, "upload_time": "2014-01-30T23:41:54", "url": "https://files.pythonhosted.org/packages/48/a2/e1ff5efac3ae12e45f6a38de5aaa12ef3969a30f68b8b9f2f66057b52dfb/ncclient-0.3.2.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "c9d514eb1a884641b8feecbcd04c48f1", "sha256": "b87bd85eddf17452a1a503bd2be1b8d6aa8d2cfc1bbdf842b0823a9d96562d79" }, "downloads": -1, "filename": "ncclient-0.4.0.tar.gz", "has_sig": false, "md5_digest": "c9d514eb1a884641b8feecbcd04c48f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22624, "upload_time": "2014-01-31T00:08:51", "url": "https://files.pythonhosted.org/packages/f3/b7/78e1068801dda0d9164818a872bb7159d6acce50d9806097ec68db1f0ed4/ncclient-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "1c7cac36ad625b0a9d1ab8f94c31daa4", "sha256": "f2a26ebbc97bd9caf7ba702a3545bfad4732bbf7b8353f4af8851c6a0815bccd" }, "downloads": -1, "filename": "ncclient-0.4.1.tar.gz", "has_sig": false, "md5_digest": "1c7cac36ad625b0a9d1ab8f94c31daa4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25462, "upload_time": "2014-02-22T22:37:12", "url": "https://files.pythonhosted.org/packages/ae/d6/3d52174e562bae2ae297818183a9f69c01896399cf19faa0ded2fbef35d8/ncclient-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "a986ab2b2c07525bab78c744c577b402", "sha256": "336ce8e8dbf28cb84ff6d0170b3430d9a7648014cf789bf45b5c7c2b6fe00dea" }, "downloads": -1, "filename": "ncclient-0.4.2.tar.gz", "has_sig": false, "md5_digest": "a986ab2b2c07525bab78c744c577b402", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 32701, "upload_time": "2014-10-08T00:45:39", "url": "https://files.pythonhosted.org/packages/e1/b1/2f1e912cd7d1aafcae0490339283991c1abd8a2b8c3b244bd35ec9bfefb0/ncclient-0.4.2.tar.gz" } ], "0.4.3": [ { "comment_text": "", "digests": { "md5": "6387ac5b276d0095486e7aaadf95fbb2", "sha256": "2043b9f68d83d03eeb9f941991025c159900b7b85900fac95d3a576740782533" }, "downloads": -1, "filename": "ncclient-0.4.3.tar.gz", "has_sig": false, "md5_digest": "6387ac5b276d0095486e7aaadf95fbb2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 55094, "upload_time": "2015-01-06T23:51:34", "url": "https://files.pythonhosted.org/packages/20/d3/0239544e2be0a15ba1fc7ff74979db9cf5a3e13e74a44b16b32446a23bc7/ncclient-0.4.3.tar.gz" } ], "0.4.5": [ { "comment_text": "", "digests": { "md5": "c7b258bf8e7b814a15dfd7e9cb42a479", "sha256": "247082de99d8c5fafff2df9c740e2f24da89c0a98af6e583236d5a3f2c017328" }, "downloads": -1, "filename": "ncclient-0.4.5.tar.gz", "has_sig": false, "md5_digest": "c7b258bf8e7b814a15dfd7e9cb42a479", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 56816, "upload_time": "2015-09-10T06:05:20", "url": "https://files.pythonhosted.org/packages/8c/1c/f5fa2d0ace8597bb44833ebd6db635690b9f4bc31cad8486b7512d74b757/ncclient-0.4.5.tar.gz" } ], "0.4.6": [ { "comment_text": "", "digests": { "md5": "5d5a4dd9353ec9b4023cbc119c07e5b1", "sha256": "9991b98c8e1a581991e2c761f98620de940f5e50c1cdef0d5cf605807551692a" }, "downloads": -1, "filename": "ncclient-0.4.6.tar.gz", "has_sig": false, "md5_digest": "5d5a4dd9353ec9b4023cbc119c07e5b1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 57618, "upload_time": "2015-11-17T23:03:15", "url": "https://files.pythonhosted.org/packages/e1/5b/8ab7b1ae60971ab5f0c0970f6bdead230fbfddb921f3b3cc14093c043bf3/ncclient-0.4.6.tar.gz" } ], "0.4.7": [ { "comment_text": "", "digests": { "md5": "a8b6e4636d6e2733e1d58355d4c01522", "sha256": "21d7782588d3b0440ae12a985fad8d26f158bb9d8c386d7a5df043e142ab5135" }, "downloads": -1, "filename": "ncclient-0.4.7.tar.gz", "has_sig": false, "md5_digest": "a8b6e4636d6e2733e1d58355d4c01522", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 60224, "upload_time": "2016-01-30T07:08:07", "url": "https://files.pythonhosted.org/packages/67/f2/5b8ab812cf5035ec1305eaf7ac3f395d2c806413e63a83c89241929fc278/ncclient-0.4.7.tar.gz" } ], "0.5.2": [ { "comment_text": "", "digests": { "md5": "6468f869b0cc9a1059d952f3e8472b27", "sha256": "b050423717e7d9751e8c8279452d5b262207a4d1ac2e89c8c6129e5cda17934d" }, "downloads": -1, "filename": "ncclient-0.5.2.tar.gz", "has_sig": false, "md5_digest": "6468f869b0cc9a1059d952f3e8472b27", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 61456, "upload_time": "2016-07-05T12:27:03", "url": "https://files.pythonhosted.org/packages/f4/bd/dcaca85ca435232f7075a53485687b4dff8464c36b2ea3de02375be85727/ncclient-0.5.2.tar.gz" } ], "0.5.3": [ { "comment_text": "", "digests": { "md5": "cc9bcc7185aea2328ec31d367c56cf7e", "sha256": "fe6b9c16ed5f1b21f5591da74bfdd91a9bdf69eb4e918f1c06b3c8db307bd32b" }, "downloads": -1, "filename": "ncclient-0.5.3.tar.gz", "has_sig": false, "md5_digest": "cc9bcc7185aea2328ec31d367c56cf7e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 63151, "upload_time": "2016-12-28T07:50:48", "url": "https://files.pythonhosted.org/packages/e9/cf/cb131bcaf9b31f8d9d1b9ec3aa9a861dd72a7269a9ff07217b60157fa526/ncclient-0.5.3.tar.gz" } ], "0.5.4": [ { "comment_text": "", "digests": { "md5": "e61bbfb987f98d2a0b90cc6d1a06bc4a", "sha256": "a6fbef687bcdc4a84275f64235f6ae045a92dc3c16444ebd40e126c711974078" }, "downloads": -1, "filename": "ncclient-0.5.4.tar.gz", "has_sig": false, "md5_digest": "e61bbfb987f98d2a0b90cc6d1a06bc4a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.7.*", "size": 69268, "upload_time": "2018-07-02T18:14:20", "url": "https://files.pythonhosted.org/packages/6d/b8/2baf717db8c5825980198fb39f3ee086bf49b000eac0de55ff0e5c654a75/ncclient-0.5.4.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "efecbbf44c64f841c2bf841fcc037b74", "sha256": "da7f7dfb8a60711610139e894b41ebcab3cd7103b78439ad5e9e91c2d3cfa423" }, "downloads": -1, "filename": "ncclient-0.6.0.tar.gz", "has_sig": false, "md5_digest": "efecbbf44c64f841c2bf841fcc037b74", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 69473, "upload_time": "2018-07-02T20:57:15", "url": "https://files.pythonhosted.org/packages/d7/5a/def9ce89fd9bbc57fd9b0a7202b371bfad16c0e738d3a3a672ea436d022e/ncclient-0.6.0.tar.gz" } ], "0.6.2": [ { "comment_text": "", "digests": { "md5": "14ddf95c2ad9b7f0f69f506fc56f69ff", "sha256": "6616828f9c5d318906dae22378a78342bbfa5983f1775c1af8bfecc779434c38" }, "downloads": -1, "filename": "ncclient-0.6.2.tar.gz", "has_sig": false, "md5_digest": "14ddf95c2ad9b7f0f69f506fc56f69ff", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 85063, "upload_time": "2018-08-21T09:57:01", "url": "https://files.pythonhosted.org/packages/4b/4d/e42c3617f4be41d91ce59f60735892c95fceff6e3fdcf648a12532a264da/ncclient-0.6.2.tar.gz" } ], "0.6.3": [ { "comment_text": "", "digests": { "md5": "61019f618c0b0c736af1d0baf6dcca7e", "sha256": "3ab58ee0d71069cb5b0e2f29a4e605d1d8417bd10af45b73ee3e817fe389fadc" }, "downloads": -1, "filename": "ncclient-0.6.3.tar.gz", "has_sig": false, "md5_digest": "61019f618c0b0c736af1d0baf6dcca7e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 88022, "upload_time": "2018-09-26T18:20:41", "url": "https://files.pythonhosted.org/packages/dc/95/acc44c2ff966743fedd1ad991ecf2498f40fd434883c67138b60a6373d49/ncclient-0.6.3.tar.gz" } ], "0.6.4": [ { "comment_text": "", "digests": { "md5": "b6c14f8a5ff2e418ecca67ef106091d3", "sha256": "47d5af7398f16d609eebd02be2ecbd997b364032b5dc6d4927c810ea24f39080" }, "downloads": -1, "filename": "ncclient-0.6.4.tar.gz", "has_sig": false, "md5_digest": "b6c14f8a5ff2e418ecca67ef106091d3", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 88691, "upload_time": "2019-04-07T17:48:58", "url": "https://files.pythonhosted.org/packages/22/4d/05b21cc52eedb44f994600ed527e4dda3fcb6f4c1e0e9c6aa8f72348131a/ncclient-0.6.4.tar.gz" } ], "0.6.6": [ { "comment_text": "", "digests": { "md5": "db4a8fe66f7e219c4da15851335563e7", "sha256": "2b367354d1cd25b79b8798a0b4c1949590d890057f2a252e6e970a9ab744e009" }, "downloads": -1, "filename": "ncclient-0.6.6.tar.gz", "has_sig": false, "md5_digest": "db4a8fe66f7e219c4da15851335563e7", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 89677, "upload_time": "2019-05-28T10:26:59", "url": "https://files.pythonhosted.org/packages/36/b1/1f909193588dfd35726e8ae35e01463386bbcf670b90ed61c4930ce447db/ncclient-0.6.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "db4a8fe66f7e219c4da15851335563e7", "sha256": "2b367354d1cd25b79b8798a0b4c1949590d890057f2a252e6e970a9ab744e009" }, "downloads": -1, "filename": "ncclient-0.6.6.tar.gz", "has_sig": false, "md5_digest": "db4a8fe66f7e219c4da15851335563e7", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", "size": 89677, "upload_time": "2019-05-28T10:26:59", "url": "https://files.pythonhosted.org/packages/36/b1/1f909193588dfd35726e8ae35e01463386bbcf670b90ed61c4930ce447db/ncclient-0.6.6.tar.gz" } ] }