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():
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.
Metadata
Release files for aiosnmp 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aiosnmp-0.2.2.tar.gz | 11.6 kB | Without provenance | Details for aiosnmp-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aiosnmp-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for aiosnmp-0.2.2-py3-none-any.whl |
Total release size: 26.2 kB
Release files / aiosnmp-0.2.2.tar.gz
| Download URL | aiosnmp-0.2.2.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
284836cf25e0b23b1411de7f820f85a6f94595e07987e1f779e8183b4c7a9e8d
|
|
BLAKE2b-256 checksum How to use checksums |
c97b979bdd7a74570b340ffaa84b7b920e0fd71054b94a229f31dd6d0e182e17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / aiosnmp-0.2.2-py3-none-any.whl
| Download URL | aiosnmp-0.2.2-py3-none-any.whl |
|---|---|
| Size | 14.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9188bba7f88cc0eb86cb14436bb3876c0af4f79d2ee6ac3f6e32f3a6363f6ebe
|
|
BLAKE2b-256 checksum How to use checksums |
bc6d228675bd4a8245646ca06a53ac41da6374a9136d62762a12ca9819c06943
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for aiosnmp 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.