asyncio SNMP client
Project description
aiosnmp
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
Release history Release notifications | RSS feed
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.1.tar.gz
(11.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
aiosnmp-0.2.1-py3-none-any.whl
(14.5 kB
view details)
File details
Details for the file aiosnmp-0.2.1.tar.gz.
File metadata
- Download URL: aiosnmp-0.2.1.tar.gz
- Upload date:
- Size: 11.5 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80c325c3d7d96755e512f8b025c1ee6c062e4fab76f78156b35309293e107f1e
|
|
| MD5 |
d661b08e2ad52abbf240e046c201b8a9
|
|
| BLAKE2b-256 |
083ba226e8f0d13d832f20acc1bbe183ebe5fc703010cfdfde44dbaafb903a60
|
File details
Details for the file aiosnmp-0.2.1-py3-none-any.whl.
File metadata
- Download URL: aiosnmp-0.2.1-py3-none-any.whl
- Upload date:
- Size: 14.5 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ace2a08e29ae56dc2a2d6fe9b6d35667381ee20b622abfde2ed343ba519ba08
|
|
| MD5 |
c7af89bc98760ef0ff2a7b22f7677716
|
|
| BLAKE2b-256 |
2881d78b0a1df3f8af302e2a7d8da5831140b37a5b29c5c5f78bb5d017665dbb
|