cnxman is a simple framework for managing connections to things.  Have a look at the documentation the
(http://cnxman.readthedocs.io/en/latest/index.html) for more information.