snmpd-pyagentx provides Python3 bindings for AgentX extension of the snmpd part of the Net-SNMP project. It allows you to tie into snmpd, returning your own values for OIDs or whole OID trees right from the Python code. It consists of a thin C interface for snmp_agent_api(3), provided by net-snmp project libraries, and pure Python logic for handling forwarded requests. The C code is loosely based on the python-agentx project codebase by Bozhin Zafirov.
pg-python provides access to Python from PostgreSQL. It contrasts with the built-in procedural language by interfacing with PostgreSQL types rather than converting them. This allows large instances of data types to be handled with greater efficiency while also allowing reasonable support for arbitrary data types without the need for a specialized implementation. Procedures are managed as entire modules so that initialization can be performed naturally by a stored procedure (each PostgreSQL function has a "main" entry point). Import statements may exist in a more natural position, and the "main" entry point may be decorated.