Skip to main content

asyncio SNMP client

Project description

aiosnmp

Build Status PyPI version License Python version

aiosnmp is an asynchronous SNMP client for use with asyncio.

Installation

pip install aiosnmp

Notice

Only snmp v2c supported, no v3 support

Basic Usage

import asyncio
import aiosnmp

async def main():
    snmp = aiosnmp.Snmp(host="127.0.0.1", port=161, community="public")

    for res in await snmp.get(".1.3.6.1.2.1.1.1.0"):
        print(res.oid, res.value)

loop = asyncio.get_event_loop()
loop.run_until_complete(main())

more in /examples

TODO

  • documentation
  • snmp v3 support
  • more tests

License

aiosnmp is developed and distributed under the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiosnmp-0.2.0.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

aiosnmp-0.2.0-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file aiosnmp-0.2.0.tar.gz.

File metadata

  • Download URL: aiosnmp-0.2.0.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for aiosnmp-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8c50a08a0bff63132f30e8e6b5d5caeeabace5545fb64a9581a79288ce5dde2d
MD5 ce19093c9c9789dda6d6d0dc695f75c2
BLAKE2b-256 849a8b911ea2a6c23d463a6fd935ac2c1f47be63cb53de756abdd540d698ac05

See more details on using hashes here.

File details

Details for the file aiosnmp-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: aiosnmp-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for aiosnmp-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 477e7bc95fa97e7b3c576937c3699cf60388cc78f0e97990c84b8cbf5123df6d
MD5 2e2f52059fd425ef403cd32f88f75ce7
BLAKE2b-256 98228a26a773b3a8dc82582a1f455cf9927fe95475b25c480fb7dcf8ca8e3d9d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page