Python MTM/PIP SQL/RPC Interface