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

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.

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.

Alternatively, use uv with the committed lock file: uv sync installs the package with all development tools. Type uv run pytest to ensure that everything is set up properly. It should run and pass all unit-tests.

Metadata

Release files for puresnmp 2.1.0a1

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.1.0a1
File Size Uploaded Provenance Actions
puresnmp-2.1.0a1.tar.gz 72.8 kB Without provenance Details for puresnmp-2.1.0a1.tar.gz

Built distribution (wheel)

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

Total release size: 137.8 kB

Release files / puresnmp-2.1.0a1.tar.gz

Download URL puresnmp-2.1.0a1.tar.gz
Size 72.8 kB
Tags Source
SHA-256 checksum
How to use checksums
251c4b6dfa72e152802725d8b71996c1fa36d9b911511518b2ac9a44b0d9b7a7
BLAKE2b-256 checksum
How to use checksums
705a8edf109260f74ed44f2e62121c773146d29c3d8aef0f3a859330f9eaf556
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

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

Download URL puresnmp-2.1.0a1-py3-none-any.whl
Size 65.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
016a6b48f9016935517bdf1fe032c58987b31615c016ad893eeb2f4ea18911da
BLAKE2b-256 checksum
How to use checksums
d5290f92d6c7cc9850b6379db278d476065043bf650b7d9aa58000cbc4a98809
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for puresnmp 2.1.0a1

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.

Release history Release notifications | RSS feed

This release
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