def split_name(fullname):
    """
    Split a pckg.name string into its package and name parts.

    :param fullname: an entity name in the form of <package>.<name>
    """
    parts = fullname.split('.')
    pkg = ".".join(parts[:-1])
    simpleName = parts[-1]
    return pkg, simpleName