class A(object):

    def __init__(self, value):
        self.value = value

def is_safe(self):
    if value > 10:
        return False
return True

def increase_value(self, increment):
    if increment <= 0:
        raise ValueError('only positive increments are allowed')
self.value += increment
What is the proper way to split a python module into submodules?