For detailed information, see the documentation
Quick Info
- What
A pure Python implementation for Python 3.6+ of SNMP without any external dependencies (neither MIBs or libsnmp).
- Why
SNMP in itself is simple and well defined. A bit convoluted, but simple. MIB parsing however complicates the code-base and is technically not required. They add typing information and variables and give names to OIDs. All existing libraries have a direct or indirect dependency on libsnmp. With all the advantages and disadvantages.
The aim of this project is to focus on SNMP in itself and provide a very simple API. Instead of implementing ASN.1 parsing, the SNMP related ASN.1 and information is hard-coded (keeping in mind that all that’s hard-coded is well defined).
It is of course possible to wrap this package in another package adding MIB parsing and processing. This is, and will be however out of the scope of this project!
- When
First commit: Sat Jul 23 12:01:05 2016 +0200
- Who
Michel Albert
Installation
pip install puresnmp
Package Version Numbers
As an important side-note, you might want to know that this project follows Semantic Versioning.
Development & Maintenance
The easiest way to get started it to use the provided “development container” in the .devcontainer folder. When using VS-Code with the Remote Development extension it will be picked up automatically when opening the project. If not, open the command-console and select Remote-Containers: Rebuild Container to get started.
Type ./env/bin/pytest to ensure that everything is set up properly. It should run and pass all unit-tests.
This will provide a container with all required dependencies for development. Including a tiny SNMP daemon on hostname snmpd which can be used to play around with.
Metadata
Release files for puresnmp 2.0.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 |
|---|---|---|---|---|
| puresnmp-2.0.2.tar.gz | 65.2 kB | Without provenance | Details for puresnmp-2.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| puresnmp-2.0.2-py3-none-any.whl | Python 3 | none | any | Details for puresnmp-2.0.2-py3-none-any.whl |
Total release size: 127.9 kB
Release files / puresnmp-2.0.2.tar.gz
| Download URL | puresnmp-2.0.2.tar.gz |
|---|---|
| Size | 65.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
62870c5dadd9a82ba13d22637f5105fce38f66663d547038376a727ba3ac9f45
|
|
BLAKE2b-256 checksum How to use checksums |
f77df6fe60b0fba89e35cd1e411ee04e200ad33ee2cf47c25a4c221113842d7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / puresnmp-2.0.2-py3-none-any.whl
| Download URL | puresnmp-2.0.2-py3-none-any.whl |
|---|---|
| Size | 62.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
efb9ae3b9d76d2fc3daa73ba2fa2297fe96873af93206c42eeb623fd840e2484
|
|
BLAKE2b-256 checksum How to use checksums |
6635f68db77662ae5bc31fbfa9e36f4abd2ddbc0e999debe251ad431ecf13f00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Security for puresnmp 2.0.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.