code: def from_path(cls, path):
      
      if os.path.exists(path) is False:
        raise errors.InvalidPathError(path)
      return cls(path=path)
docs: Instantiates a project class from a given path.
  
      :param path: app folder path source code
  
      Returns
        A project instance.