def get_calculator(name):
    """Return the calculator class."""

    classname = name.title()
    module = __import__('calculator.' + name, {}, None, [classname])
    Calculator = getattr(module, classname)

    return Calculator