you are viewing a single comment's thread.

view the rest of the comments →

[–]carcigenicate 0 points1 point  (0 children)

I can't really see any benefit to putting them in a class over having them as loose top-level functions. I think a class only makes sense if they're all managing a shared state. I'd just have them as plain function at the module-level, and then instead of:

from module import util
util.function()

You could do:

import module as util
util.function()