I am aware of the coverage module but I don\'t think it does what I need.
coverage
I have a bunch of functions like so:
def foo(): # code def ba