Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

TL;DR

Jump right in with the cookbook


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.

Examples

See the cookbook.

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.1a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for puresnmp 2.0.1a1
File Size Uploaded
puresnmp-2.0.1a1.tar.gz 49.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for puresnmp 2.0.1a1
File Interpreter ABI Platform
puresnmp-2.0.1a1-py3-none-any.whl Python 3 none any Details

Total release size: 112.6 kB

Release files / puresnmp-2.0.1a1.tar.gz

Download URL puresnmp-2.0.1a1.tar.gz
Size 49.8 kB
Tags Source
SHA-256 checksum
How to use checksums
08f1ec325d8aab11477e45e258e4fd9e65a4cd561bc8b90f727815d8373c5d46
BLAKE2b-256 checksum
How to use checksums
2fb65142059b60faddaac81eaf4a9a7f7fff904b308f09d54d7817b5a982203b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release files / puresnmp-2.0.1a1-py3-none-any.whl

Download URL puresnmp-2.0.1a1-py3-none-any.whl
Size 62.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d4fd868014f6912050141f22e7a6624a0ee32bd050d4da7954fef1deca8cc56
BLAKE2b-256 checksum
How to use checksums
75d702eedbd40371474c4665dcef9adebd666c9a238f229907fe55e21ce3e04d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release history Release notifications | RSS feed

2.0.1

2 release files

This release

2.0.1a1 This release

2 release files

2.0.0

2 release files

1.11.0

2 release files

1.10.1

2 release files

1.10.0

2 release files

1.9.1

2 release files

1.9.0

2 release files

1.7.4

2 release files

1.7.3

2 release files

1.7.2

2 release files

1.7.1

2 release files

1.7.0

3 release files

1.6.3

1 release file

1.6.2

2 release files

1.6.1

2 release files

1.6.0

2 release files

1.5.2

2 release files

1.5.1

1 release file

1.5.0

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.2

2 release files

1.3.0

2 release files

1.2.2

2 release files

1.2.1

1 release file

1.2.0

1 release file

1.1.5

1 release file

1.1.4

1 release file

1.1.2

1 release file

1.1.1

1 release file

1.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page