def get_scenelets(py_scenes):
    """Traverses the [scene][scenelet] structure and returns a generator.

    Args:
        py_scenes (Dict[str, Dict[str, Scenelet]]):
            Scenelets grouped by scene name and recording name.
    Returns (Iterable[Tuple[str, str, Scenelet]]):
        (name_scene, name_sclt, Scenelet)
    """

    return ((name_scene, name_sclt, sclt)
            for name_scene, sclts in py_scenes.items()
            for name_sclt, sclt in sclts.items())