parameters: (repository)
return_statement: return (
          repository.data.full_name.split("/")[-1]
          .replace("-", " ")
          .replace("_", " ")
          .title()
      )
docstring: Return the name of the repository for use in the frontend.
docstring_summary: Return the name of the repository for use in the frontend.
docstring_tokens: Return the name of the repository for use in the frontend .
function: def get_repository_name(repository) -> str:
      """Return the name of the repository for use in the frontend."""
  
      if repository.repository_manifest.name is not None:
          return repository.repository_manifest.name
  
      if repository.data.category == "integration":
          if repository.integration_manifest:
              if "name" in repository.integration_manifest:
                  return repository.integration_manifest["name"]
  
      return (
          repository.data.full_name.split("/")[-1]
          .replace("-", " ")
          .replace("_", " ")
          .title()
      )
function_tokens: def get_repository_name ( repository ) -> str : if repository . repository_manifest . name is not None : return repository . repository_manifest . name if repository . data . category == "integration" : if repository . integration_manifest : if "name" in repository . integration_manifest : return repository . integration_manifest [ "name" ] return ( repository . data . full_name . split ( "/" ) [ - 1 ] . replace ( "-" , " " ) . replace ( "_" , " " ) . title ( ) )