Skip to content


Subversion checkout URL

You can clone with
Download ZIP
branch: master
47 lines (43 sloc) 1.609 kb
#!/usr/bin/env python
# python-netsnmpagent module
# Copyright (c) 2013 Pieter Hollants <>
# Licensed under the GNU Public License (GPL) version 3
# Distutils setup script
from distutils.core import setup
import ctypes
print("netsnmpagent requires the ctypes Python module!")
import sys
name = "netsnmpagent",
description = "Facilitates writing Net-SNMP (AgentX) subagents in Python",
long_description = """
python-netsnmpagent is a Python module that facilitates writing Net-SNMP
subagents in Python. Subagents connect to a locally running Master agent
(snmpd) over a Unix domain socket (eg. "/var/run/agentx/master") and using the
AgentX protocol (RFC2747). They implement custom Management Information Base
(MIB) modules that extend the local node's MIB tree. Usually, this requires
writing a MIB as well, ie. a text file that specifies the structure, names
and data types of the information within the MIB module.""",
author = "Pieter Hollants",
author_email = "",
py_modules = [ "netsnmpagent", "netsnmpapi" ],
license = "GPL-3.0",
url = "",
classifiers = [
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: POSIX',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Libraries'
Jump to Line
Something went wrong with that request. Please try again.