portend is a python module for monitoring TCP ports for bound or unbound states.