When deciding where to put helper functions the question I ask is, "Is it only for this class?" If it can help in other places, then it goes at the module level; if it is indeed only for this class, then it goes in the class with either staticmethod
(needs no class data to do its job) or classmethod
(uses some class, but not instance, data to do its job).
Another python code checker is pyflakes.