code: def views(self, install, comp_sum):
          
          pkg_sum = uni_sum = upg_sum = 0
          # fix repositories align
          repo = self.repo + (" " * (6 - (len(self.repo))))
          for pkg, comp in zip(install, comp_sum):
              pkg_repo = split_package(pkg[:-4])
              if find_package(pkg[:-4], self.meta.pkg_path):
                  pkg_sum += 1
                  COLOR = self.meta.color["GREEN"]
              elif pkg_repo[0] == GetFromInstalled(pkg_repo[0]).name():
                  COLOR = self.meta.color["YELLOW"]
                  upg_sum += 1
              else:
                  COLOR = self.meta.color["RED"]
                  uni_sum += 1
              ver = GetFromInstalled(pkg_repo[0]).version()
              print("  {0}{1}{2}{3} {4}{5} {6}{7}{8}{9}{10}{11:>11}{12}".format(
                  COLOR, pkg_repo[0] + ver, self.meta.color["ENDC"],
                  " " * (23-len(pkg_repo[0] + ver)), pkg_repo[1],
                  " " * (18-len(pkg_repo[1])), pkg_repo[2],
                  " " * (8-len(pkg_repo[2])), pkg_repo[3],
                  " " * (7-len(pkg_repo[3])), repo,
                  comp, " K")).rstrip()
          return [pkg_sum, upg_sum, uni_sum]
docs: Views packages