def get_content_type(content_type, package='.'):
    """ Get Content from kotti package.

    :param content_type:       Class name of the content type
    :param package:            Package path of the content type
    :returns:                  Content type

    """
    imported = getattr(__import__(package, fromlist=[content_type]),
        content_type)
    return imported
