Skip to main content

Pure Python SNMP implementation

Project description

https://github.com/exhuma/puresnmp/workflows/Python%20package/badge.svg?branch=master Documentation Status Github Project PyPI

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.

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

puresnmp-2.0.1.tar.gz (64.1 kB view details)

Uploaded Source

Built Distribution

puresnmp-2.0.1-py3-none-any.whl (62.1 kB view details)

Uploaded Python 3

File details

Details for the file puresnmp-2.0.1.tar.gz.

File metadata

  • Download URL: puresnmp-2.0.1.tar.gz
  • Upload date:
  • Size: 64.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for puresnmp-2.0.1.tar.gz
Algorithm Hash digest
SHA256 08a147249a6ff92d3f463b77e21b9221ca7a836ff7401e0b8dfe47135ed4cf56
MD5 049c17f536ed44fb2ac031a765bb2d50
BLAKE2b-256 4e1ac0d94ab9c7577d61c3597096dd446e789c9c98cf39d222298f4404429041

See more details on using hashes here.

File details

Details for the file puresnmp-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: puresnmp-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 62.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for puresnmp-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9d6413531d33225900883df8ac3131ddac34f13eae6ac6a6ffeee7ae81d309b1
MD5 d789ca903a6dcd9719b0d1f6319671dc
BLAKE2b-256 186238184153bb6bc802c51adda22bcc3c06216650ca7c690b0135d717d9e86c

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