def parse_package_string(path):
parts = path.split('<STR_LIT:.>')<EOL>if parts[-<NUM_LIT:1>][<NUM_LIT:0>].isupper():<EOL><INDENT>return "<STR_LIT:.>".join(parts[:-<NUM_LIT:1>]), parts[-<NUM_LIT:1>]<EOL><DEDENT>return path, "<STR_LIT>"<EOL>
Parse the effect package string.
Can contain the package python path or path to effect class in an effect package.

Examples::

    # Path to effect pacakge
    examples.cubes

    # Path to effect class
    examples.cubes.Cubes

Args:
    path: python path to effect package. May also include effect class name.

Returns:
    tuple: (package_path, effect_class)