code: def iter_package_families(paths=None):
      
      for path in (paths or config.packages_path):
          repo = package_repository_manager.get_repository(path)
          for resource in repo.iter_package_families():
              yield PackageFamily(resource)
docs: Iterate over package families, in no particular order.
  
      Note that multiple package families with the same name can be returned.
      Unlike packages, families later in the searchpath are not hidden by earlier
      families.
  
      Args:
          paths (list of str, optional): paths to search for package families,
              defaults to `config.packages_path`.
  
      Returns:
          `PackageFamily` iterator.