puresnmp.varbind module

class puresnmp.varbind.PyVarBind(oid: str = '', value: Any | None = None)

Bases: NamedTuple

A “PyVarBind” is a 2-tuple containing an object-identifier and the corresponding value using native Python data-types

static from_raw(raw_varbind: VarBind) PyVarBind
oid: str

Alias for field number 0

value: Any | None

Alias for field number 1

class puresnmp.varbind.VarBind(oid: ObjectIdentifier = ObjectIdentifier(''), value: X690Type[Any] = Null())

Bases: NamedTuple

A “VarBind” is a 2-tuple containing an object-identifier and the corresponding value.

oid: ObjectIdentifier

Alias for field number 0

value: X690Type[Any]

Alias for field number 1