{"id":13650462,"url":"https://github.com/hh-h/aiosnmp","last_synced_at":"2025-04-22T18:31:38.212Z","repository":{"id":33228245,"uuid":"150907231","full_name":"hh-h/aiosnmp","owner":"hh-h","description":"aiosnmp is an asynchronous SNMP client and trap server for use with asyncio.","archived":false,"fork":false,"pushed_at":"2022-12-05T08:50:14.000Z","size":88,"stargazers_count":43,"open_issues_count":1,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-03-24T03:02:39.197Z","etag":null,"topics":["asyncio","python3","snmp","snmpv2"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hh-h.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-09-29T22:16:26.000Z","updated_at":"2024-03-20T09:18:55.000Z","dependencies_parsed_at":"2023-01-15T00:00:19.516Z","dependency_job_id":null,"html_url":"https://github.com/hh-h/aiosnmp","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hh-h%2Faiosnmp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hh-h%2Faiosnmp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hh-h%2Faiosnmp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hh-h%2Faiosnmp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hh-h","download_url":"https://codeload.github.com/hh-h/aiosnmp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250297363,"owners_count":21407198,"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":["asyncio","python3","snmp","snmpv2"],"created_at":"2024-08-02T02:00:36.956Z","updated_at":"2025-04-22T18:31:37.929Z","avatar_url":"https://github.com/hh-h.png","language":"Python","funding_links":[],"categories":["Libraries"],"sub_categories":["Python"],"readme":"aiosnmp\n=======\n\n\n.. image:: https://dev.azure.com/6660879/aiosnmp/_apis/build/status/hh-h.aiosnmp?branchName=master\n   :target: https://dev.azure.com/6660879/aiosnmp/_build/results?buildId=38\u0026view=results\n   :alt: Build Status\n\n\n.. image:: https://img.shields.io/codecov/c/github/hh-h/aiosnmp/master.svg?style=flat\n   :target: https://codecov.io/github/hh-h/aiosnmp?branch=master\n   :alt: Code Coverage\n\n\n.. image:: https://badge.fury.io/py/aiosnmp.svg\n   :target: https://badge.fury.io/py/aiosnmp\n   :alt: PyPI version\n\n\n.. image:: https://img.shields.io/badge/license-MIT-brightgreen.svg\n   :target: https://img.shields.io/badge/license-MIT-brightgreen.svg\n   :alt: License\n\n\n.. image:: https://img.shields.io/badge/code%20style-black-black.svg\n   :target: https://github.com/ambv/black\n   :alt: Code Style\n\n\n.. image:: https://img.shields.io/badge/python-3.7%2B-brightgreen.svg\n   :target: https://img.shields.io/badge/python-3.7%2B-brightgreen.svg\n   :alt: Python version\n\n\naiosnmp is an asynchronous SNMP client for use with asyncio.\n\nInstallation\n------------\n\n.. code-block:: shell\n\n   pip install aiosnmp\n\nDocumentation\n-------------\n\nhttps://aiosnmp.readthedocs.io/en/latest/api.html\n\nNotice\n------\n\n| Only snmp v2c supported, v3 version is not supported\n| Oids should be like ``.1.3.6...`` or ``1.3.6...``. ``iso.3.6...`` is not supported\n\nSource address (host and port) validation\n-----------------------------------------\n\nBy default, v2c should not validate source addr, but in this library, it is enabled by default.\nYou can disable validation by passing ``validate_source_addr=False`` to ``Snmp``.\n\nBasic Usage\n-----------\n\n.. code-block:: python\n\n   import asyncio\n   import aiosnmp\n\n   async def main():\n       async with aiosnmp.Snmp(host=\"127.0.0.1\", port=161, community=\"public\") as snmp:\n           for res in await snmp.get(\".1.3.6.1.2.1.1.1.0\"):\n               print(res.oid, res.value)\n\n   asyncio.run(main())\n\nmore in `/examples \u003chttps://github.com/hh-h/aiosnmp/tree/master/examples\u003e`_\n\nTODO\n----\n\n* snmp v3 support\n* more tests\n\nLicense\n-------\n\naiosnmp is developed and distributed under the MIT license.\n\nRun local tests\n---------------\n\n.. code-block:: shell\n\n   pip install -r requirements-dev.txt\n   tox\n\nBefore submitting PR\n--------------------\n\n.. code-block:: shell\n\n   pip install -r requirements-dev.txt\n   tox -e format\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhh-h%2Faiosnmp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhh-h%2Faiosnmp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhh-h%2Faiosnmp/lists"}