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.1.1.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiosnmp-0.1.1.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for aiosnmp-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c39a36ae04a921430022d9a693e95b9dd14528e133816f1376957eca8e5e27a3
MD5 f814f706eb54a22d6aaa0f8a4a39c701
BLAKE2b-256 dbf674763a1d61552681b37d23e7fd6da9f0deb12913fd06ebf77810cbd5197f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiosnmp-0.1.1-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.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for aiosnmp-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 86cdeee02f457dd6588f6e59cd058e189096c6cfaac87ddd8cd3d49d0f7844ab
MD5 8aced883b851898b65f6b65947a31060
BLAKE2b-256 19918aa0d393d51cfdc7dc535316603784561caaf5b0e9a91652e6f431004952

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