Skip to main content

asyncio SNMP client

Project description

aiosnmp

Build Status Code Coverage PyPI version License Code Style 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():
    with aiosnmp.Snmp(host="127.0.0.1", port=161, community="public") as snmp:
        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.2.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

aiosnmp-0.2.2-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: aiosnmp-0.2.2.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.7

File hashes

Hashes for aiosnmp-0.2.2.tar.gz
Algorithm Hash digest
SHA256 284836cf25e0b23b1411de7f820f85a6f94595e07987e1f779e8183b4c7a9e8d
MD5 990a63558a840d4cf4fd8a5e9c045528
BLAKE2b-256 c97b979bdd7a74570b340ffaa84b7b920e0fd71054b94a229f31dd6d0e182e17

See more details on using hashes here.

File details

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

File metadata

  • Download URL: aiosnmp-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.7

File hashes

Hashes for aiosnmp-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9188bba7f88cc0eb86cb14436bb3876c0af4f79d2ee6ac3f6e32f3a6363f6ebe
MD5 403a8c5fe4454d25c9853fb59d987bfe
BLAKE2b-256 bc6d228675bd4a8245646ca06a53ac41da6374a9136d62762a12ca9819c06943

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