An automatically maintained table class for python