{"id":15297482,"url":"https://github.com/selfuryon/netdev","last_synced_at":"2025-10-07T10:31:05.726Z","repository":{"id":45787393,"uuid":"60920148","full_name":"selfuryon/netdev","owner":"selfuryon","description":"Asynchronous multi-vendor library for interacting with network devices","archived":true,"fork":false,"pushed_at":"2021-08-19T23:42:20.000Z","size":381,"stargazers_count":214,"open_issues_count":23,"forks_count":46,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-01-20T09:52:06.838Z","etag":null,"topics":["async","asyncssh","automation","cisco","hpe","juniper","netdev","netmiko","network","python","python-3"],"latest_commit_sha":null,"homepage":"http://netdev.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/selfuryon.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-06-11T17:46:07.000Z","updated_at":"2025-01-17T20:11:42.000Z","dependencies_parsed_at":"2022-07-16T15:17:23.461Z","dependency_job_id":null,"html_url":"https://github.com/selfuryon/netdev","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selfuryon%2Fnetdev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selfuryon%2Fnetdev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selfuryon%2Fnetdev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/selfuryon%2Fnetdev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/selfuryon","download_url":"https://codeload.github.com/selfuryon/netdev/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235620759,"owners_count":19019516,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["async","asyncssh","automation","cisco","hpe","juniper","netdev","netmiko","network","python","python-3"],"created_at":"2024-09-30T19:17:47.570Z","updated_at":"2025-10-07T10:31:00.341Z","avatar_url":"https://github.com/selfuryon.png","language":"Python","readme":"THIS PROJECT IS UNMAINTAINED\n****************************\nI'm not interested in this project anymore, sorry. \nI don't work as an network engineer anymore so I haven't any special goals to improve and maintain it.\n\nNetdev\n******\n\nAsynchronous multi-vendor library for interacting with network devices\n\nInspired by netmiko\n\nRequires:\n---------\n* asyncio\n* AsyncSSH\n* Python \u003e=3.5\n* pyYAML\n  \n \nSupports:\n---------\n* Cisco IOS \n* Cisco IOS XE\n* Cisco IOS XR\n* Cisco ASA\n* Cisco NX-OS\n* Cisco SG3XX\n* HP Comware (like V1910 too)\n* Fujitsu Blade Switches\n* Mikrotik RouterOS\n* Arista EOS\n* Juniper JunOS\n* Aruba AOS 6.X\n* Aruba AOS 8.X\n* Terminal\n* Alcatel AOS\n\nExamples:\n---------\nExample of interacting with Cisco IOS devices:\n\n.. code-block:: python\n\n    import asyncio\n    import netdev\n\n    async def task(param):\n        async with netdev.create(**param) as ios:\n            # Testing sending simple command\n            out = await ios.send_command(\"show ver\")\n            print(out)\n            # Testing sending configuration set\n            commands = [\"line console 0\", \"exit\"]\n            out = await ios.send_config_set(commands)\n            print(out)\n            # Testing sending simple command with long output\n            out = await ios.send_command(\"show run\")\n            print(out)\n            # Testing interactive dialog\n            out = await ios.send_command(\"conf\", pattern=r'\\[terminal\\]\\?', strip_command=False)\n            out += await ios.send_command(\"term\", strip_command=False)\n            out += await ios.send_command(\"exit\", strip_command=False, strip_prompt=False)\n            print(out)\n\n\n    async def run():\n        dev1 = { 'username' : 'user',\n                 'password' : 'pass',\n                 'device_type': 'cisco_ios',\n                 'host': 'ip address',\n        }\n        dev2 = { 'username' : 'user',\n                 'password' : 'pass',\n                 'device_type': 'cisco_ios',\n                 'host': 'ip address',\n        }\n        devices = [dev1, dev2]\n        tasks = [task(dev) for dev in devices]\n        await asyncio.wait(tasks)\n\n\n    loop = asyncio.get_event_loop()\n    loop.run_until_complete(run())\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselfuryon%2Fnetdev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fselfuryon%2Fnetdev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fselfuryon%2Fnetdev/lists"}