Sorry, I didn't understand your question. By mixin I meant the generic Python concept of mixins where you can share code via multiple inheritance. I'm no Python expert, so for the mixin route I would just recommend that you Google.

If mixins don't work, what about creating a helper method that all the places can reference?