code: def create_keep_package(cls, package_name, recursive=True):
      
      return cls.create_keep(cls._format_package_glob(package_name, recursive))
docs: Convenience constructor for a package keep rule.
  
      Essentially equivalent to just using ``shading_keep('package_name.**')``.
  
      :param string package_name: Package name to keep (eg, ``org.pantsbuild.example``).
      :param bool recursive: Whether to keep everything under any subpackage of ``package_name``,
        or just direct children of the package. (Defaults to True).