{"id":13498098,"url":"https://github.com/vincentbernat/snimpy","last_synced_at":"2025-04-05T02:12:53.856Z","repository":{"id":1394871,"uuid":"1396646","full_name":"vincentbernat/snimpy","owner":"vincentbernat","description":"interactive SNMP tool with Python","archived":false,"fork":false,"pushed_at":"2024-03-02T10:50:05.000Z","size":839,"stargazers_count":183,"open_issues_count":21,"forks_count":43,"subscribers_count":18,"default_branch":"master","last_synced_at":"2024-04-15T07:13:02.128Z","etag":null,"topics":["python","snmp"],"latest_commit_sha":null,"homepage":"http://snimpy.readthedocs.org/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"punerb/ideahub","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vincentbernat.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":"CONTRIBUTING.rst","funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.rst","dei":null},"funding":{"github":"vincentbernat","custom":"https://www.buymeacoffee.com/vincentbernat"}},"created_at":"2011-02-22T07:28:22.000Z","updated_at":"2024-04-11T11:30:31.000Z","dependencies_parsed_at":"2023-07-06T15:46:25.713Z","dependency_job_id":"7c4fb61c-271e-4da0-b9ca-b8cf09afc5ae","html_url":"https://github.com/vincentbernat/snimpy","commit_stats":{"total_commits":537,"total_committers":23,"mean_commits":"23.347826086956523","dds":0.6201117318435754,"last_synced_commit":"d067492f1abbaf7a2bcf4196ecb27a3c4090ddd7"},"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vincentbernat%2Fsnimpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vincentbernat%2Fsnimpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vincentbernat%2Fsnimpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vincentbernat%2Fsnimpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vincentbernat","download_url":"https://codeload.github.com/vincentbernat/snimpy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276189,"owners_count":20912288,"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":["python","snmp"],"created_at":"2024-07-31T20:00:50.604Z","updated_at":"2025-04-05T02:12:53.833Z","avatar_url":"https://github.com/vincentbernat.png","language":"Python","funding_links":["https://github.com/sponsors/vincentbernat","https://www.buymeacoffee.com/vincentbernat"],"categories":["Python","Libraries"],"sub_categories":["Python"],"readme":"===============================\nsnimpy\n===============================\n\n.. image:: https://badge.fury.io/py/snimpy.svg\n    :target: http://badge.fury.io/py/snimpy\n    \n.. image:: https://github.com/vincentbernat/snimpy/workflows/Tests/badge.svg\n\n.. image:: https://coveralls.io/repos/vincentbernat/snimpy/badge.svg\n        :target: https://coveralls.io/r/vincentbernat/snimpy\n\n---\n\n Interactive SNMP tool.\n\n*Snimpy* is a Python-based tool providing a simple interface to build\nSNMP query. Here is a very simplistic example that allows us to\ndisplay the routing table of a given host::\n\n    load(\"IP-FORWARD-MIB\")\n    m=M(\"localhost\", \"public\", 2)\n    routes = m.ipCidrRouteNextHop\n    for x in routes:\n        net, netmask, tos, src = x\n        print(\"%15s/%-15s via %-15s src %-15s\" % (net, netmask, routes[x], src))\n\nYou can either use *Snimpy* interactively throught its console\n(derived from Python own console or from IPython_ if available) or\nwrite *Snimpy* scripts which are just Python scripts with some global\nvariables available.\n\n.. _IPython: http://ipython.org\n\n* Free software: ISC license\n* Documentation: http://snimpy.rtfd.org.\n\n*Snimpy* requires libsmi_ to work correctly. See the documentation for\nmore information.\n\n.. _libsmi: https://www.ibr.cs.tu-bs.de/projects/libsmi/\n\nFeatures\n--------\n\n*Snimpy* is aimed at being the more Pythonic possible. You should forget\nthat you are doing SNMP requests. *Snimpy* will rely on MIB to hide SNMP\ndetails. Here are some \"features\":\n\n* MIB parser based on libsmi  (through CFFI)\n* SNMP requests are handled by PySNMP (SNMPv1, SNMPv2 and SNMPv3\n  support)\n* scalars are just attributes of your session object\n* columns are like a Python dictionary and made available as an\n  attribute\n* getting an attribute is like issuing a GET method\n* setting an attribute is like issuing a SET method\n* iterating over a table is like using GETNEXT\n* when something goes wrong, you get an exception\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvincentbernat%2Fsnimpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvincentbernat%2Fsnimpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvincentbernat%2Fsnimpy/lists"}